postings

fun postings(term: Term, flags: Int): PostingsEnum?

Returns PostingsEnum for the specified term. This will return null if either the field or term does not exist.

NOTE: The returned PostingsEnum may contain deleted docs.

See also


Returns PostingsEnum for the specified term with PostingsEnum.FREQS.

Use this method if you only require documents and frequencies, and do not need any proximity data. This method is equivalent to .postings

NOTE: The returned PostingsEnum may contain deleted docs.

See also

.postings