Class ArrayOfFieldIterablePosting

    • Constructor Detail

      • ArrayOfFieldIterablePosting

        public ArrayOfFieldIterablePosting​(int[] _ids,
                                           int[] _freqs,
                                           int[] _lens,
                                           int[][] _tff,
                                           int[][] _lf)
      • ArrayOfFieldIterablePosting

        public ArrayOfFieldIterablePosting​(int[] _ids,
                                           int[] _freqs,
                                           int[] _lens,
                                           int[][] _tff,
                                           int[][] _lf,
                                           boolean invert)
    • Method Detail

      • getFieldFrequencies

        public int[] getFieldFrequencies()
        Description copied from interface: FieldPosting
        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()
        Description copied from interface: FieldPosting
        Returns the lengths of the each field in the current document.
        Specified by:
        getFieldLengths in interface FieldPosting
        Returns:
        the lengths of the each field in the current document.