Re: Payload TFIDF Similarity in Lucene 7.1.0

2018-03-14 Thread Michael Sokolov
Yes that (LUCENE-7854) was what I was referring to, and you are right that it stores values as integers. This doesn't necessarily have to be a blocker; you could scale your values by some factor, I guess. On Mar 13, 2018 9:36 AM, "Erdan Genc" wrote: > @Erik: I didn't

Re: Payload TFIDF Similarity in Lucene 7.1.0

2018-03-13 Thread Erdan Genc
@Erik: I didn't know that, how can I figure out which query types support payload scoring? The class I described is wrapped into an elasticsearch plugin so I don't have full control over this. Currently I'm using the SpanTermQuery, maybe another available query type will do, so I don't need to

Re: Payload TFIDF Similarity in Lucene 7.1.0

2018-03-13 Thread Michael Sokolov
Also, if you are no longer using the term frequency at all, you might consider wiring your score (the one you are currently wiring into payloads) in there, in place of the term frequency. On Mar 13, 2018 6:57 AM, "Erik Hatcher" wrote: > Payloads are only scored from

Re: Payload TFIDF Similarity in Lucene 7.1.0

2018-03-13 Thread Erik Hatcher
Payloads are only scored from certain query types. What query are you executing? > On Mar 13, 2018, at 04:58, Grdan Eenc wrote: > > Hej there, > > I want to extend the TFIDF Similarity class such that the term frequency is > neglected and the value in the payload