Method | Description | |
---|---|---|
BoolQuery ( ) : |
A Query that matches documents matching boolean combinations of other queries.
|
|
BoostingQuery ( ) : |
The BoostingQuery class can be used to effectively demote results that match a given query. Unlike the "NOT" clause, this still selects documents that contain undesirable terms, but reduces their overall score:
|
|
ConstantScoreQuery ( IFilterBuilder filterBuilder ) : |
A query that wraps a filter and simply returns a constant score equal to the query boost for every document in the filter.
|
|
CustomBoostFactorQuery ( IQueryBuilder queryBuilder ) : |
A query that simply applies the boost fact to the wrapped query (multiplies it).
|
|
CustomFiltersScoreQuery ( IQueryBuilder queryBuilder ) : |
||
CustomScoreQuery ( IQueryBuilder queryBuilder ) : |
A query that allows to define a custom scoring script.
|
|
DisMaxQuery ( ) : |
A query that generates the union of documents produced by its sub-queries, and that scores each document with the maximum score for that document as produced by any sub-query, plus a tie breaking increment for any additional matching sub-queries.
|
|
FieldMaskingSpanQuery ( ISpanQueryBuilder query, string field ) : |
||
FieldQuery ( string name, bool query ) : |
A query that executes the query string against a field. It is a simplified version of {@link QueryStringQueryBuilder} that simply runs against a single field.
|
|
FieldQuery ( string name, double query ) : |
A query that executes the query string against a field. It is a simplified version of {@link QueryStringQueryBuilder} that simply runs against a single field.
|
|
FieldQuery ( string name, float query ) : |
A query that executes the query string against a field. It is a simplified version of {@link QueryStringQueryBuilder} that simply runs against a single field.
|
|
FieldQuery ( string name, int query ) : |
A query that executes the query string against a field. It is a simplified version of {@link QueryStringQueryBuilder} that simply runs against a single field.
|
|
FieldQuery ( string name, long query ) : |
A query that executes the query string against a field. It is a simplified version of {@link QueryStringQueryBuilder} that simply runs against a single field.
|
|
FieldQuery ( string name, object query ) : |
A query that executes the query string against a field. It is a simplified version of {@link QueryStringQueryBuilder} that simply runs against a single field.
|
|
FieldQuery ( string name, string query ) : |
A query that executes the query string against a field. It is a simplified version of {@link QueryStringQueryBuilder} that simply runs against a single field.
|
|
FilteredQuery ( IQueryBuilder queryBuilder, IFilterBuilder filterBuilder ) : |
A query that applies a filter to the results of another query.
|
|
FuzzyLikeThisFieldQuery ( string name ) : |
A fuzzy like this query that finds documents that are "like" the provided {@link FuzzyLikeThisFieldQueryBuilder#likeText(String)}.
|
|
FuzzyLikeThisQuery ( ) : |
A fuzzy like this query that finds documents that are "like" the provided {@link FuzzyLikeThisQueryBuilder#likeText(String)} which is checked against the fields the query is constructed with.
|
|
FuzzyQuery ( string name, string value ) : |
A Query that matches documents using fuzzy query.
|
|
HasChildQuery ( string type, IQueryBuilder query ) : |
Constructs a new NON scoring child query, with the child type and the query to run on the child documents. The results of this query are the parent docs that those child docs matched.
|
|
IdsQuery ( ) : |
Constructs a query that will match only specific ids within types.
|
|
InQuery ( string name, string prefix ) : |
A filter that restricts search results to values that have a matching prefix in a given field.
|
|
InQuery ( string name ) : |
A filer for a field based on several terms matching on any of them.
|
|
IndicesQuery ( IQueryBuilder queryBuilder ) : |
A query that will execute the wrapped query only for the specified indices, and "match_all" when it does not match those indices.
|
|
MatchAllQuery ( ) : |
A query that match on all documents.
|
|
MoreLikeThisFieldQuery ( string name ) : |
A more like this query that runs against a specific field.
|
|
MoreLikeThisQuery ( ) : |
A more like this query that finds documents that are "like" the provided {@link MoreLikeThisQueryBuilder#likeText(String)} which is checked against the fields the query is constructed with.
|
|
NestedQuery ( string path, IQueryBuilder query ) : |
||
PrefixQuery ( string name, string prefix ) : |
A Query that matches documents containing terms with a specified prefix.
|
|
QueryString ( string queryString ) : |
A query that parses a query string and runs it. There are two modes that this operates. The first, when no field is added (using {@link QueryStringQueryBuilder#field(String)}, will run the query once and non prefixed fields will use the {@link QueryStringQueryBuilder#defaultField(String)} set. The second, when one or more fields are added (using {@link QueryStringQueryBuilder#field(String)}), will run the parsed query against the provided fields, and combine them either using DisMax or a plain boolean query (see {@link QueryStringQueryBuilder#useDisMax(boolean)}).
|
|
RangeQuery ( string name ) : |
A Query that matches documents within an range of terms.
|
|
SpanFirstQuery ( ISpanQueryBuilder match, int end ) : |
||
SpanNearQuery ( ) : |
||
SpanNotQuery ( ) : |
||
SpanOrQuery ( ) : |
||
SpanTermQuery ( string name, double value ) : |
||
SpanTermQuery ( string name, float value ) : |
||
SpanTermQuery ( string name, int value ) : |
||
SpanTermQuery ( string name, long value ) : |
||
SpanTermQuery ( string name, string value ) : |
||
TermQuery ( string name, bool value ) : |
A Query that matches documents containing a term.
|
|
TermQuery ( string name, double value ) : |
A Query that matches documents containing a term.
|
|
TermQuery ( string name, float value ) : |
A Query that matches documents containing a term.
|
|
TermQuery ( string name, int value ) : |
A Query that matches documents containing a term.
|
|
TermQuery ( string name, long value ) : |
A Query that matches documents containing a term.
|
|
TermQuery ( string name, object value ) : |
A Query that matches documents containing a term.
|
|
TermQuery ( string name, string value ) : |
A Query that matches documents containing a term.
|
|
TermsQuery ( string name ) : |
A filer for a field based on several terms matching on any of them.
|
|
TextPhrasePrefixQuery ( string name, object text ) : |
Creates a text query with type "PHRASE_PREFIX" for the provided field name and text.
|
|
TextPhraseQuery ( string name, object text ) : |
Creates a text query with type "PHRASE" for the provided field name and text.
|
|
TextQuery ( string name, object text ) : |
Creates a text query with type "BOOLEAN" for the provided field name and text.
|
|
TopChildrenQuery ( string type, IQueryBuilder query ) : |
Constructs a new scoring child query, with the child type and the query to run on the child documents. The results of this query are the parent docs that those child docs matched.
|
|
WildcardQuery ( string name, string query ) : |
Implements the wildcard search query. Supported wildcards are *, which matches any character sequence (including the empty one), and ?, which matches any single character. Note this query can be slow, as it needs to iterate over many terms. In order to prevent extremely slow WildcardQueries, a Wildcard term should not start with one of the wildcards * or ?.
|
|
WrapperQuery ( byte source, int offset, int length ) : |
A Query builder which allows building a query thanks to a JSON string or binary data.
|
|
WrapperQuery ( string source ) : |
A Query builder which allows building a query thanks to a JSON string or binary data.
|
public static BoolQuery ( ) : |
||
return |
public static BoostingQuery ( ) : |
||
return |
public static ConstantScoreQuery ( IFilterBuilder filterBuilder ) : |
||
filterBuilder | IFilterBuilder | The filter to wrap in a constant score query |
return |
public static CustomBoostFactorQuery ( IQueryBuilder queryBuilder ) : |
||
queryBuilder | IQueryBuilder | The query to apply the boost factor to. |
return |
public static CustomFiltersScoreQuery ( IQueryBuilder queryBuilder ) : |
||
queryBuilder | IQueryBuilder | |
return |
public static CustomScoreQuery ( IQueryBuilder queryBuilder ) : |
||
queryBuilder | IQueryBuilder | The query to custom score |
return |
public static DisMaxQuery ( ) : |
||
return |
public static FieldMaskingSpanQuery ( ISpanQueryBuilder query, string field ) : |
||
query | ISpanQueryBuilder | |
field | string | |
return |
public static FieldQuery ( string name, bool query ) : |
||
name | string | The name of the field |
query | bool | The query string |
return |
public static FieldQuery ( string name, double query ) : |
||
name | string | The name of the field |
query | double | The query string |
return |
public static FieldQuery ( string name, float query ) : |
||
name | string | The name of the field |
query | float | The query string |
return |
public static FieldQuery ( string name, int query ) : |
||
name | string | The name of the field |
query | int | The query string |
return |
public static FieldQuery ( string name, long query ) : |
||
name | string | The name of the field |
query | long | The query string |
return |
public static FieldQuery ( string name, object query ) : |
||
name | string | The name of the field |
query | object | The query string |
return |
public static FieldQuery ( string name, string query ) : |
||
name | string | The name of the field |
query | string | The query string |
return |
public static FilteredQuery ( IQueryBuilder queryBuilder, IFilterBuilder filterBuilder ) : |
||
queryBuilder | IQueryBuilder | The query to apply the filter to |
filterBuilder | IFilterBuilder | The filter to apply on the query |
return |
public static FuzzyLikeThisFieldQuery ( string name ) : |
||
name | string | |
return |
public static FuzzyLikeThisQuery ( ) : |
||
return |
public static FuzzyQuery ( string name, string value ) : |
||
name | string | The name of the field |
value | string | The value of the term |
return |
public static HasChildQuery ( string type, IQueryBuilder query ) : |
||
type | string | The child type. |
query | IQueryBuilder | The query. |
return |
public static IdsQuery ( ) : |
||
return |
public static InQuery ( string name, string prefix ) : |
||
name | string | The field name |
prefix | string | The prefix |
return |
public static InQuery ( string name ) : |
||
name | string | The field name |
return |
public static IndicesQuery ( IQueryBuilder queryBuilder ) : |
||
queryBuilder | IQueryBuilder | |
return |
public static MatchAllQuery ( ) : |
||
return |
public static MoreLikeThisFieldQuery ( string name ) : |
||
name | string | The field name |
return |
public static MoreLikeThisQuery ( ) : |
||
return |
public static NestedQuery ( string path, IQueryBuilder query ) : |
||
path | string | |
query | IQueryBuilder | |
return |
public static PrefixQuery ( string name, string prefix ) : |
||
name | string | The name of the field |
prefix | string | The prefix query |
return |
public static QueryString ( string queryString ) : |
||
queryString | string | The query string to run |
return |
public static RangeQuery ( string name ) : |
||
name | string | The field name |
return |
public static SpanFirstQuery ( ISpanQueryBuilder match, int end ) : |
||
match | ISpanQueryBuilder | |
end | int | |
return |
public static SpanNearQuery ( ) : |
||
return |
public static SpanNotQuery ( ) : |
||
return |
public static SpanOrQuery ( ) : |
||
return |
public static SpanTermQuery ( string name, double value ) : |
||
name | string | |
value | double | |
return |
public static SpanTermQuery ( string name, float value ) : |
||
name | string | |
value | float | |
return |
public static SpanTermQuery ( string name, int value ) : |
||
name | string | |
value | int | |
return |
public static SpanTermQuery ( string name, long value ) : |
||
name | string | |
value | long | |
return |
public static SpanTermQuery ( string name, string value ) : |
||
name | string | |
value | string | |
return |
public static TermQuery ( string name, bool value ) : |
||
name | string | The name of the field |
value | bool | The value of the term |
return |
public static TermQuery ( string name, double value ) : |
||
name | string | The name of the field |
value | double | The value of the term |
return |
public static TermQuery ( string name, float value ) : |
||
name | string | The name of the field |
value | float | The value of the term |
return |
public static TermQuery ( string name, int value ) : |
||
name | string | The name of the field |
value | int | The value of the term |
return |
public static TermQuery ( string name, long value ) : |
||
name | string | The name of the field |
value | long | The value of the term |
return |
public static TermQuery ( string name, object value ) : |
||
name | string | The name of the field |
value | object | The value of the term |
return |
public static TermQuery ( string name, string value ) : |
||
name | string | The name of the field |
value | string | The value of the term |
return |
public static TermsQuery ( string name ) : |
||
name | string | The field name |
return |
public static TextPhrasePrefixQuery ( string name, object text ) : |
||
name | string | The field name. |
text | object | The query text (to be analyzed). |
return |
public static TextPhraseQuery ( string name, object text ) : |
||
name | string | The field name. |
text | object | The query text (to be analyzed). |
return |
public static TextQuery ( string name, object text ) : |
||
name | string | The field name. |
text | object | The query text (to be analyzed). |
return |
public static TopChildrenQuery ( string type, IQueryBuilder query ) : |
||
type | string | The child type |
query | IQueryBuilder | The query |
return |
public static WildcardQuery ( string name, string query ) : |
||
name | string | The field name |
query | string | The wildcard query string |
return |
public static WrapperQuery ( byte source, int offset, int length ) : |
||
source | byte | |
offset | int | |
length | int | |
return |
public static WrapperQuery ( string source ) : |
||
source | string | |
return |