public class GroupByEdgeTargetCollector
extends org.apache.lucene.search.Collector
Constructor and Description |
---|
GroupByEdgeTargetCollector(EdgeTypeRepository edgeTypeRepository,
ScoreConfig scoreConfig) |
GroupByEdgeTargetCollector(EdgeTypeRepository edgeTypeRepository,
ScoreConfig scoreConfig,
Date now) |
Modifier and Type | Method and Description |
---|---|
boolean |
acceptsDocsOutOfOrder() |
void |
collect(int docId) |
List<EdgeTargetInfo> |
getTopTargetsOrderedByScore() |
void |
setNextReader(org.apache.lucene.index.AtomicReaderContext context) |
void |
setScorer(org.apache.lucene.search.Scorer scorer) |
public GroupByEdgeTargetCollector(EdgeTypeRepository edgeTypeRepository, ScoreConfig scoreConfig)
public GroupByEdgeTargetCollector(EdgeTypeRepository edgeTypeRepository, ScoreConfig scoreConfig, Date now)
public void collect(int docId) throws IOException
collect
in class org.apache.lucene.search.Collector
IOException
public void setNextReader(org.apache.lucene.index.AtomicReaderContext context) throws IOException
setNextReader
in class org.apache.lucene.search.Collector
IOException
public List<EdgeTargetInfo> getTopTargetsOrderedByScore()
public void setScorer(org.apache.lucene.search.Scorer scorer) throws IOException
setScorer
in class org.apache.lucene.search.Collector
IOException
public boolean acceptsDocsOutOfOrder()
acceptsDocsOutOfOrder
in class org.apache.lucene.search.Collector
Copyright © 2003–2018 Atlassian. All rights reserved.