Hi Karl,

I recently had to use the ManifoldCFQParserPlugin to filter the results of a 
Solr spellchecker and I noticed a non-neglectable increase of the response time 
of the spellchecker at this point.

After some investigation, I noticed that the query parser is not called just 
once, but for each terms suggested by the spellchecker. As a result, even if 
the authority servlet called has a cache, the time needed to retrieve the 
response is multiplied by the number of suggested terms. This is what generates 
the time performance issue that I mentioned.

So I have two questions :

- The ManifoldCFQParserPlugin is called for each suggested term. But is it 
somehow linked to the boolean type of filter generated by the query parser ? If 
yes, what sort of query parser plugin do we need to use for this use case ?
- Would it sound like a good idea to implement a cache system on the query 
parser side to address this performance issue ?


Thanks for your help

Regards

--
Julien MASSIERA

Reply via email to