Re: Query

2002-06-26 Thread Pradeep Kumar K
Thanks Terry Terry Steichen wrote: >Pradeep, > >I believe that using 'Suhas*' tells the search engine you're looking for a >term which starts with 'Suhas' and has 1 or more terms in addition. Using >'Suhas' looks for a direct term match. > >The '+' preceding the term tells the engine its manda

Query

2002-06-26 Thread Pradeep Kumar K
Hi How to create a query which should search for documents that doesnot containing a certain Term. I used '-' before the string to be avoided Query qu= QueryParser.parse("-pradeep","name",new StandardAnalyzer()); I have two documents with 'name' not equal to 'pradeep' but the number of

IndexReader Pool

2002-06-26 Thread Nader S. Henein
I was going through the lucene-user posts on the web and I came accross a posting by Scott Oshima http://www.mail-archive.com/lucene-user@jakarta.apache.org/msg00693.html witch is talking about creating a IndexReader pool to spead up the search I've looked into that but I can't fiure out what t

RE: Stress Testing Lucene

2002-06-26 Thread Nader S. Henein
sorry .. but still the same problem, I've saved the index in a seperate direcory and I've re-indexed overnight so, testing (witch is currently underway) on the system can resume. Like I said in my previous email , worst case scenarios and the index is corrupted any ideas as to why, I'll gladly go

RE: Stress Testing Lucene

2002-06-26 Thread Nader S. Henein
I rebooted my machine and still the same issue .. if I know what caused that to happen, I would be able to solve it with some source tweaking, and it's not the files handles on the machine I got over that problem months ago. Let's consider worst case scenario and that corruption did occur what cou

ArrayIndexOutOfBoundsException in IndexHTML demo

2002-06-26 Thread jeff . watts
I am working my way through the examples in the Getting Started documentation, and I have run into a problem with the Web demo program. When I run the following command java org.apache.lucene.demo.IndexHTML -create -index {index} .. I receive the following messages: adding ./jsp/cal/Entries.tx

Re: Query

2002-06-26 Thread Terry Steichen
Pradeep, I believe that using 'Suhas*' tells the search engine you're looking for a term which starts with 'Suhas' and has 1 or more terms in addition. Using 'Suhas' looks for a direct term match. The '+' preceding the term tells the engine its mandatory that this term be included. The '-' say

Query

2002-06-26 Thread Pradeep Kumar K
Hi I added one document in to the index using the code doc=new Document(); IndexWriter indwr=new IndexWriter(rdir,new StandardAnalyzer(),true) doc.add(Field.Text("name", "Suhas Kumar")); indwr.close() and searched using the code indSe = new IndexSearcher(rdir); Query quer=QueryParser.parse

RE: Stress Testing Lucene

2002-06-26 Thread Scott Ganyo
1) Are you sure that the index is corrupted? Maybe the file handles just haven't been released yet. Did you try to reboot and try again? 2) To avoid the too-many files problem: a) increase the system file handle limits, b) make sure that you reuse IndexReaders as much as you can rather across r

Stress Testing Lucene

2002-06-26 Thread Nader S. Henein
Hey people, I'm running a Lucene (v1.2) servlet on resin and I must say compared to Oracle Intermedia it's working beautifully. BUT today, I started stress testing and I downloaded a program called Web Roller, witch simulates clients, requests , multi-threading .. the works and I was testing I w