opensubscriber
   Find in this group all groups
 
Unknown more information…

j : java-user@lucene.apache.org 10 September 2009 • 4:39AM -0400

support for PayloadTermQuery in MoreLikeThis
by Bill Au

REPLY TO AUTHOR
 
REPLY TO GROUP




Has anyone done anything regarding the support of PayloadTermQuery in
MoreLikeThis?

I took a quick look at the code and it seems to be simply a matter of
swapping TermQuery with PayloadTermQuery.  I guess a generic solution would
be to add a enable method to enable PayloadTermQuery, keeping TermQuery as
the default for backwards compatibility.  The call signature of the same
enable method would also include the PayloadFunction to use for the
PayloadTermQuery.

Any comments/thoughts?

Bill

Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.