Is SearcherFactory the same as SearcherManager?
Ian mentioned a new warmer() solution. Maybe I can try that first.
-- 原始邮件 --
发件人: "Michael McCandless";
发送时间: 2013年1月26日(星期六) 凌晨0:10
收件人: "java-user";
主题: Re: 回复: 回复: IndexReader.open and CorruptIndexException
I need an ES to generate threads inside each of which a writer and a searcher
write, search and modify index files.
Till now, there is none example regarding the ES, NRTManager, etc.
Don't know what is the use of such stuff if no one knows how to use it.
-- Original --
Thanks for pointing that out for me. I will change the code.
My challenge is that I use a same reader for multiple threads. So if I have to
close a reader within a thread, the others may be affected. With that, what can
I do within a thread to reopen a new reader?
-- Origina
Mike, do you mean if I create a FSDirectory based writer in first place, then
the writer should be used in every thread rather than create a new RAMDirectory
based writer in that thread?
What about I do want to use RAMDirectory to speed up the index and search
processes?
--
Hi,
How can I merge multiple indices in RAM while not impacting search?
Thanks
Charlie,
the code you provided will double the size of the index on FS every time when
saving occurs.
Can we avoid duplicating the index but synchronizing the changed records?
-- Original --
From: "dyzc2010 "<1393975...@qq.com>;
Date: Mon
Hi,
I am trying to use OR operator, and want to know if it returns the results
comprising of both keywords contained first and then either keyword later.
To be more clear, if A OR B is enforced, should results with A and B are
returned first?
If not, how can I make sure that the OR operator
Hi,
I was noting that some posts discussed searching multi-indice or folders
simultaneously. But I can't find the posts any more.
Please forward them to me if you happen to have one.
Thanks
Hi I added a Java project in Eclipse for the 3.3 src release, and find hundreds
of compiling errors. Most are the MockAnalyzer class are missing a few
constructors.
Does anyone have the same experience? How has this incomplete version been
released?
Thanks