com.polarion.platform.persistence.IIndexSearch
METHODS
Modifiers and Type | Name | Description |
---|---|---|
IIndexSearch | indexName(String) | The index name. This is a mandatory property. Only the last value is used when the method is called more than once. |
IIndexSearch | query(String) | Lucene query. Only the last value is used when the method is called more than once. |
IIndexSearch | sort(String) | Specifies the sort order for the search results using a Lucene sort string. If the sort string is {@code null} , search results are sorted by relevance. (They are ranked based on their relevance to the query.) If a sort string is provided, it determines the sorting criteria as follows:
For example:
|
IIndexSearch | baseline(String) | Revision of the baseline that the search should be executed for. Only the last value is used when the method is called more than once. |
IIndexSearch | limit(int) | The maximum number of items to be returned, -1 for unlimited. Only the last value is used when the method is called more than once. |
IIndexSearch | offset(int) | The number of first items to exclude from the result list. If the offset exceeds the total number of objects, an empty list is returned. Only the last value is used when the method is called more than once. |
IIndexSearchResult | result() |
Back to Index