RE: Lucene 7.x custom Scorer on point values

2017-10-12 Thread Uwe Schindler
> -Original Message- > From: Dominik Safaric [mailto:dominiksafa...@gmail.com] > Sent: Thursday, October 12, 2017 8:53 AM > To: java-user@lucene.apache.org > Subject: Re: Lucene 7.x custom Scorer on point values > > The number of values per document per field is equal

Re: Lucene 7.x custom Scorer on point values

2017-10-11 Thread Dominik Safaric
.thetaphi.de > eMail: u...@thetaphi.de > > > -Original Message- > > From: Dominik Safaric [mailto:dominiksafa...@gmail.com] > > Sent: Wednesday, October 11, 2017 1:39 PM > > To: java-user@lucene.apache.org > > Subject: Re: Lucene 7.x custom Scorer on po

RE: Lucene 7.x custom Scorer on point values

2017-10-11 Thread Uwe Schindler
hi.de > -Original Message- > From: Dominik Safaric [mailto:dominiksafa...@gmail.com] > Sent: Wednesday, October 11, 2017 1:39 PM > To: java-user@lucene.apache.org > Subject: Re: Lucene 7.x custom Scorer on point values > > Thanks Uwe for the clarification. > > The value

Re: Lucene 7.x custom Scorer on point values

2017-10-11 Thread Dominik Safaric
Thanks Uwe for the clarification. The values are already indexed as numeric docvalues, i.e. numeric point-docvalues. In both cases, either by implementing a custom scorer or function query I would need to access the point values for the matched/hit documents. How can I derive these values given a

RE: Lucene 7.x custom Scorer on point values

2017-10-11 Thread Uwe Schindler
Hi, You would need to index that as numeric docvalues. Just add another field of type numeric docvalues with same or different name and use the LeafReader's docvalues accessors to fetch values. But that's all way too hard. You can create function queries without hazzle using the function querie