Slow search performance when using Auto Context
If you are using
rank.ac=true and experiencing long processing times, it is likely that the field
rank.ac.readfrom of the current document has many values.
Solr needs some time to parse and process many query terms (e.g. >50).
To speed up the processing you should use the
rank.ac.clauselimit parameter to limit the Auto Context clauses added to the query.
Please see rank.ac.clauslimit for details.
Additionally you should use the
mm parameter to restrict the result set to documents that match a minimum of
n optional terms.
Please see mm for details.
In general it is not a good idea to reference a field that contains all copied information of other fields. The more values a field contains the slower the performance will be.
- Use the
rank.ac.clauselimitparameter to limit clauses that will be injected
- Use the mm parameter to limit the relevancy calculations
- Reference an Auto Context field
rank.ac.readfromcontaining fewer values