com.atlassian.bamboo.index
Class AbstractDocumentHitCollector
java.lang.Object
org.apache.lucene.search.HitCollector
com.atlassian.bamboo.index.AbstractDocumentHitCollector
- Direct Known Subclasses:
- AuthorDocumentCollector, FindLatestBuildResultHitCollector, PlanKeyHitCollector
public abstract class AbstractDocumentHitCollector
- extends org.apache.lucene.search.HitCollector
Field Summary |
protected org.apache.lucene.search.Searcher |
searcher
|
Method Summary |
protected void |
collect(org.apache.lucene.document.Document document)
|
void |
collect(int docId,
float score)
|
org.apache.lucene.search.Searcher |
getSearcher()
|
void |
setSearcher(org.apache.lucene.search.Searcher searcher)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
searcher
protected volatile org.apache.lucene.search.Searcher searcher
AbstractDocumentHitCollector
public AbstractDocumentHitCollector()
getSearcher
public org.apache.lucene.search.Searcher getSearcher()
setSearcher
public void setSearcher(org.apache.lucene.search.Searcher searcher)
collect
public void collect(int docId,
float score)
- Specified by:
collect
in class org.apache.lucene.search.HitCollector
collect
protected void collect(@NotNull
org.apache.lucene.document.Document document)
Copyright © 2010 Atlassian. All Rights Reserved.