Class

SearchQuery

SearchQuery()

Constructor

# new SearchQuery()

View Source searchquery.js, line 1032

Methods

# static boolean() → {BooleanQuery}

View Source searchquery.js, line 1117

BooleanQuery

# static booleanField(val) → {BooleanFieldQuery}

Parameters:
Name Type Description
val boolean

View Source searchquery.js, line 1148

# static conjuncts() → {ConjunctionQuery}

Parameters:
Name Type Description
...queries SearchQuery

View Source searchquery.js, line 1097

# static dateRange() → {DateRangeQuery}

View Source searchquery.js, line 1087

# static disjuncts() → {DisjunctionQuery}

Parameters:
Name Type Description
...queries SearchQuery

View Source searchquery.js, line 1108

# static docIds() → {DocIdQuery}

Parameters:
Name Type Description
...ids string

View Source searchquery.js, line 1137

DocIdQuery

# static geoBoundingBox(tl_lon, tl_lat, br_lon, br_lat) → {GeoBoundingBoxQuery}

Parameters:
Name Type Description
tl_lon number
tl_lat number
br_lon number
br_lat number

View Source searchquery.js, line 1219

# static geoDistance(lon, lat, distance) → {GeoDistanceQuery}

Parameters:
Name Type Description
lon number
lat number
distance string

View Source searchquery.js, line 1206

# static geoPolygon(points) → {GeoPolygonQuery}

Parameters:
Name Type Description
points Array

View Source searchquery.js, line 1229

# static match(match) → {MatchQuery}

Parameters:
Name Type Description
match *

View Source searchquery.js, line 1041

MatchQuery

# static matchAll() → {MatchAllQuery}

View Source searchquery.js, line 1186

# static matchNone() → {MatchNoneQuery}

View Source searchquery.js, line 1194

# static matchPhrase(phrase) → {MatchPhraseQuery}

Parameters:
Name Type Description
phrase string

View Source searchquery.js, line 1051

# static numericRange() → {NumericRangeQuery}

View Source searchquery.js, line 1079

# static phrase(terms) → {PhraseQuery}

Parameters:
Name Type Description
terms string

View Source searchquery.js, line 1168

PhraseQuery

# static prefix(prefix) → {PrefixQuery}

Parameters:
Name Type Description
prefix string

View Source searchquery.js, line 1178

PrefixQuery

# static queryString(query) → {QueryStringQuery}

Parameters:
Name Type Description
query string

View Source searchquery.js, line 1071

# static regexp(regexp) → {RegexpQuery}

Parameters:
Name Type Description
regexp string

View Source searchquery.js, line 1061

RegexpQuery

# static term(term) → {TermQuery}

Parameters:
Name Type Description
term string

View Source searchquery.js, line 1158

TermQuery

# static wildcard(wildcard) → {WildcardQuery}

Parameters:
Name Type Description
wildcard string

View Source searchquery.js, line 1127