Re: Updating the DocValues field doesn't seem to update its associated StoredField value

2017-06-12 Thread Erick Erickson
bq: ...added separate StoredField fields to store the values You're exactly right, those are two separate fields, how would Solr (or Lucene) know they were related? There's no reason to have the second stored field, you can return the value of a docValues field even if stored="false", see th

Updating the DocValues field doesn't seem to update its associated StoredField value

2017-06-12 Thread Joe Ye
Hi, I have a few NumericDocValuesField fields and also added separate StoredField fields to store the values so that I can access them in query results. I used IndexWriter.updateNumericDocValue to update the value of a DocValues field. Then I firstly called SearcherManager.maybeRefresh to ensure S