ParallelMultiSearcher, bugs?

2006-08-02 Thread wenjie zheng
I am using ParallelMultSearcher to search across 10 different servers. Here is the problem I bumped into: Sometimes when I search for a term, my program just hang there. No result, no response. I decided to take one server (No. 10 in my list of servers) off the list, searching was as smooth as i

Re: weird behavior of IndexReader.indexExists()

2006-05-25 Thread wenjie zheng
I followed the instruction in wiki and generated an patch file, which I attach to this email.But I did not find where to upload this patch file in JIRA bug report.Can someone help me? On 5/17/06, Chris Hostetter <[EMAIL PROTECTED]> wrote: : I put Lock in IndexReader.indexExists function, and testes

Re: weird behavior of IndexReader.indexExists()

2006-05-17 Thread wenjie zheng
used. Add it to IndexReader.indexExists method(s) and see if you still get the error. If you don't, please put the patch with your changes in a new JIRA issues, so we can fix the problem. Thanks, Otis - Original Message ---- From: wenjie zheng <[EMAIL PROTECTED]> To: java-dev@lucene.apac

Re: weird behavior of IndexReader.indexExists()

2006-05-09 Thread wenjie zheng
s typically /tmp under UNIX/OSX and C:\WINDOWS\TEMP (I think) on Winblows. Otis ----- Original Message From: wenjie zheng <[EMAIL PROTECTED]> To: java-dev@lucene.apache.org Sent: Tuesday, May 9, 2006 9:09:47 AM Subject: Re: weird behavior of IndexReader.indexExists() Thanks, I guess

Re: weird behavior of IndexReader.indexExists()

2006-05-09 Thread wenjie zheng
ay not be found as the new segments file replaces the old one. The result is the index appears not to exist. Regards Andy -Original Message- From: wenjie zheng [mailto:[EMAIL PROTECTED] Sent: 08 May 2006 18:57 To: java-dev@lucene.apache.org Subject: Re: weird behavior of IndexReader.indexExists

Re: weird behavior of IndexReader.indexExists()

2006-05-08 Thread wenjie zheng
This happens sometimes when number of docs is over 2000. So it's kinda of random. Wenjie On 5/8/06, wenjie zheng <[EMAIL PROTECTED]> wrote: I created an index with more than 30,000 text files. I used indexExists() to determine either to create a new index or to add docs to the exi

weird behavior of IndexReader.indexExists()

2006-05-08 Thread wenjie zheng
I created an index with more than 30,000 text files. I used indexExists() to determine either to create a new index or to add docs to the existing index. But when the num of docs in the index was over 3,000 (sometimes 3,400, sometimes 3,200), the indexExists function returns false, so I ended up

Re: how to show snippets of search reult

2006-04-18 Thread wenjie zheng
That's what I need. Thanks On 4/18/06, Erik Hatcher <[EMAIL PROTECTED]> wrote: > > Have a look at the Highlighter contrib library. It is used for the > search results here, for example: > > <http://www.lucenebook.com/search?query=highlighter> > > &

how to show snippets of search reult

2006-04-18 Thread wenjie zheng
I have this general question about how to generate snippets (small piece of information with search keywords in it) for any search results. Is it something can be done by Lucene? Or does it require other algorithms/packages? Thanks, Wenjie

Re: Question about RemoteSearchable, RMI and queries in parallel

2006-04-12 Thread wenjie zheng
ion. > > A lot of it depends on you semantics of a search - does it mean at the > results are 'almost right' at a moment in time, or are pending index > changes > made first before any queries. How you define this will affect the > architecture greatly. > > > -

Question about RemoteSearchable, RMI and queries in parallel

2006-04-12 Thread wenjie zheng
My question is a little bit long. Thanks for your patience. I am working on project which requires remote searching ability. So I use RMI and RemoteSearchable class. Here is the system structure: Server A has all the indices on it and the RemoteSearchable object running on it. Server B accepts que

Re: Problem when deleting files from index

2006-03-05 Thread wenjie zheng
s it worked but sometimes it failed. Thanks Wenjie On 3/5/06, Daniel Naber <[EMAIL PROTECTED]> wrote: > > On Sonntag 05 März 2006 02:36, wenjie zheng wrote: > > > a list of email records, first searches in index for > > its docid. > > Once it gets the doc

Problem when deleting files from index

2006-03-04 Thread wenjie zheng
My program loops thru a list of email records, first searches in index for its docid. Once it gets the docid, it will try to remove the doc from the index. The problem I ran into was: 4 out 10 times I ran the program, I got "Lock obtain timed out: Lock@/tmp/lucene-6c36cae1cb524a61cdbb38a32f2ef684