Re: Problem with near realtime search

2012-08-05 Thread Simon Willnauer
Hey Harald, On Sat, Aug 4, 2012 at 7:58 AM, Harald Kirsch wrote: > Hello Simon, > > now that I knew what to search for I found > > http://wiki.apache.org/lucene-java/LuceneFAQ#When_is_it_possible_for_document_IDs_to_change.3F > > So that clearly explains this issue for me. > > Many thanks for you

Re: Problem with near realtime search

2012-08-03 Thread Harald Kirsch
Hello Simon, now that I knew what to search for I found http://wiki.apache.org/lucene-java/LuceneFAQ#When_is_it_possible_for_document_IDs_to_change.3F So that clearly explains this issue for me. Many thanks for your help. Harald Am 04.08.2012 07:38, schrieb Harald Kirsch: Hello Simon, th

Re: Problem with near realtime search

2012-08-03 Thread Harald Kirsch
Hello Simon, thanks for the information. I really thought that once a docId is assigned it is kept until the document is deleted. The only problem I would have expected are docIds that no longer refer to a document, because it was deleted in the meantime. But this is clearly not the case in m

Re: Problem with near realtime search

2012-08-03 Thread Simon Willnauer
hey harald, if you use a possibly different searcher (reader) than you used for the search you will run into problems with the doc IDs since they might change during the request. I suggest you to use SearcherManager or NRTMangager and carry on the searcher reference when you collect the stored val