Méthode | Description | |
---|---|---|
Builder ( ) : |
A static factory method to construct a new search builder.
|
|
Explain ( bool explain ) : |
Should each {@link org.elasticsearch.search.SearchHit} be returned with an explanation of the hit (ranking).
|
|
Facet ( |
Add a facet to perform as part of the search.
|
|
Facets ( byte facetsBinary ) : |
Sets raw (json) facets.
|
|
Facets ( byte facetsBinary, int facetBinaryOffset, int facetBinaryLength ) : |
Sets raw (json) facets.
|
|
Field ( string field ) : |
Adds a field to load and return (note, it must be stored) as part of the search request. If none are specified, the source of the document will be return.
|
|
Fields ( ) : |
Sets the fields to load and return as part of the search request. If none are specified, the source of the document will be returned.
|
|
Fields ( List |
Sets the fields to load and return as part of the search request. If none are specified, the source of the document will be returned.
|
|
Filter ( IFilterBuilder filter ) : |
||
Filter ( byte filter ) : |
Sets a filter on the query executed that only applies to the search query (and not facets for example).
|
|
Filter ( byte filterBinary, int filterBinaryOffset, int filterBinaryLength ) : |
Sets a filter on the query executed that only applies to the search query (and not facets for example).
|
|
Filter ( string filterString ) : |
Sets a filter on the query executed that only applies to the search query (and not facets for example).
|
|
From ( int from ) : |
From index to start the search from. Defaults to 0.
|
|
Highlight ( ) : |
A static factory method to construct new search highlights.
|
|
Highlight ( |
Adds highlight to perform as part of the search.
|
|
Highlighter ( ) : |
|
|
IndexBoost ( string index, float indexBoost ) : |
Sets the boost a specific index will receive when the query is executeed against it.
|
|
MinScore ( float minScore ) : |
Sets the minimum score below which docs will be filtered out.
|
|
NoFields ( ) : |
Sets no fields to be loaded, resulting in only id and type to be returned per field.
|
|
Query ( IQueryBuilder query ) : |
Constructs a new search source builder with a search query.
|
|
Query ( byte queryBinary ) : |
Constructs a new search source builder with a raw search query.
|
|
Query ( byte queryBinary, int queryBinaryOffset, int queryBinaryLength ) : |
Constructs a new search source builder with a raw search query.
|
|
Query ( string queryString ) : |
Constructs a new search source builder with a raw search query.
|
|
ScriptField ( string name, string script ) : |
Adds a script field under the given name with the provided script.
|
|
ScriptField ( string name, string script, object>.Dictionary |
Adds a script field.
|
|
ScriptField ( string name, string lang, string script, object>.Dictionary |
Adds a script field.
|
|
SearchSource ( ) : |
A static factory method to construct a new search source.
|
|
Size ( int size ) : |
The number of search hits to return. Defaults to 10.
|
|
Sort ( ISortBuilder sort ) : |
Adds a sort builder.
|
|
Sort ( string name ) : |
Add a sort against the given field name.
|
|
Sort ( string name, SortOrder order ) : |
Adds a sort against the given field name and the sort ordering.
|
|
Stats ( ) : |
The stats groups this request will be aggregated under.
|
|
ToJsonObject ( ) : object | ||
ToString ( ) : string | ||
TrackScores ( bool trackScores ) : |
Applies when sorting, and controls if scores will be tracked as well. Defaults to false.
|
|
Version ( bool version ) : |
Should each {@link org.elasticsearch.search.SearchHit} be returned with a version associated with it.
|
public Explain ( bool explain ) : |
||
explain | bool | |
Résultat |
public Facet ( |
||
facet | ||
Résultat |
public Facets ( byte facetsBinary ) : |
||
facetsBinary | byte | |
Résultat |
public Facets ( byte facetsBinary, int facetBinaryOffset, int facetBinaryLength ) : |
||
facetsBinary | byte | |
facetBinaryOffset | int | |
facetBinaryLength | int | |
Résultat |
public Field ( string field ) : |
||
field | string | |
Résultat |
public Fields ( List |
||
fields | List |
|
Résultat |
public Filter ( IFilterBuilder filter ) : |
||
filter | IFilterBuilder | |
Résultat |
public Filter ( byte filter ) : |
||
filter | byte | |
Résultat |
public Filter ( byte filterBinary, int filterBinaryOffset, int filterBinaryLength ) : |
||
filterBinary | byte | |
filterBinaryOffset | int | |
filterBinaryLength | int | |
Résultat |
public Filter ( string filterString ) : |
||
filterString | string | |
Résultat |
public static Highlight ( ) : |
||
Résultat |
public Highlight ( |
||
highlight | ||
Résultat |
public IndexBoost ( string index, float indexBoost ) : |
||
index | string | The index to apply the boost against |
indexBoost | float | The boost to apply to the index |
Résultat |
public MinScore ( float minScore ) : |
||
minScore | float | |
Résultat |
public Query ( IQueryBuilder query ) : |
||
query | IQueryBuilder | |
Résultat |
public Query ( byte queryBinary ) : |
||
queryBinary | byte | |
Résultat |
public Query ( byte queryBinary, int queryBinaryOffset, int queryBinaryLength ) : |
||
queryBinary | byte | |
queryBinaryOffset | int | |
queryBinaryLength | int | |
Résultat |
public Query ( string queryString ) : |
||
queryString | string | |
Résultat |
public ScriptField ( string name, string script ) : |
||
name | string | The name of the field |
script | string | The script |
Résultat |
public ScriptField ( string name, string script, object>.Dictionary |
||
name | string | The name of the field |
script | string | The script to execute |
@params | object>.Dictionary | |
Résultat |
public ScriptField ( string name, string lang, string script, object>.Dictionary |
||
name | string | The name of the field |
lang | string | The language of the script |
script | string | The script to execute |
@params | object>.Dictionary | |
Résultat |
public static SearchSource ( ) : |
||
Résultat |
public Sort ( ISortBuilder sort ) : |
||
sort | ISortBuilder | |
Résultat |
public Sort ( string name ) : |
||
name | string | |
Résultat |
public Sort ( string name, SortOrder order ) : |
||
name | string | The name of the field |
order | SortOrder | The sort ordering |
Résultat |
public TrackScores ( bool trackScores ) : |
||
trackScores | bool | |
Résultat |
public Version ( bool version ) : |
||
version | bool | |
Résultat |