Re: Does any one know how to expand queries using Wordnet with Lucene 3.6?

2012-06-18 Thread Kits89
Robert Muir wrote > > The idea is you parse the wordnet file with this thing, and create a > SynonymFilter that you use in your query Analyzer (The one you pass to > QueryParser). > I assume that I have to read the synonyms file in the Prolog version of Wordnet. But I get the error that I poste

Re: RAMDirectory unexpectedly slows

2012-06-18 Thread Cheng
Lucene is used in the following steps: 1) store interested data in Lucene indexes; 2) search key words against the indexes; 3) write new data into indexes and refresh the reader; 4) use the reader to search key words, and the 2-4 steps repeat. As you see, there are lots of read, update actions

Re: RAMDirectory unexpectedly slows

2012-06-18 Thread Michael McCandless
9 fold improvement using RAMDir over MMapDir is much more than I've seen (~30-40% maybe) in the past. Can you explain how you are using Lucene? You may also want to try the CachingRAMDirectory patch on https://issues.apache.org/jira/browse/LUCENE-4123 Mike McCandless http://blog.mikemccandless.