| Constructor and Description |
|---|
Search()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Search |
filter(Condition filter)
Returns this
Search with the specified filtering condition. |
Search |
query(Condition query)
Returns this
Search with the specified querying condition. |
Search |
refresh(Boolean refresh)
Sets if the
Search must refresh the index before reading it. |
Search |
sort(SortField... sortFields)
Returns this
Search with the specified sorting. |
all, bigDecimalMapper, bigIntegerMapper, bitemporal, bitemporalMapper, blobMapper, bool, booleanMapper, build, classpathAnalyzer, contains, dateMapper, dateRange, dateRangeMapper, doubleMapper, field, floatMapper, fuzzy, geoBBox, geoDistance, geoDistanceSortField, geoPointMapper, index, index, inetMapper, integerMapper, longMapper, lucene, match, none, phrase, prefix, range, regexp, schema, search, snowballAnalyzer, stringMapper, textMapper, toString, uuidMapper, wildcardpublic Search query(Condition query)
Search with the specified querying condition.query - The querying condition to be set.Search with the specified querying condition.public Search filter(Condition filter)
Search with the specified filtering condition.filter - The filtering condition to be set.Search with the specified filtering condition.public Search sort(SortField... sortFields)
Search with the specified sorting.sortFields - The sorting fields to be set.Search with the specified sorting.Copyright © 2016. All rights reserved.