Class ScriptDoubleValues

    • Method Summary

      Modifier and Type Method Description
      boolean advanceExact​(int target)
      Advance the iterator to exactly target and return whether target has a value.
      void setScorer​(org.apache.lucene.search.Scorer scorer)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ScriptDoubleValues

        public ScriptDoubleValues​(SearchScript script)
    • Method Detail

      • advanceExact

        public boolean advanceExact​(int target)
                             throws java.io.IOException
        Description copied from class: SortedNumericDoubleValues
        Advance the iterator to exactly target and return whether target has a value. target must be greater than or equal to the current doc ID and must be a valid doc ID, ie. ≥ 0 and < maxDoc.
        Specified by:
        advanceExact in class SortedNumericDoubleValues
        Throws:
        java.io.IOException
      • setScorer

        public void setScorer​(org.apache.lucene.search.Scorer scorer)
        Specified by:
        setScorer in interface ScorerAware