Skip to the content
Documentation

Distributed Search Features

No ratings yet

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 Exponential 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 Exponential 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.

Contributors

Comments

Add a comment

Comments are read by a moderator before they appear.