lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Tyreus <dan...@webshots.com>
Subject Re: How to deal with cache for facet search when index is always increment?
Date Thu, 02 May 2013 17:11:25 GMT
On Wed, May 1, 2013 at 7:01 PM, 李威 <liwei@antvision.cn> wrote:
>
>
> For facet seach, solr would create cache which is based on the whole docs.
> If I import a new doc into index, the cache would out of time and need to
> create again.
> For real time seach, the docs would be import to index anytime. In this
> case, the cache is nealy always need to create again, which cause the facet
> seach is very slowly.
> Do you have any idea to deal with such problem?
>

We're in a similar situation and have had better performance using
facet.method=fcs.

http://wiki.apache.org/solr/SimpleFacetParameters#facet.method

The suggestion to use soft commits is also a good one.

Best regards,
Daniel

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message