com.atlassian.jira.issue.statistics.util
Class FieldableDocumentHitCollector
java.lang.Object
org.apache.lucene.search.HitCollector
com.atlassian.jira.issue.statistics.util.FieldableDocumentHitCollector
public abstract class FieldableDocumentHitCollector
- extends org.apache.lucene.search.HitCollector
Field Summary |
protected org.apache.lucene.search.Searchable |
searcher
|
Method Summary |
abstract void |
collect(org.apache.lucene.document.Document d)
|
void |
collect(int i,
float v)
|
protected abstract org.apache.lucene.document.FieldSelector |
getFieldSelector()
This method should cache up the FieldSelector, such that overhead will be as small as possible when
this method is called from the collect(int,float) method. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
searcher
protected final org.apache.lucene.search.Searchable searcher
FieldableDocumentHitCollector
protected FieldableDocumentHitCollector(org.apache.lucene.search.Searchable searcher)
collect
public void collect(int i,
float v)
- Specified by:
collect
in class org.apache.lucene.search.HitCollector
getFieldSelector
protected abstract org.apache.lucene.document.FieldSelector getFieldSelector()
- This method should cache up the FieldSelector, such that overhead will be as small as possible when
this method is called from the
collect(int,float)
method.
- Returns:
- a
FieldSelector
collect
public abstract void collect(org.apache.lucene.document.Document d)
Copyright © 2002-2007 Atlassian. All Rights Reserved.