Class OneDimensionalDocHitCollector

  extended by
      extended by com.atlassian.jira.issue.statistics.util.DocumentHitCollector
          extended by com.atlassian.jira.issue.statistics.util.OneDimensionalDocHitCollector

public class OneDimensionalDocHitCollector
extends DocumentHitCollector

A HitCollector that accesses the document directly to get the values for a field. This HitCollector has low memory usage (it iterates over the documents as neccessary), and is useful when you are doing a collection where there are a limited number of documents, but a large number of terms in the entire index.

Field Summary
Fields inherited from class com.atlassian.jira.issue.statistics.util.DocumentHitCollector
Constructor Summary
OneDimensionalDocHitCollector(String luceneGroupField, Map result, searcher)
Method Summary
 void collect(org.apache.lucene.document.Document d)
Methods inherited from class com.atlassian.jira.issue.statistics.util.DocumentHitCollector
acceptsDocsOutOfOrder, collect, setNextReader, setScorer
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public OneDimensionalDocHitCollector(String luceneGroupField,
                                     Map result,
Method Detail


public void collect(org.apache.lucene.document.Document d)
Specified by:
collect in class DocumentHitCollector

Copyright © 2002-2012 Atlassian. All Rights Reserved.