So many compiling errors in the 3.3 source release when added into Eclipse

2011-06-13 Thread dyzc2010
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

How to search multi-indice at the same time?

2011-07-23 Thread dyzc2010
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

OR operator in lucene

2011-09-09 Thread dyzc2010
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

Re: How to use RAMDirectory more efficiently

2012-01-03 Thread dyzc2010
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

How to merge indices in ram

2012-01-08 Thread dyzc2010
Hi, How can I merge multiple indices in RAM while not impacting search? Thanks

Re: Seem contradictive -- indexwriter in handling multiple threads

2012-01-11 Thread dyzc2010
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? --

Re: Is it necessary to create a new searcher?

2012-01-13 Thread dyzc2010
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

Re: NRTManager, NRTManagerReopenThread and ExecutorServices example

2012-01-20 Thread dyzc2010
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 --

回复: 回复: 回复: IndexReader.open and CorruptIndexException

2013-01-25 Thread dyzc2010
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