Question about SearcherManager.maybeReopen() method.

2013-11-06 Thread Alexei Morgado
hough the isSearcherCurrent returns false, meaning it sees that the new physical one is different from the old one. We are using lucene 3.5 and we cannot upgrade that easily. Do you guys have any solution for this? Any help will be greatly appreciated :): Thanks,  Alexei Mo

Question about SearcherManager.maybeReopen() method.

2013-11-06 Thread Alexei Morgado
Hi guys, I have a question about a problem we had with the SearcherManager.maybeReopen() method. This works as charm except when the segments in the previous index has the exact same names as the segments in the new one. In this case the maybeReopen() doesn't load the new index, even though the

Question about SearcherManager.maybeReopen() method.

2013-11-06 Thread Alexei Morgado
hough the isSearcherCurrent returns false, meaning it sees that the new physical one is different from the old one. We are using lucene 3.5 and we cannot upgrade that easily. Do you guys have any solution for this? Any help will be greatly appreciated :): Thanks in advance, Alexei Morgado. Sr

Re: Question about SearcherManager.maybeReopen() method.

2013-11-07 Thread Alexei Morgado
me know if you need more information, Thanks a lot for your help, Alexei Morgado. On Thursday, November 7, 2013 6:00 AM, Michael McCandless wrote: It sounds like you are somehow copying over index files from one index to another? You shouldn't do that; use IW.addIndexes instead.