Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<element name="searchrequest"> <complexType> <any processContents="skip" namespace="##other" minOccurs="1" maxOccurs="1" /> </complexType> </element>
查询条件(包括分页和排序)
User: Zhang Kaitao
Date: 13-1-15 上午7:29
Version: 1.0
Note, the search {@link #source(org.elasticsearch.search.builder.SearchSourceBuilder)}is required. The search source is the different search options, including facets and such.
There is an option to specify an addition search source using the {@link #extraSource(org.elasticsearch.search.builder.SearchSourceBuilder)}. @author kimchy (shay.banon) @see org.elasticsearch.client.Requests#searchRequest(String) @see org.elasticsearch.client.Client#search(SearchRequest) @see SearchResponse
When creating a SearchRequest and its parameters all the parameters and the search request must be saved individually because a limitation of JPA means that SearchRequest can't cascade operations from SearchRequest to the params.
@author JesseNB:Controls (name, value tuples ) are used to control the retrieval prcoess. You may want to set controls in your application code. However, default controls can be set using the querying.default.controls property in the terrier.properties file.
|
|
|
|