com.atlassian.bamboo.index
Class AbstractDocumentHitCollector

java.lang.Object
  extended by org.apache.lucene.search.HitCollector
      extended by 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
           
 
Constructor Summary
AbstractDocumentHitCollector()
           
 
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
 

Field Detail

searcher

protected volatile org.apache.lucene.search.Searcher searcher
Constructor Detail

AbstractDocumentHitCollector

public AbstractDocumentHitCollector()
Method Detail

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 © 2013 Atlassian Software Systems Pty Ltd. All Rights Reserved.