Re: Using IN to retrieve data after lucene search.

2009-07-09 Thread Erick Erickson
It depends (tm). How much data are we talking about here?I dislike having to have two data sources for a running app just because it's more complicated, so my first try would be to store all the data in the index and try it. A several Gigabyte index is not a problem at all (depending upon how you u

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