Re: getting OutOfMemoryError

2011-06-20 Thread harsh srivastava
org.apache.lucene.search.ParallelMultiSearcher$ExecutionHelper.next(ParallelMultiSearcher.java:274)        ... 11 more Caused by: java.lang.OutOfMemoryError: Java heap space On Fri, Jun 17, 2011 at 9:28 PM, harsh srivastava wrote: > > Hi Erick, > i will gather the info and let u know. > thanks > harsh

Re: getting OutOfMemoryError

2011-06-17 Thread harsh srivastava
tried? What > is the query you're running when this happens? How much > memory are you allocating to the JVM? > > You're apparently sorting, how many unique values are there > in the fields you're sorting? How are the fields you're sorting on > being analyzed? &g

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: Phrase queries taking more time

2011-06-01 Thread harsh srivastava
ail: u...@thetaphi.de > > > > -Original Message- > > From: harsh srivastava [mailto:harshc...@gmail.com] > > Sent: Wednesday, June 01, 2011 7:27 PM > > To: java-user@lucene.apache.org > > Subject: Phrase queries taking more time > > > > Hi all, >

Phrase queries taking more time

2011-06-01 Thread harsh srivastava
Hi all, we have a 20gb lucene index size. We are using lucene 3.1. For business reasons, if a user searches suppose for java, we also have to search its synonyms "core java". so the query looks like below: title:(java "core java") we have approx 500 synonyms set, each having 3 to 5 phrases. Now t

How to fix the number of searched terms for a field

2011-05-03 Thread harsh srivastava
Hi All, I want to know any inbuilt method in lucene that can help me to fix the number of searched terms for a given field e.g. Suppose I have given content:(text1 text2 text3 text4 text5) to search and want to limit it to 3 words only i.e. content:(text1 text2 text3) Please help. Thanks, Harsh

Re: document with parent-child relationship

2011-04-29 Thread harsh srivastava
Hi, You can create three fields for a document to index e.g. Fields => parent_id parent_textchild_text Contents =>1 low pressure engine wheel, etc 2 Electronics laptop pc ...

Re: Searching Multivalued fileds

2011-01-11 Thread harsh srivastava
Hi Sailesh, As per my understanding, (+ITEMNAME:item +ITEMNAME:movie) will search for a document containing item and movie terms and return the DOC 1. What you want to get? -HarshCode On Tue, Jan 11, 2011 at 12:12 PM, Sailesh wrote: > > My index contains multivalued filed like and i use whi

Re: VM options for faster lucene search

2010-04-26 Thread Harsh Srivastava
Hi, I am asking in terms of http://java.sun.com/javase/technologies/hotspot/vmoptions.jsp#PerformanceTuning VM oprions. -- Er. Harsh Srivastava On Mon, Apr 26, 2010 at 12:40 PM, Anshum wrote: > There are a few things you could do, > 1. Run the JVM in server mode [-server] > 2. As

VM options for faster lucene search

2010-04-25 Thread Harsh Srivastava
Hi all, Please suggest VM options for faster lucene search for 23G index. I am using lucene version 2.9.2 and java version 1.6 . -- Er. Harsh Srivastava - To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For