Package com.liferay.portal.search.query
Interface Queries
@ProviderType
public interface Queries
-
Method Summary
Modifier and TypeMethodDescriptioncommonTerms
(String field, String text) constantScore
(Query query) dateRangeTerm
(String field, boolean includesLower, boolean includesUpper, String startDate, String endDate) disMax()
documentIdentifier
(String index, String type, String id) functionScore
(Query query) geoBoundingBox
(String field, GeoLocationPoint topLeftGeoLocationPoint, GeoLocationPoint bottomRightGeoLocationPoint) geoDistance
(String field, GeoLocationPoint pinGeoLocationPoint, GeoDistance geoDistance) geoDistanceRange
(String field, boolean includesLower, boolean includesUpper, GeoDistance lowerBoundGeoDistance, GeoLocationPoint pinGeoLocationPoint, GeoDistance upperBoundGeoDistance) geoPolygon
(String field) ids()
matchAll()
matchPhrase
(String field, Object value) matchPhrasePrefix
(String field, Object value) moreLikeThis
(String... likeTexts) Deprecated.moreLikeThis
(String[] fields, String... likeTexts) moreLikeThis
(List<String> likeTexts) Deprecated.As of Athanasius (7.3.x), replaced bymoreLikeThis(List, String...)
moreLikeThis
(List<String> fields, String... likeTexts) moreLikeThis
(Set<MoreLikeThisQuery.DocumentIdentifier> documentIdentifiers) multiMatch
(Object value, String... fields) multiMatch
(Object value, Map<String, Float> fieldsBoosts) multiMatch
(Object value, Set<String> fields) rangeTerm
(String field, boolean includesLower, boolean includesUpper, Object lowerBound, Object upperBound) simpleString
(String query) wrapper
(byte[] source)
-
Method Details
-
booleanQuery
BooleanQuery booleanQuery() -
boosting
-
commonTerms
-
constantScore
-
dateRangeTerm
DateRangeTermQuery dateRangeTerm(String field, boolean includesLower, boolean includesUpper, String startDate, String endDate) -
disMax
DisMaxQuery disMax() -
documentIdentifier
-
exists
-
functionScore
-
fuzzy
-
geoBoundingBox
GeoBoundingBoxQuery geoBoundingBox(String field, GeoLocationPoint topLeftGeoLocationPoint, GeoLocationPoint bottomRightGeoLocationPoint) -
geoDistance
GeoDistanceQuery geoDistance(String field, GeoLocationPoint pinGeoLocationPoint, GeoDistance geoDistance) -
geoDistanceRange
GeoDistanceRangeQuery geoDistanceRange(String field, boolean includesLower, boolean includesUpper, GeoDistance lowerBoundGeoDistance, GeoLocationPoint pinGeoLocationPoint, GeoDistance upperBoundGeoDistance) -
geoPolygon
-
geoShape
-
geoShape
-
ids
IdsQuery ids() -
match
-
matchAll
MatchAllQuery matchAll() -
matchPhrase
-
matchPhrasePrefix
-
moreLikeThis
Deprecated.As of Athanasius (7.3.x), replaced bymoreLikeThis(List, String...)
-
moreLikeThis
-
moreLikeThis
-
moreLikeThis
Deprecated.As of Athanasius (7.3.x), replaced bymoreLikeThis(List, String...)
-
moreLikeThis
-
multiMatch
-
multiMatch
-
multiMatch
-
nested
-
percolate
-
prefix
-
rangeTerm
-
rangeTerm
RangeTermQuery rangeTerm(String field, boolean includesLower, boolean includesUpper, Object lowerBound, Object upperBound) -
regex
-
script
-
simpleString
-
string
-
term
-
terms
-
termsSet
-
wildcard
-
wrapper
-
wrapper
-
moreLikeThis(List, String...)