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.

In short:

  1. Use the rank.ac.clauselimit parameter to limit clauses that will be injected
  2. Use the mm parameter to limit the relevancy calculations
  3. Reference an Auto Context field rank.ac.readfrom containing fewer values