Re: DocValues and SearcherManager

2017-10-23 Thread Michael McCandless
Hmm the document you get back from a reader is NOT the same document you had indexed, so you cannot retrieve a doc from a reader, tweak it, re-index it, and hope everything survived. In particular, your doc values field "id" is not stored, so when you retrieve it from the reader, there is no id fi

DocValues and SearcherManager

2017-10-20 Thread Chris and Helen Bamford
Hi, I am using Lucene 4.10.3 and have a problem retrieving a DocValue field of a document using SearcherManager after I have updated a stored field value. The document has two key values: 'state' (stored Field) and 'id' (BinaryDocValue). After the document is indexed, it undergoes the foll