Lucene on Linux problem...

2005-04-02 Thread Kristian Ottosen
Hello, I have really been pulling out hair for a while over this. The problem only occur using FSDirectory on some Linux system (some Debian, Suse and Redhat - but not all) and never under Windows, Solaris or Mac OS X. What happens is that Lucene for some reason tries to read a segment which was

Re: Plural Stemming

2005-04-02 Thread mark harwood
Just ran this method on 4500 words ending in "s" in my index and results looks good but I'm tempted to remove this line: !word.endsWith("ses") ) With it removed I saw 3 oddities moses=mose gases=gase viruses=viruse but I got 100+ extra stems that were OK: accesses=access addresses=ad

Re: Lucene on Linux problem...

2005-04-02 Thread Paul Elschot
On Saturday 02 April 2005 10:29, Kristian Ottosen wrote: > Hello, > > I have really been pulling out hair for a while over this. The problem only > occur using FSDirectory on some Linux system (some Debian, Suse and Redhat - > but not all) and never under Windows, Solaris or Mac OS X. > > What h

Re: Lucene on Linux problem...

2005-04-02 Thread Chris Lamprecht
I've also been getting this error very rarely on a production system with lots of search queries. The system is Fedora 1 using ext3. It happens in the call to IndexReader.getCurrentVersion(indexPath). I think it happens when the separate indexing process is running or has just run (from a separa

Re: Plural Stemming

2005-04-02 Thread Andrzej Bialecki
mark harwood wrote: Just ran this method on 4500 words ending in "s" in my index and results looks good but I'm tempted to remove this line: !word.endsWith("ses") ) With it removed I saw 3 oddities moses=mose gases=gase viruses=viruse but I got 100+ extra stems that were OK: Stemming d

Re: Plural Stemming

2005-04-02 Thread markharw00d
>>Stemming doesn't have to produce intelligible words True, yes this should be fine for general search requirements. However, the code presented does make some attempt to produce intelligible words eg parties=party unlike Porter stemmer's parties=parti Does this make it a "lemmatizer"? This is a f

Re[6]: Analyzer don't work with wildcard queries, snowball analyzer.

2005-04-02 Thread Sven Duzont
Hello, EH> What about handling BooleanQuery's nested within a BooleanQuery? EH> You'll need some recursion. thanks for all hints, i've re-coded the method to handle nested BooleanQueries EH> Could you share that filter with the community? Of course, the code is in the attachment >> // The fi

Can not delete cfs file

2005-04-02 Thread Gusenbauer Stefan
I'm writing a little application and therefore I've implemented unit tests. There i've a method to test my removeindex method, the problem is can't delete the cfs file. When i try to delete it manually it works. But within the tests the method cannot delete this file. I've searched through my c

Re: Can not delete cfs file

2005-04-02 Thread Gusenbauer Stefan
Gusenbauer Stefan wrote: I'm writing a little application and therefore I've implemented unit tests. There i've a method to test my removeindex method, the problem is can't delete the cfs file. When i try to delete it manually it works. But within the tests the method cannot delete this file. I'

Re: Can not delete cfs file

2005-04-02 Thread Erik Hatcher
Could you provide your test case code as well as the full stack trace of the error you're receiving? Erik On Apr 2, 2005, at 9:13 AM, Gusenbauer Stefan wrote: I'm writing a little application and therefore I've implemented unit tests. There i've a method to test my removeindex method, th