Class BooleanMultiField

    • Constructor Detail

      • BooleanMultiField

        public BooleanMultiField​(String fieldName)
    • Method Detail

      • doSetNextReader

        public void doSetNextReader​(org.apache.lucene.index.LeafReaderContext context)
                             throws IOException
        Description copied from class: AnalyticsField
        Set the segment reader context
        Specified by:
        doSetNextReader in class AnalyticsField
        Parameters:
        context - segment context
        Throws:
        IOException - if an error occurs while loading the leaf reader
      • collect

        public void collect​(int doc)
                     throws IOException
        Description copied from class: AnalyticsField
        Collect the value(s) of the wrapped field for the given document, and store the value.
        Specified by:
        collect in class AnalyticsField
        Parameters:
        doc - ID of the document to collect
        Throws:
        IOException - if an error occurs while reading the document.
      • streamStrings

        public void streamStrings​(Consumer<String> cons)
        Description copied from interface: StringValueStream
        Stream the String representations of all current values, if any exist.
        Specified by:
        streamStrings in interface StringValueStream
        Parameters:
        cons - The consumer to accept the values