Re: Optimizing NRT search

2013-05-03 Thread Aleksey
Yes, GC gets pretty bad even with only 8G of RAM. I also tried using RAM disk and use SimpleFSDirectory, which performs well and keeps the java heap small, but with this many indices, it actually keeps hundreds of thousands files open. This is not really a Lucene question, but could that cause prob

Re: Index-time term expansion

2013-05-03 Thread Glen Newton
Thanks :-) On Fri, May 3, 2013 at 2:31 PM, Alan Woodward wrote: > Hi Glen, > > You want the SynonymFilter: > http://lucene.apache.org/core/4_2_0/analyzers-common/org/apache/lucene/analysis/synonym/SynonymFilter.html > > Alan Woodward > www.flax.co.uk > > > On 3 May 2013, at 19:14, Glen Newton w

Re: Index-time term expansion

2013-05-03 Thread Alan Woodward
Hi Glen, You want the SynonymFilter: http://lucene.apache.org/core/4_2_0/analyzers-common/org/apache/lucene/analysis/synonym/SynonymFilter.html Alan Woodward www.flax.co.uk On 3 May 2013, at 19:14, Glen Newton wrote: > Hello, > > I know I've seen it go by on this list and elsewhere, but cann

Index-time term expansion

2013-05-03 Thread Glen Newton
Hello, I know I've seen it go by on this list and elsewhere, but cannot seem to find it: can someone point me to the best way to do term expansions at indexing time. That is, when the sentence is: "This foo is in my way" And I somewhere: foo=bar|yak Lucene indexes something like: "This foo|bar|