Re: Out of memory exception for big indexes

2007-04-07 Thread Nilesh Bansal
This seems like a very useful patch. Our application searches over 50 million doc in a 40GB index. We only have simple conjunctive queries on a single field. Currently, the command line search program that prints top-10 results requires at least 200mb memory. Our web application, that searches the

Re: IndexReader.deleteDocuement(); How to use it with our code??

2007-04-07 Thread Erick Erickson
Well, you're not giving us much to go on here other than code inspection. It would be much more useful to give us the exception trace, try using e.printStackTrace(); As an added benefit, that often allows me to figure out the problem myself, which is faster. But at a guess, you're destroying

Re: IndexReader.deleteDocuement(); How to use it with our code??

2007-04-07 Thread Ratnesh,V2Solutions India
Hi, I am trying like this in my code but control is going in catch instead of try block else { //if (LOG.isInfoEnabled()) //LOG.info("Document " + url + " has no OBJECT links."); try{