public static class RandomPostingsTester.SeedPostings extends PostingsEnum
Modifier and Type | Field and Description |
---|---|
int |
docFreq |
int |
upto |
ALL, FREQS, NONE, OFFSETS, PAYLOADS, POSITIONS
NO_MORE_DOCS
Constructor and Description |
---|
SeedPostings(long seed,
int minDocFreq,
int maxDocFreq,
IndexOptions options,
boolean allowPayloads) |
Modifier and Type | Method and Description |
---|---|
int |
advance(int target) |
long |
cost() |
int |
docID() |
int |
endOffset() |
int |
freq() |
BytesRef |
getPayload() |
int |
nextDoc() |
int |
nextPosition() |
int |
startOffset() |
featureRequested
all, empty, range, slowAdvance
public SeedPostings(long seed, int minDocFreq, int maxDocFreq, IndexOptions options, boolean allowPayloads)
public int nextDoc()
nextDoc
in class DocIdSetIterator
public int docID()
docID
in class DocIdSetIterator
public int freq()
freq
in class PostingsEnum
public int nextPosition()
nextPosition
in class PostingsEnum
public int startOffset()
startOffset
in class PostingsEnum
public int endOffset()
endOffset
in class PostingsEnum
public BytesRef getPayload()
getPayload
in class PostingsEnum
public int advance(int target) throws IOException
advance
in class DocIdSetIterator
IOException
public long cost()
cost
in class DocIdSetIterator
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.