lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Burton-West, Tom" <>
Subject RE: TermsCompoment + Dist. Search + Large Index + HEAP SPACE
Date Tue, 26 Apr 2011 15:27:20 GMT
Don't know your use case, but if you just want a list of the 400 most common words you can
use the lucene contrib. with the - t flag.  You have to point it at your
lucene index.  You also probably don't want Solr to be running and want to give the JVM running
HighFreqTerms a lot of memory.


-----Original Message-----
From: mdz-munich [] 
Sent: Tuesday, April 26, 2011 9:29 AM
Subject: TermsCompoment + Dist. Search + Large Index + HEAP SPACE


We've got one index splitted into 4 shards รก 70.000 records of large
full-text data from (very dirty) OCR. Thus we got a lot of "unique" terms. 
No we try to obtain the first 400 most common words for "CommonGramsFilter"
via TermsComponent but the request runs allways out of memory. The VM is
equipped with 32 GB of RAM, 16-26 GB alocated to the Java-VM. 

Any Ideas how to get the most common terms without increasing VMs Memory?   
Thanks & best regards,


View this message in context:
Sent from the Solr - User mailing list archive at
View raw message