Re: getting OutOfMemoryError

2011-06-17 Thread harsh srivastava
Hi Erick, i will gather the info and let u know. thanks harsh On 6/17/11, Erick Erickson wrote: > Please review: > http://wiki.apache.org/solr/UsingMailingLists > > You've given us no information to go on here, what are you > trying to do when this happens? What have you tried? What > is the quer

Re: getting OutOfMemoryError

2011-06-17 Thread Erick Erickson
Please review: http://wiki.apache.org/solr/UsingMailingLists You've given us no information to go on here, what are you trying to do when this happens? What have you tried? What is the query you're running when this happens? How much memory are you allocating to the JVM? You're apparently sorting

getting OutOfMemoryError

2011-06-17 Thread harsh srivastava
Hi List, Can anyone show any light why some times I am getting below error and application hangs up: I am using lucene 3.1. java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.lang.OutOfMemoryError: Java h

RE: Lucene - TrieRangeQuery

2011-06-17 Thread Uwe Schindler
Sorry, you have to add a "/" at the beginning: System.err.println(getClass().getResource("/org/apache/lucene/util/StringHelper.class").toString()); System.err.println(getClass().getResource("/org/apache/lucene/search/NumericRangeQuery.class").toString()); Uwe - Uwe Schindler H.-H.-Meier-Alle

RE: Lucene - TrieRangeQuery

2011-06-17 Thread Uwe Schindler
It seems that you may have some older lucene-core.jar in your classpath when running. A trick to find out if all come from the same JAR is using the following code: System.err.println(getClass().getResource("org/apache/lucene/util/StringHelper.class").toString()); And compare that with: System.e

Re: Lucene - TrieRangeQuery

2011-06-17 Thread Ian Lea
That sort of error can be caused by version mismatches. Double check that you are using the same versions of java and lucene at compile and run time, recompile everything, try again. -- Ian. On Fri, Jun 17, 2011 at 11:22 AM, Sowmya V.B. wrote: > Hi > > Thanks for the reply. I've been trying t

Re: Lucene - TrieRangeQuery

2011-06-17 Thread Sowmya V.B.
Hi Thanks for the reply. I've been trying to use these classes - NumericRangeQuery, TermRangeQuery etc. However, though I don't get compilation errors, I get a runtime error. Here is a brief trace. I mentioned this in a previous mail thread..but it got lost in the middle I guess.: java.lang.NoSu

Re: RAMDirectory doesn't win over FSDirectory all the time, why?

2011-06-17 Thread Sanne Grinovero
Hello, I came to similar conclusions, and have a similar comparison test available here: https://github.com/infinispan/infinispan/blob/master/lucene-directory/src/test/java/org/infinispan/lucene/profiling/PerformanceCompareStressTest.java In my test I explicitly run the RAMDirectory first to warmu

RE: Lucene - TrieRangeQuery

2011-06-17 Thread Uwe Schindler
Hi, It's called NumericRangeQuery and included since Lucene 2.9 into Core. Here the documentation from latest Lucene: http://s.apache.org/nrq Uwe - Uwe Schindler H.-H.-Meier-Allee 63, D-28213 Bremen http://www.thetaphi.de eMail: u...@thetaphi.de > -Original Message- > From: Sowmya

Lucene - TrieRangeQuery

2011-06-17 Thread Sowmya V.B.
Hi All Can someone suggest me where I can get an implementation of LongTrieRangeQuery class? I read about it in one of the Lucene implementation based reports, but could not find it on Lucene Src. Does that exist now? The report I read referred to an implementation by Uwe Schindler. A related on