Re: Using IN to retrieve data after lucene search.

2009-07-08 Thread KK
store a field only if you want to retrieve the corresponding values i.e you want them to be part of the search result, if you just want to use them to search and you are not bothered about pulling the matched data out of the index, there is no need to putting extra burden by storing them as well, i

Using IN to retrieve data after lucene search.

2009-07-08 Thread Aditya R
Hi all, I am new to lucene. In my sample application I have used lucene to index my 17 field db table. I have stored only the primary key of the table in lucene index and indexed other 16 fields, without storing them. The primary keys of the searched keyword is then retrieved. The primary key str

Re: Optimizing unordered queries

2009-07-08 Thread Nigel
I created a benchmark test using real queries from our logs. I kept the LRU cache the same for now and varied the index divisor: index divisor = 1: 768 sec. index divisor = 4: 788 sec. (+ 3%) index divisor = 8: 855 sec. (+ 11%) index divisor = 16: 997 sec. (+ 30%) This is exciting news for me, a