Re: Question about BytesRef and BinaryDocValues

2018-08-23 Thread Kevin Manuel
Hi Vadim, Thank you so much for your reply. I think you were right. So if a field is 'analyzed' how can I get both terms 'hey' and 'tom'? Thanks, Kevin On Thu, Aug 23, 2018, 20:26 Vadim Gindin wrote: > Hi Kevin! > > I think that your field is "analyzed" and so your field value is divided to

Re: Question about BytesRef and BinaryDocValues

2018-08-23 Thread Vadim Gindin
Hi Kevin! I think that your field is "analyzed" and so your field 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 custom score

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