RE: NIOFSDirectory AssertionError in sun.nio.ch.NativeThreadSet

2009-12-06 Thread Uwe Schindler
Maybe you should update your JVM? 1.5.0_08 is really old, the latest 1.5 version is _22. This looks like a Sun Bug, because the AssertionException happens in Sun's code not in Lucene's. Uwe - Uwe Schindler H.-H.-Meier-Allee 63, D-28213 Bremen http://www.thetaphi.de eMail: u...@thetaphi.de >

NIOFSDirectory AssertionError in sun.nio.ch.NativeThreadSet

2009-12-06 Thread Dan
I've been running some tests with Lucene 2.9.1 on a Linux box with a Sun JVM and getting a sun.nio.ch.NateiveThreadSet Assertion error (see below for stacktrace). Does anyone know what this error means? Any suggestions for a workaround? We used the following to open the index. FSDirectory

english dictionary for spelling

2009-12-06 Thread m.harig
hello all i've a doubt in spell checker , am creating spell index from my original index , but my original index itself has some misspelled words. So i decided to use any proper English dictionary words for my spell checker , can any one tell me is there any option in lucene to do my above?

english dictionary for spelling

2009-12-06 Thread m.harig
-- View this message in context: http://old.nabble.com/english-dictionary-for-spelling-tp26672045p26672045.html Sent from the Lucene - Java Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: java-user-unsubsc

[ERR] Only a type can be imported

2009-12-06 Thread Ghazal Gharooni
Hello, I am new in lucene project. I got the following error while trying to run the project and test Search Criteria (results.jsp) . I added all jar files to class path. I notified that QueryParser accept three argument while the code only includes two arguments. So, I've changed the qp = new Quer

Re: java.lang.NegativeArraySizeException on searching using Integer.MAX_VALUE for number of hits

2009-12-06 Thread Michael McCandless
OK, I opened https://issues.apache.org/jira/browse/LUCENE-2119 Mike On Wed, Dec 2, 2009 at 8:34 AM, Paul Taylor wrote: > Hi, just upgraded my code to Lucene 3.0 and on one simple search I get the > following stacktrace when I pass Integer.MAX_VALUE to the > Searcher.search(Query query,int n) met

Re: java.lang.NegativeArraySizeException on searching using Integer.MAX_VALUE for number of hits

2009-12-06 Thread Michael McCandless
On Wed, Dec 2, 2009 at 10:18 AM, Paul Taylor wrote: > Uwe Schindler wrote: >> >> If you want to have all results, you do something wrong. :-) >> >> Full text engines like lucene are made for returning only top-ranking >> results. So if you use TopDocs results you must know before how many >> TopDo

Re: IndexDivisor

2009-12-06 Thread Michael McCandless
You really have to use a profiler, to trust the RAM measurements. Certain queries, eg function queries, can load the field cache. What kind of queries are you running? Mike On Fri, Dec 4, 2009 at 9:11 AM, Ganesh wrote: > I didn't run with profiler. I created a test app and run that.. I am open