Lucene Syntax Guide for Advanced Search on Cypris

Last updated:
May 2, 2025

Cypris Advanced Search supports Lucene query syntax, a powerful standard for creating precise and flexible queries. Below is a guide to help you build more effective searches.

Contains

By default, typing a keyword into the search bar will return results that contain that term anywhere in the relevant field.

Example:
biotech
– finds results that mention “biotech” in any position.

Does Not Contain

Use NOT (capitalized) to exclude results that contain a specific term.

Example:
gene NOT therapy
– finds results that include “gene” but exclude anything mentioning “therapy”.

Is (Exact Match)

Use double quotes to search for an exact match or phrase.

Example:
"carbon capture"
– finds results that include the exact phrase carbon capture, in that order.

Starts With / Ends With

Use the * wildcard to match terms based on how they start or end.

Examples:

  • nano* – matches terms that start with “nano” (e.g., nanotech, nanomaterials)

  • *delivery – matches terms that end with “delivery” (e.g., last-mile delivery, autonomous delivery)

AND / OR

Use AND, OR, and NOT to combine or exclude terms.

Examples:

  • battery AND EV – both terms must be present.

  • robotics OR automation – either term can be present.

  • AI NOT healthcare – includes results with AI but excludes those that mention healthcare.

Proximity Search

Find words that appear near each other, even if not right next to each other.

Use "word1 word2"~N, where N is the maximum number of words between the terms.

Example:
"robotics delivery"~5
– returns results where robotics and delivery are within five words of each other, in any order. Useful for flexible phrase searches when word order varies.

Range Query

Search for values between two numbers or dates using TO.

  • Use [] for inclusive ranges

  • Use {} for exclusive ranges

Examples:

  • year:[2019 TO 2024] – includes 2019 and 2024

  • funding:{50000 TO 100000} – includes values between 50,000 and 100,000, excluding those exact endpoints

  • date:[2022-01-01 TO 2023-01-01] – finds items published between January 2022 and January 2023

Fuzzy Search

Fuzzy searches find similar spellings or terms with small differences. Add a tilde ~ at the end of a term to enable fuzzy matching.

Example:

  • biotech~ – returns similar terms like biotex, biotechh, or biotek

  • You can fine-tune similarity by adding a number between 0 and 1: crispr~0.8 allows fewer differences than crispr~0.5

This is helpful for catching typos or alternate spellings.

Boosting

Increase the relevance of certain terms using the caret symbol ^ and a numeric weight.

Example:

  • AI^3 automation – results mentioning AI will be ranked more highly (3x) than those mentioning automation

Grouping

Use parentheses to group terms and control the logic of your search.

Examples:

  • (AI OR ML) AND robotics – returns results that mention robotics along with either AI or ML

  • (hydrogen NOT storage) AND fuel – filters hydrogen results that do not mention storage, but do mention fuel

Use these search strategies to narrow down results, discover related technologies, and unlock faster insights within Cypris.

Articles in this Category

Related articles

Check out some of our related posts below

No items found.