Re: Question about BytesRef and BinaryDocValues

2018-08-23 Thread Kevin Manuel
ld value is divided to > 2 terms "hey" and "tom". So docvalue is written for each of them. > > Regards > Vadim Gindin > > > пт, 24 авг. 2018, 5:19 Kevin Manuel : > > > Hi, > > > > I'm using lucene version 4.3.1 and I've implemented a cust

Question about BytesRef and BinaryDocValues

2018-08-23 Thread Kevin Manuel
Hi, I'm using lucene version 4.3.1 and I've implemented a custom score query. I'm trying to read the value for a field from the field cache. It's a text field so I'm using getTerms which returns a binarydocvalues object. However on trying to get the bytes ref object for a document and converting

Upper limit on Score

2019-04-17 Thread Kevin Manuel
Hi, I was just wondering is there an upper limit to the score that can be generated for a non-constant score query? Thanks, Kevin

Re: Using FunctionScoreQuery vs CustomScoreQuery

2020-02-25 Thread Kevin Manuel
way to boost hits based on geo-distance. > > On Thu, Feb 20, 2020 at 10:55 PM Kevin Manuel > wrote: > > > Hi, > > > > I'm working on upgrading Lucene from 7.0.0 to the latest 8.4.1. We're > using > > a CustomScoreQuery to score docs/results differently based

Using FunctionScoreQuery vs CustomScoreQuery

2020-02-20 Thread Kevin Manuel
Hi, I'm working on upgrading Lucene from 7.0.0 to the latest 8.4.1. We're using a CustomScoreQuery to score docs/results differently based on their distance from a the user's location and also some other factors like the type of the document (i.e. say if we stored documents of places to eat, a

Custom DoubleValuesSource to Read from Multiple Indexed DocValue Fields

2020-07-16 Thread Kevin Manuel
Hi, I'm trying to write a custom DoubleValuesSource for use with a FunctionScoreQuery instance. To generate the final score of a document I need to: 1) Read from three indexed docValue fields and 2) Use the score of the wrapped query passed in to the FunctionScoreQuery instance For example, a

Implementing Custom DoubleValues

2021-02-15 Thread Kevin Manuel
Hi, I'm trying to write a custom DoubleValuesSource for use with a FunctionScoreQuery instance. (I'm trying to migrate from an older version of Lucene so I need to replace CustomScoreQuery). To generate the final score of a document I need to: 1) Read from three indexed DocValues fields and 2)