Class IndexingChain.PerField

  • All Implemented Interfaces:
    java.lang.Comparable<IndexingChain.PerField>
    Enclosing class:
    IndexingChain

    private final class IndexingChain.PerField
    extends java.lang.Object
    implements java.lang.Comparable<IndexingChain.PerField>
    NOTE: not static: accesses at least docState, termsHash.
    • Method Detail

      • reset

        void reset​(int docId)
      • setFieldInfo

        void setFieldInfo​(FieldInfo fieldInfo)
      • setInvertState

        void setInvertState()
      • finish

        public void finish​(int docID)
                    throws java.io.IOException
        Throws:
        java.io.IOException
      • invert

        public void invert​(int docID,
                           IndexableField field,
                           boolean first)
                    throws java.io.IOException
        Inverts one field for one document; first is true if this is the first time we are seeing this field name in this document.
        Throws:
        java.io.IOException
      • invertTokenStream

        private void invertTokenStream​(int docID,
                                       IndexableField field,
                                       boolean first)
                                throws java.io.IOException
        Throws:
        java.io.IOException
      • invertTerm

        private void invertTerm​(int docID,
                                IndexableField field,
                                boolean first)
                         throws java.io.IOException
        Throws:
        java.io.IOException