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
Hi,
I need to save a list of records into an index on hard drive. I keep a
writer and a reader open till the end of the operation.
My issue is that I need to compare each of the new records with each of the
records that have been saved into the index. There are plenty of duplicate
records in the
good
|
娄建文Java软件工程师
tom.grade1...@163.com
公司名称:浪潮北京电子信息产业有限公司
地址:山东济南
手机:13261993265
微薄:t.sina.com/janwen
|
扫描该二维码,可以将电子名片迅速保存到手机 使用帮助
|
在 2011-12-29 08:59:27,liugangc 写道:
>great!!
>At 2011-12-29 04:29:33,"Andrzej Bialecki" wrote:
>>Hi Lucene users,
>>
>>I'm happy to announce the release o