Re: Can't get a hit

2011-12-30 Thread KARTHIK SHIVAKUMAR
Hi My suggestion U should have a Common coloum which stores Unique Identity of the Data being Index. ex - Name+Date of Record This helps in replacing the duplicates with latest by using TermQuery search /Replace process. This also helps in Maintaining unique record List with out duplicate

RE: Can't get a hit

2011-12-29 Thread Uwe Schindler
Hi, IndexReaders, on which you are doing the search, are a snapshot of the index at the time it was opened. Later commits by IndexWriter are not seen unless you reopen the IndexReader. This can be done with IndexReader.openIfChanged() (since Lucene 3.5) or IndexReader.reopen() (before 3.5). Uwe