Re: Decrease warmupTime

2009-02-07 Thread Cheng Zhang
Otis, 

I did restart the solr server but it may not be enough. I just deleted the 
tomcat work directory and it works now. No warming anymore. Thanks a lot for 
your information.

-Kevin



- Original Message 
From: Cheng Zhang 
To: solr-user@lucene.apache.org
Sent: Friday, February 6, 2009 10:47:38 PM
Subject: Re: Decrease warmupTime

I did restart the solr server. Here is the config.



   


  


Thx.



- Original Message 
From: Otis Gospodnetic 
To: solr-user@lucene.apache.org
Sent: Friday, February 6, 2009 10:40:45 PM
Subject: Re: Decrease warmupTime

Have you restarted Solr after you made the change?
Can you paste your query result cache config?

Otis
--
Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch





From: Cheng Zhang 
To: solr-user@lucene.apache.org
Sent: Friday, February 6, 2009 11:04:07 PM
Subject: Re: Decrease warmupTime

Hi Yonik,

I just changed the autowarmCount for queryResultCache but it did not work. In 
the log, it still shows warmupTime for autowarmCount is about 45 seconds.

  
queryResultCache{lookups=0,hits=0,hitratio=0.00,inserts=6,evictions=0,size=6,warmupTime=44055,cumulative_lookups=1,cumulative_hits=0,cumulative_hitratio=0.00,cumulative_inserts=1,cumulative_evictions=0}



Any other suggestion? 

Thanks a lot,
Kevin



- Original Message 
From: Yonik Seeley 
To: solr-user@lucene.apache.org
Sent: Friday, February 6, 2009 5:18:47 PM
Subject: Re: Decrease warmupTime

On Fri, Feb 6, 2009 at 5:12 PM, Cheng Zhang  wrote:
> Is there any way to decrease this warmupTime?

Go into solrconfig.xml and reduce (or eliminate) the autowarm counts
for the caches.

-Yonik



Re: Decrease warmupTime

2009-02-07 Thread Yonik Seeley
On Sat, Feb 7, 2009 at 1:47 AM, Cheng Zhang  wrote:
> I did restart the solr server. Here is the config.
>
>  class="solr.LRUCache"
>  size="512"
>  initialSize="512"
>  autowarmCount="128"/>

This may still be taking too much time (and may not be needed, esp
with the current faceting implementation in 1.4-dev which uses the
filterCache less).

Do you have static warming queries (newSearcher section of solrconfig.xml)?

-Yoni


Re: Need help with DictionaryCompoundWordTokenFilterFactory

2009-02-07 Thread Grant Ingersoll
Sounds like you need some work on the analysis part.  I would start by  
using the Solr Admin Analysis tool and play around with your settings  
for that TokenFilter.  Sounds too me like you might want a different  
approach to compound words.  I'm not a German expert, so can't offer  
too much there, but one thought that comes to mind is using phrases or  
ngrams or if it is just that word, then put it in a protected words  
list.


-Grant

On Feb 6, 2009, at 5:23 AM, Kraus, Ralf | pixelhouse GmbH wrote:


Hi,

Now I ran into another problem by using the  
solr.DictionaryCompoundWordTokenFilterFactory :-(
If I search for the german word "Spargelcremesuppe" which contains  
"Spargel", "Creme" and "Suppe" SOLR will find way to many result.
Its because SOLR finds EVERY entry with either one of the three  
words in it :-(


Here is my schema.xml

  positionIncrementGap="100">

  
  
  class="solr.DictionaryCompoundWordTokenFilterFactory"

  dictionary="dictionary.txt"
  minWordSize="5"
  minSubwordSize="2"
  maxSubwordSize="15"
  onlyLongestMatch="true" />
  synonyms="synonyms.txt" ignoreCase="true" expand="true"/>
  ignoreCase="true" words="stopwords.txt"/>

  
  class="solr.RemoveDuplicatesTokenFilterFactory"/>
  language="German" />

  
  

Any help ?

Greets,

Ralf Kraus


--
Grant Ingersoll
http://www.lucidimagination.com/

Search the Lucene ecosystem (Lucene/Solr/Nutch/Mahout/Tika) using Solr/ 
Lucene:

http://www.lucidimagination.com/search