You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by Sheng <sh...@gmail.com> on 2015/02/11 21:58:10 UTC

Customscorequery and payload

fellas,

I am wondering if it is possible to wrap payload query with
customscorequery, so that one can tweak the search score with both payload
similarity and a customized score provider? This is useful in that one
might want to boost the score at token level (attached with payload) as
well as at the document level during search.

I am using latest 4.10.x Lucene.

Thanks,
Sheng

Re: Customscorequery and payload

Posted by Alexey Morozov <mo...@gmail.com>.
I have solved a similar task of taking payload into account for fuzzy queries

12 февраля 2015 г. 2:58:10 GMT+06:00, Sheng <sh...@gmail.com> пишет:
>fellas,
>
>I am wondering if it is possible to wrap payload query with
>customscorequery, so that one can tweak the search score with both
>payload
>similarity and a customized score provider? This is useful in that one
>might want to boost the score at token level (attached with payload) as
>well as at the document level during search.
>
>I am using latest 4.10.x Lucene.
>
>Thanks,
>Sheng

-- 
Создано в K-9 Mail.