Wildcard query

2009-08-30 Thread Ganesh
Hello all, I am having some content with text "attention". If is search using "att*", "attent*", the results are displayed. If i search for "attenti*" then no results are displayed. I am using Snowball Analyzer for Indexing and Search (Lucene v2.4.1). Regards Ganesh Send instant messages to

RE: Unintelligent implementation of IndexWriter locking?

2009-08-30 Thread Uwe Schindler
We can add a note to FSDirectory about that. For IndexWriter/IndexReader this hint is no longer needed (in Lucene 2.9), as all methods taking String/File instead of Directory are deprecated and users should create directory instances and then will automatically get to the place where the LockFacto

Re: Unintelligent implementation of IndexWriter locking?

2009-08-30 Thread Mark Miller
Jan Peter Stotz wrote: > Mark Miller wrote: > > >> Have you tried using a native lock factory? >> > > No - I did not even know of it's existence as it is nowhere "visible" from > the IndexWriter class (not directly used and nowhere mentioned in the > JavDoc. Could you please add a small hin

Re: Unintelligent implementation of IndexWriter locking?

2009-08-30 Thread Jan Peter Stotz
Mark Miller wrote: > Have you tried using a native lock factory? No - I did not even know of it's existence as it is nowhere "visible" from the IndexWriter class (not directly used and nowhere mentioned in the JavDoc. Could you please add a small hint after the description about the "locking file

Re: Unintelligent implementation of IndexWriter locking?

2009-08-30 Thread Mark Miller
Jan Peter Stotz wrote: > Hi Lucene users, > > at the moment I have some problems with the locking mechanism of > IndexWriter. Some times my application quits/terminates before I can close > the IndexWriter. Then the "write.lock" file remains and prohibits every > write access to my index. Of course

Unintelligent implementation of IndexWriter locking?

2009-08-30 Thread Jan Peter Stotz
Hi Lucene users, at the moment I have some problems with the locking mechanism of IndexWriter. Some times my application quits/terminates before I can close the IndexWriter. Then the "write.lock" file remains and prohibits every write access to my index. Of course I could simply unlock the directo