RE: Lucene Help

2006-04-15 Thread Shajahan
Hi, Thank you for your help, i just downloades the lucene-1.4.3 and i want to run the demo file. if u dontmin please tell me how to run this demo file. this demo folder contain one Org folder, Search.html & Search.jhtml files. Thanking you, Shajahan Shaik. -- View this message in context: http:

Re: Lucene Seaches VS. Relational database Queries

2006-04-15 Thread Paul Elschot
On Saturday 15 April 2006 03:36, Jeryl Cook wrote: > > Im the co-worker who suggested to Ananth( I've think we have been debating > this for 3 days now,from the post it seems he is winning :)... ) > > Anway, as Ananth stated I suggested this because I am wondering if lucene > could solve a bottl

Re: Catching BooleanQuery.TooManyClauses

2006-04-15 Thread Erick Erickson
With the warning that I'm not the most experienced Lucene user in the world... I *think*, that rather than search for each term, it's more efficient to just use IndexReader.termDocs. i.e. Indexreader ir = ; TermDocs termDocs = ir.TermDocs(); WildcardTermEnum wildEnum = ; for (Term term = nul

Re: Lucene Help

2006-04-15 Thread Erick Erickson
What I did was "create a project from existing source" in Eclipse (gave it the path to the demo folder), imported the Lucene jar file and ran the application. As far as I can tell, the only required library is the Lucene jar file (I was using 1.9, but that shouldn't matter). I freely admit that th

Why is BooleanQuery.maxClauseCount static?

2006-04-15 Thread Jeff Rodenburg
What was the thinking behind making the BooleanQuery maxClauseCount a static? Or, I guess more to the point, why not an instance setting as well? Not trying to point out a flaw, just curious about the original thinking behind the setting. I have a situation where I have a set of BooleanQueries t

We are looking for Lucene Developer in Pune-India

2006-04-15 Thread satish
Hello, We are looking forward to add Lucene/J2EE developer to our core engineering team at Betterlabs, Pune India. Interested one can send your resume to [EMAIL PROTECTED] Regards Satish - To unsubscribe, e-mail: [EMAIL PROTEC

java.io.IOException: Lock obtain timed out: Lock@/tmp/lucene-dcc982e203ef1d2aebb5d8a4b55b3a60-write.lock

2006-04-15 Thread Puneet Lakhina
Hi all, I am very new to lucene. I am using it in my application to index and serach through text files. And my program is more or less similar to the demo privided with lucene distribution. Initially everything was working fine without any problems. But today while running the application i have b

Re: java.io.IOException: Lock obtain timed out: Lock@/tmp/lucene-dcc982e203ef1d2aebb5d8a4b55b3a60-write.lock

2006-04-15 Thread Raghavendra Prabhu
You are creating two IndexWriters on the same directory I guess that is the reason for the problem and one holds the lock Rgds Prabhu On 4/15/06, Puneet Lakhina <[EMAIL PROTECTED]> wrote: > > Hi all, > I am very new to lucene. I am using it in my application to index and > serach > through text

Re: Using Lucene for searching tokens, not storing them.

2006-04-15 Thread karl wettin
14 apr 2006 kl. 18.31 skrev Doug Cutting: karl wettin wrote: I would like to store all in my application rather than using the Lucene persistency mechanism for tokens. I only want the search mechanism. I do not need the IndexReader and IndexWriter as that will be a natural part of my a

Re: java.io.IOException: Lock obtain timed out: Lock@/tmp/lucene-dcc982e203ef1d2aebb5d8a4b55b3a60-write.lock

2006-04-15 Thread karl wettin
Could it just be that the application was not shut down properly? If you dare, check for locks and remove them when you start your application. Note that both IndexReader and IndexWriter can produce a write-lock. 15 apr 2006 kl. 18.56 skrev Raghavendra Prabhu: You are creating two IndexWri

Re: java.io.IOException: Lock obtain timed out: Lock@/tmp/lucene-dcc982e203ef1d2aebb5d8a4b55b3a60-write.lock

2006-04-15 Thread Raghavendra Prabhu
Deleting the lock file when you startup the application sounds like a workaround to the issue. But still then lucene should have removed it if the close operations for both the IndexReader and IndexWriter had been called properly As karl wettin said maybe the application is not closed properly le

Re: Catching BooleanQuery.TooManyClauses

2006-04-15 Thread Paul Elschot
On Saturday 15 April 2006 13:44, Erick Erickson wrote: > With the warning that I'm not the most experienced Lucene user in the > world... > > I *think*, that rather than search for each term, it's more efficient to > just use IndexReader.termDocs. i.e. > > Indexreader ir = ; > TermDocs termDo

Re: Why is BooleanQuery.maxClauseCount static?

2006-04-15 Thread Paul Elschot
On Saturday 15 April 2006 18:20, Jeff Rodenburg wrote: > What was the thinking behind making the BooleanQuery maxClauseCount a > static? Or, I guess more to the point, why not an instance setting as well? > > Not trying to point out a flaw, just curious about the original thinking > behind the se

Re: Using Lucene for searching tokens, not storing them.

2006-04-15 Thread Paul Elschot
On Saturday 15 April 2006 19:25, karl wettin wrote: > > 14 apr 2006 kl. 18.31 skrev Doug Cutting: > > > karl wettin wrote: > >> I would like to store all in my application rather than using the > >> Lucene persistency mechanism for tokens. I only want the search > >> mechanism. I do not nee

Re: Catching BooleanQuery.TooManyClauses

2006-04-15 Thread Erick Erickson
Cool, thanks for the clarification... Erick

Re: Why is BooleanQuery.maxClauseCount static?

2006-04-15 Thread Jeff Rodenburg
Thanks Paul. In my case, I don't have nested queries but rather separate queries running against different indexes -- some with very high clause counts, and some with very low clause counts. These are executing in a web environment with the same memory space and process, so concurrency can someti