You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by stockii <st...@shopgate.com> on 2010/07/05 16:08:38 UTC

Facet Search is too slow ! Optimize suggestions ?

Hello.

I use facet-search for my autosuggestion. the results are okay, but
sometimes its toooooo slow.

We Have 4,2 Million Documents and each day we get more and more ... I try
out the Cache Settings with this parameter:

<filterCache
      class="solr.FastLRUCache"
      size="2000000"
      initialSize="1000000"
      autowarmCount="80"/> 

For every Cache. How can i optimize the facet search ? 
The Server is an 8 Dual Core with .. i think 12 GB RAM ... so i thought
thats enough for Solr Facet search. 

When a new Search search for something like: "rotw" and nothing is cached
solr need sometimes much time for a response ... =( =(  all over two seconds
is not good fur autosuggestion ...

thxxx
-- 
View this message in context: http://lucene.472066.n3.nabble.com/Facet-Search-is-too-slow-Optimize-suggestions-tp944361p944361.html
Sent from the Solr - User mailing list archive at Nabble.com.

Re: Facet Search is too slow ! Optimize suggestions ?

Posted by stockii <st...@shopgate.com>.
okay.

How many unique terms? 
- Docs:  3911249 and Distinct: 2302852

app ? 
- iPhone App for product search.

faceting on ?
- im faceting on the product names, with Shingles (maxShingle: 5 ?? too big
?)

how you faceting? 
- search over all
.../?q=*:*&facet.prefix=string&rows=0
search with shops filter: 
.../?q=*:*&facet.prefix=string&rows=0&shop_id:54

i dont kow how its the best way to configure it.  
-- 
View this message in context: http://lucene.472066.n3.nabble.com/Facet-Search-is-too-slow-Optimize-suggestions-tp944361p944386.html
Sent from the Solr - User mailing list archive at Nabble.com.

Re: Facet Search is too slow ! Optimize suggestions ?

Posted by Grant Ingersoll <gs...@apache.org>.
On Jul 5, 2010, at 10:08 AM, stockii wrote:

> 
> Hello.
> 
> I use facet-search for my autosuggestion. the results are okay, but
> sometimes its toooooo slow.
> 
> We Have 4,2 Million Documents and each day we get more and more ... I try
> out the Cache Settings with this parameter:
> 
> <filterCache
>      class="solr.FastLRUCache"
>      size="2000000"
>      initialSize="1000000"
>      autowarmCount="80"/> 
> 
> For every Cache. How can i optimize the facet search ? 
> The Server is an 8 Dual Core with .. i think 12 GB RAM ... so i thought
> thats enough for Solr Facet search. 

My initial thought is that cache size is way too big, but before we get into that, can you tell us more about
your app?  What are you faceting on?  How are you faceting on it?  How many unique terms?  


> 
> When a new Search search for something like: "rotw" and nothing is cached
> solr need sometimes much time for a response ... =( =(  all over two seconds
> is not good fur autosuggestion ...
> 
> thxxx
> -- 
> View this message in context: http://lucene.472066.n3.nabble.com/Facet-Search-is-too-slow-Optimize-suggestions-tp944361p944361.html
> Sent from the Solr - User mailing list archive at Nabble.com.