Re: Restrict Lucene search in concrete document ids

2012-10-16 Thread Erick Erickson
Well, the original problem statement was that there is a list of doc IDs. On the assumption that these are _lucene_ doc IDs, it's just a matter of turning on the bit for each indicated doc in a relatively small, in-memory structure. This presumably could be done once whenever the original list of d

Re: Restrict Lucene search in concrete document ids

2012-10-16 Thread Erick Erickson
You probably want to use a Lucene Filter then use one of the query methods that takes a filter. Best Erick On Tue, Oct 16, 2012 at 4:36 AM, sxam wrote: > Hi, > Prior to search I have a concrete list of Lucene Document Ids (different > every time) and I want to limit my search only to those speci

upgrade to 4.0.0

2012-10-16 Thread Hans Lund
I'm currently in the process of upgrading from 4.0.0-BETA to 4.0.0 and just stumbled upon a difference in Analyzer.getTokenStream(String fieldName, Reader reader). In the BETA release, the method returned a TokenStream that is reset, but in the 4.0.0 release the tokenStream is eof until manually

Re: Open Source Social (London) - 23rd Oct

2012-10-16 Thread Richard Marr
Don't forget, The London Search Social is on Tuesday next week. Come and grab a beer with us and talk about Search, NLP, ML, Hadoop. All experience levels welcome. On 11 October 2012 21:59, Richard Marr wrote: > Hi all, > > The next Open Source Search Social is on the 23rd Oct at The Plough,

Restrict Lucene search in concrete document ids

2012-10-16 Thread sxam
Hi, Prior to search I have a concrete list of Lucene Document Ids (different every time) and I want to limit my search only to those specific documents. Is there a way to do it? I don't need to check any fields or anything, I know the possible document ids before so if possible I wouldn't want to u