thanks Suman .
I test my code again in my project.It works,users can search the new index doc
immediately.
In our website,we merge index files every 15 mins from a server to another
server.and we can not stop the search service,so we can not reopen
the index directory,thanks.
2011-10-10
janw
Hi janwen,
Try reopening the index reader and make new instance of searcher .
Regards,
Suman
-Original Message-
From: janwen [mailto:tom.grade1...@163.com]
Sent: Monday, October 10, 2011 7:34 AM
To: java-user
Subject: merge index
HI:
after i add new index directory to exsited dire
Hi
I am trying to understand why I am not able to retrieve docs I have indexed by
a ShingleAnalyzer. The setup is as follows:
During indexing I do the following:
PerFieldAnalyzerWrapper wrapper =
DocFieldAnalyzerWrapper.getDocFieldAnalyzerWrapper(Stopwords);