Class SlotAcc.FuncSlotAcc

    • Field Detail

      • valueSource

        protected final org.apache.lucene.queries.function.ValueSource valueSource
      • values

        protected org.apache.lucene.queries.function.FunctionValues values
    • Constructor Detail

      • FuncSlotAcc

        public FuncSlotAcc​(org.apache.lucene.queries.function.ValueSource values,
                           FacetContext fcontext,
                           int numSlots)
    • Method Detail

      • setNextReader

        public void setNextReader​(org.apache.lucene.index.LeafReaderContext readerContext)
                           throws IOException
        Description copied from class: SlotAcc
        NOTE: this currently detects when it is being reused and calls resetIterators by comparing reader ords with previous calls to setNextReader. For this reason, current users must call setNextReader in segment order. Failure to do so will cause worse performance.
        setNextReader in class SlotAcc