Re: Field with reader limitation arbitrary

2009-09-14 Thread Anthony Urso
It's best to file a feature request on the Lucene issue tracker if you are interested in seeing this implemented. http://issues.apache.org/jira/browse/LUCENE Just cut and paste your description and attach a patch and/or tests if you have them. Cheers, Anthony On Mon, Sep 14, 2009 at 1:03 PM, Gl

Re: applying cosine similarity directly

2009-09-12 Thread Anthony Urso
There is a MoreLikeThis similarity search class in Lucene, it should do what you're looking for. http://lucene.apache.org/java/2_4_1/api/org/apache/lucene/search/similar/MoreLikeThis.html Cheers, Anthony On Fri, Sep 11, 2009 at 11:25 PM, Alexy Khrabrov wrote: > Given that I have a field for whi

Re: Case Sensitivity

2008-09-11 Thread Anthony Urso
On Thu, Aug 28, 2008 at 11:16 AM, Michael McCandless <[EMAIL PROTECTED]> wrote: > > Yonik Seeley wrote: >> >> I wasn't originally going to add a Field.Index at all for omitNorms, >> but Doug suggested it. >> The problem with this type-safe way of doing things is the >> combinatorial explosion. > >

segment exists in external directory yet the MergeScheduler executed the merge in a separate thread

2008-09-11 Thread Anthony Urso
I have implemented a MapReduce job to merge a bunch of Lucene 2.3.2 indices together, but the reducers randomly fail with the following unchecked exception after thousands of successful merges: org.apache.lucene.index.MergePolicy$MergeException: segment "_0 exists in external directory yet the Mer