the extraSource is used as an additional input for a query. For example an
HTTP request contains of a request body (which defines the search request
and is used as source), but also of some parameters in the URL parameters,
which are then defined as extra source. If you want to check the source,
check out RestSearchAction. The extra source is 'merged' with the original
source before querying.
Where have you spotted the query hint? I am not sure which one you mean.
There is a search_query_hint in the more liks this feature, but I guess you
are asking for something else...
queryHint was the old name of the 'preference' parameter in
SearchRequest. It can be set to control the access to the shards.
Default is random access, other values are 'local' for accessing local
shards first, or 'primary' to access primary shards only, or a custom value.
Also, queryHint was an unused parameter in the count action of 0.20,
which has been removed in 0.90. I assume it was intended with the same
semantics as in SearchRequest.
Jörg
Am 02.04.2013 10:07, schrieb Alexander Reelsen:
Where have you spotted the query hint? I am not sure which one you
mean. There is a search_query_hint in the more liks this feature, but
I guess you are asking for something else...
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.