Github user nvnmandadhi commented on a diff in the pull request:

    https://github.com/apache/lucene-solr/pull/398#discussion_r194210584
  
    --- Diff: 
lucene/suggest/src/java/org/apache/lucene/search/suggest/analyzing/BlendedInfixSuggester.java
 ---
    @@ -200,7 +201,13 @@ protected FieldType getTextFieldType() {
           textDV.advance(fd.doc);
     
           final String text = textDV.binaryValue().utf8ToString();
    -      long weight = (Long) fd.fields[0];
    +
    +      NumericDocValues weightDV = 
MultiDocValues.getNumericValues(searcher.getIndexReader(), WEIGHT_FIELD_NAME);
    --- End diff --
    
    Could you please make local variables final to prevent reassignment. 


---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to