On 5/28/06, Jeroen Bulters <[EMAIL PROTECTED]> wrote:
> David Balmain wrote:
> > Until now I haven't really used the TermVectors so this probably isn't
> > the best way to do it but here goes (this is very rough);
>
> I'm going to try this out now. I'll also try extracting all term vectors
> from doc1 and using them as a query on doc2 (using a BooleanQuery). They
> use this kind of method in "Lucene in Action" (somewhere around page 190
> if I recall correctly).

If it's a "More Like This" query that you are trying to write, I
recommend you look at the Lucene code here;

    
http://svn.apache.org/viewvc/lucene/java/branches/lucene_2_0/contrib/similarity/src/java/org/apache/lucene/search/similar/MoreLikeThis.java?revision=409698&view=markup

It's part of Lucene 2.0 now. I'll be adding MoreLikeThis Queries in
the near future.

Cheers,
Dave
_______________________________________________
Ferret-talk mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ferret-talk

Reply via email to