Class MemoryFieldsDirectIterablePosting

    • Constructor Detail

      • MemoryFieldsDirectIterablePosting

        public MemoryFieldsDirectIterablePosting​(gnu.trove.TIntArrayList pl_termids,
                                                 gnu.trove.TIntArrayList pl_freq,
                                                 java.util.List<int[]> _pl_fields)
    • Method Detail

      • getFieldFrequencies

        public int[] getFieldFrequencies()
        Returns the frequencies of the term in each field of the document
        Specified by:
        getFieldFrequencies in interface FieldPosting
        Returns:
        the frequencies of the term in each field of the document.
      • getFieldLengths

        public int[] getFieldLengths()
        Returns the lengths of the each fields in the current document
        Specified by:
        getFieldLengths in interface FieldPosting
        Returns:
        the lengths of the each field in the current document.