Permalink
Browse files

Merge branch 'cnc-bugfix' into cnc

  • Loading branch information...
2 parents a31b44a + d00f359 commit 1fbb7ba4388b96081ceaae367dc30fe22837ec6a Joshua Hartman committed May 28, 2013
@@ -56,7 +56,8 @@ public MultiValueFacetHandler(String name,
String indexFieldName,
TermListFactory termListFactory,
Term sizePayloadTerm,
- Set<String> depends, int invertedIndexPenalty)
+ Set<String> depends,
+ int invertedIndexPenalty)
{
super(name, depends);
_depends = depends;
@@ -65,7 +66,16 @@ public MultiValueFacetHandler(String name,
_termListFactory = termListFactory;
_sizePayloadTerm = sizePayloadTerm;
}
-
+
+ public MultiValueFacetHandler(String name,
+ String indexFieldName,
+ TermListFactory termListFactory,
+ Term sizePayloadTerm,
+ Set<String> depends)
+ {
+ this(name, indexFieldName, termListFactory, sizePayloadTerm, depends, AdaptiveFacetFilter.DEFAULT_INVERTED_INDEX_PENALTY);
+ }
+
@Override
public int getNumItems(BoboIndexReader reader, int id) {
MultiValueFacetDataCache data = getFacetData(reader);
@@ -51,8 +51,17 @@ public SimpleFacetHandler(String name,
_termListFactory=termListFactory;
_invertedIndexPenalty = invertedIndexPenalty;
}
-
- public SimpleFacetHandler(String name,
+
+ public SimpleFacetHandler(String name,
+ String indexFieldName,
+ TermListFactory termListFactory,
+ Set<String> dependsOn)
+ {
+ this(name, indexFieldName, termListFactory, dependsOn, AdaptiveFacetFilter.DEFAULT_INVERTED_INDEX_PENALTY);
+ }
+
+
+ public SimpleFacetHandler(String name,
TermListFactory termListFactory,
Set<String> dependsOn,
int invertedIndexPenalty)

0 comments on commit 1fbb7ba

Please sign in to comment.