Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Search RequirementLucene Query SyntaxExample
View all the data in the selected event table.Click Search without entering any value in the query fieldN/A
Search using a part of the attribute value

Insert the asterisk after the part of the attribute as relevant

<ATTRIBUTE_NAME>:<PART_OF_ATTRIBUTE_VALUE>*

If you are searching for a book by the title attribute and the actual title is Antony and Cleopatra, you can search by using the following query.

title:Antony*

Search using more than one attribute<ATTRIBUTE_NAME>:<ATTRIBUTE_VALUE> AND <ATTRIBUTE_NAME>:<ATTRIBUTE_VALUE>

If you are searching for a book written by Ronald Dahl which belongs to the Children's Fantasy category, you can search by the two attributes named author and category using the following query.

_author:"Ronald Dahl" AND category:"child_fiction"

Search for records that match one of the matching criteria when multiple matching criteria is provided<ATTRIBUTE_NAME>:<ATTRIBUTE_VALUE> OR <ATTRIBUTE_NAME>:<ATTRIBUTE_VALUE>

If you are searching for a book written by Robin Sharma or a book written by different author on the subject of Leadership, you can search by two attributes named author and subject using the following query.

_author:"Robin Sharma" OR subject:"Leadership"

Search for records with a specific attribute value that is within a defined range

Info

This type of search can be carried out only with attributes of which the attribute type is INT or FLOAT.

<ATTRIBUTE_NAME>:[<MINIMUM_VALUE> TO <MAXIMUM_VALUE>]

If you are searching for a book for which the count is between 100 and 200, you can use use the following query.

count:[100 TO 200]

For detailed information about the Lucene syntax, see Apache Lucene - Query Parser Syntax.

...