Class OneDimensionalDocIssueHitCollector

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

public class OneDimensionalDocIssueHitCollector
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
OneDimensionalDocIssueHitCollector(String luceneGroupField, StatsGroup statsGroup, searcher, IssueFactory issueFactory)
Method Summary
 void collect(org.apache.lucene.document.Document d)
Methods inherited from class com.atlassian.jira.issue.statistics.util.DocumentHitCollector
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public OneDimensionalDocIssueHitCollector(String luceneGroupField,
                                          StatsGroup statsGroup,
                                          IssueFactory issueFactory)
Method Detail


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

Copyright © 2002-2008 Atlassian. All Rights Reserved.