Re: Caching analyzed query

2009-12-02 Thread Jake Mannix
What kind of queries are these? I.e. How much work goes into step 4? Is this a fairly standard combination of Boolean/Phrase/other stock Lucene queries built up out of tokenizing the text? If so, it's going to be nowhere near the bottleneck in your runtime (we're talking often way less than a mi

Caching analyzed query

2009-12-02 Thread Erdinc Yilmazel
Hi, In my application certain kind of queries for certain kinds of inputs will be repeated on the lucene index. The application flow is something like this: 1. Get input A 2. Lookup a key/value store for key A 3. Load a text from key value store to be used as a query 4. Analyze the te