Distributed Search Features
Fetch function parameter: distributed_search
Distributed search sub-parameters, to be specified as a hash array:
Parameter |
Type |
Description |
shards |
array |
Solr shards/cores to search as identified by their identifier in solr.ini |
searchfields |
array |
Fields to search across the specified shards |
returnfields |
array |
Fields to return across |
rawfilterlist |
array |
Array of filter expressions which are combined with a boolean 'OR'. The combined expression is then also combined with a boolean 'OR' along the other filter queries (explicit or originating from the eZ Publish permissions) |
Important: The use of distributed_search requires also the 'asObjects' parameter set to false()
Tips
- For best relevancy, the respective solr schema's in schema.xml needs to be "tuned" for distributed search in order to function properly with respect to relevance. Best practice is to use <copyField> directives to aggregate fields together with a common field name.
Example: Using the eZ Find aggregate field created by default for eZ Publish search indexes: ezf_def_text
- Facets can be specified in the main facets parameter, by using the Raw Solr Field Identifiers used by the foreign search indexes.
Ricardo Correia (12/09/2013 3:41 pm)
Ricardo Correia (12/09/2013 3:41 pm)
Comments
There are no comments.