Versions Compared

Key

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

WSO2 DAS allows you to search for persisted events using the Data Explorer. In addition to selecting attributes and categories from lists as shown in Searching Data By Categories, you can write Apache Lucene queries to search for data. This section explains the syntax to be followed when searching for persisted data using Lucene queries. 

Info

It is not possible to search for attributes defined as facets using Lucene queries.

Query syntax

The following table specifies the query syntax that should be used for different search requirements

...

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

Info

It is not possible to search for attributes defined as facets directly using Lucene queries, but should be separately given in the Data Explorer, or used with the Analytics REST API.

WSO2 DAS Lucene Query Extensions

...

If we want to search for the whole name, the following query can be used:-

  • _name: "Will Smith"