LUCENE-5339: add nocommits

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5339@1542712 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael McCandless 2013-11-17 12:23:08 +00:00
parent b5d3afa239
commit 95a9cd2854
2 changed files with 5 additions and 0 deletions

View File

@ -32,6 +32,7 @@ import org.apache.lucene.index.BinaryDocValues;
import org.apache.lucene.util.BytesRef;
import org.apache.lucene.util.FixedBitSet;
// nocommit jdoc that this assumes/requires the default encoding
public class TaxonomyFacetCounts extends Facets {
private final FacetsConfig facetsConfig;
private final TaxonomyReader taxoReader;
@ -178,6 +179,8 @@ public class TaxonomyFacetCounts extends Facets {
}
FacetsConfig.DimConfig ft = facetsConfig.getDimConfig(path.components[0]);
// nocommit shouldn't we verify the indexedFieldName
// matches what was passed to our ctor?
if (ft.hierarchical && ft.multiValued) {
totCount = counts[dimOrd];
}

View File

@ -39,6 +39,8 @@ import org.apache.lucene.util.FixedBitSet;
/** Aggregates sum of values from a {@link ValueSource}, for
* each facet label. */
// nocommit jdoc that this assumes/requires the default encoding
public class TaxonomyFacetSumValueSource extends Facets {
private final FacetsConfig facetsConfig;
private final TaxonomyReader taxoReader;