Problem with document scoring when using MultiSearcher

2002-10-21 Thread Stas Chetvertkov
Hi All, I am using MultiSearcher to search in 2 indexes having identical structure. Those indexes have indexed untokenized field, by which I am trying to perform a search using a simple TermQuery. The problem that I encountered is that in the case of performing 2 separate searches for these index

Re: FileNotFoundException while indexing

2002-10-11 Thread Stas Chetvertkov
Well... there is one thing with my solution. I implemented it using native code since I found no way to do it in Java :( Here is an excerpt from 'man 2 creat': ...O_EXCL is broken on NFS file systems, programs which rely on it for performing locking tasks will contain a race condition. The so

Re: FileNotFoundException while indexing

2002-10-11 Thread Stas Chetvertkov
I had experienced similar problem with FileNotFoundExceptions. Our system has one server writing to index (located on NFS mounted disk) and several servers searching in it. In my case, those exceptions were thrown by search servers. I found out that Lucene locking doesnot work on NFS - in this c

Re: Multithread searching problem on Linux

2002-10-02 Thread Stas Chetvertkov
Yes, it works without errors with classic JVM, but if it was not so painfully slow :( Anyway, I'll check what is faster - classic JVM with multiple thread search or Hotspot with 1 searching thread (as we have now). Thanks, Stas. > Try to run your vm in classic mode "java -classic" to disable th

Re: Multithread searching problem on Linux

2002-10-02 Thread Stas Chetvertkov
> Thursday? :) quarter ;) > I haven't encountered this with Lucene, but I have seen it with a > number of other applications. > These are JVM problems. > > Try IBM's 1.3.1 JVM for Linux, or the recently released JRockit 7.0. Everything works perfectly on both IBM's JVM and Sun's 1.4. Unfortunatel

Multithread searching problem on Linux

2002-10-01 Thread Stas Chetvertkov
Hi All, I am building a search engine based on Lucene. Recently I created a test simulating multiple users searching in the same index simultaneously and found out that quite often JVM crashes with 'Hotspot Virtual Machine Error : 11'. I couldnot reproduce this bug on Windows box, but observed it