Locking in Lucene 2.0

2007-02-01 Thread Kadlabalu, Hareesh
Hi, I am starting to work with Lucene 2.0 and I noticed that we can no longer create an FSDirectory using a LockFactory. Could someone point me to some discussion or documentation related to locking and what has changed in terms of best practices? It appears that the only way to build custom lock

RE: Searching for similar documents

2005-07-19 Thread Kadlabalu, Hareesh
PROTECTED] > Sent: Saturday, July 16, 2005 7:52 AM > To: java-user@lucene.apache.org > Subject: RE: Searching for similar documents > > They should work with the version in SVN, as well as with 1.4.3. > > Otis > > > --- "Kadlabalu, Hareesh" <[EMAI

RE: Searching for similar documents

2005-07-16 Thread Kadlabalu, Hareesh
ib/: $ ll contrib/similarity/src/java/org/apache/lucene/search/similar/*java -rwxrwxr-x 1 otis otis 30431 Jul 9 09:20 MoreLikeThis.java* -rwxrwxr-x 1 otis otis 3612 Mar 16 17:31 SimilarityQueries.java* Otis --- "Kadlabalu, Hareesh" <[EMAIL PROTECTED]> wrote: > Hi, &g

Searching for similar documents

2005-07-15 Thread Kadlabalu, Hareesh
Hi, I am trying to build a search utility that looks for 'similarities' between documents. In other words, for every document listed as a part of search result for a phrase, I want to be able to list documents that are similar to it (but not necessarily match the same search criterion). For exampl

RE: Indexes auto creation

2005-06-13 Thread Kadlabalu, Hareesh
I ran into a related problem; when I create an IndexWriter with a FSDirectory created with create=true, an existing index would somehow get corrupted (Luke would come back with a message saying that the index is corrupt). IndexWriter will tell you that it has 0 documents at that stage even though t

Displaying relevant text with Search results

2005-06-13 Thread Kadlabalu, Hareesh
Hi, I have a simple index with one default field that is stored and indexed. I want to display the query results along with some relevant text from the default field, the way search is implemented at http://www.lucenebook.com/ . For example, searching for 'wonderf