lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bill Au <bill.w...@gmail.com>
Subject support for PayloadTermQuery in MoreLikeThis
Date Wed, 09 Sep 2009 20:39:21 GMT
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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message