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 Lucene queries to search for data. This section explains the syntax to be followed when searching for persisted data using Lucene queries.
Query syntax
The following table specifies the query syntax that should be used for different search requirements
Search Requirement | Lucene Query Syntax | Example |
---|---|---|
View all the data in the selected event table. | Click Search without entering any value in the query field | |
Search using a part of the attribute value | Insert the asterisk before or after the part of the attribute as relevant
| If you are searching for a book title (e.g., Antony and Cleopatra), you can search by using a part of the title using one of the following queries.
Or
|
Search using more than one attribute | <ATTRIBUTE_NAME>:<ATTRIBUTE_VALUE> AND <ATTRIBUTE_NAME>:<ATTRIBUTE_VALUE> | If you are searching for a book with |
Search for records that match one of the matching criteria when multiple matching criteria is provided |