Class ScriptDoubleValues

All Implemented Interfaces:

public class ScriptDoubleValues extends SortingNumericDoubleValues implements ScorerAware
SortingNumericDoubleValues implementation which is based on a script
  • Constructor Details

  • Method Details

    • advanceExact

      public boolean advanceExact(int target) throws 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
    • setScorer

      public void setScorer( scorer)
      Specified by:
      setScorer in interface ScorerAware