Class FSAFieldDocumentIndex

    • Constructor Detail

      • FSAFieldDocumentIndex

        public FSAFieldDocumentIndex​(IndexOnDisk index,
                                     java.lang.String structureName)
                              throws java.io.IOException
        Construct an instance of the class with
        Parameters:
        index -
        structureName -
        Throws:
        java.io.IOException
    • Method Detail

      • initialise

        protected void initialise​(IndexOnDisk index,
                                  java.lang.String structureName)
                           throws java.io.IOException
        Overrides:
        initialise in class FSADocumentIndex
        Throws:
        java.io.IOException
      • getFieldLengths

        public int[] getFieldLengths​(int docid)
                              throws java.io.IOException
        Get the length of each field
        Specified by:
        getFieldLengths in interface FieldDocumentIndex
        Throws:
        java.io.IOException