Skip to content

Commit

Permalink
add value_script as an option to terms stats
Browse files Browse the repository at this point in the history
  • Loading branch information
kimchy committed Mar 23, 2011
1 parent f20c6ec commit 992becf
Showing 1 changed file with 2 additions and 0 deletions.
Expand Up @@ -74,6 +74,8 @@ public class TermsStatsFacetProcessor extends AbstractComponent implements Facet
valueField = parser.text();
} else if ("script_field".equals(currentFieldName)) {
script = parser.text();
} else if ("value_script".equals(currentFieldName)) {
script = parser.text();
} else if ("size".equals(currentFieldName)) {
size = parser.intValue();
} else if ("all_terms".equals(currentFieldName) || "allTerms".equals(currentFieldName)) {
Expand Down

0 comments on commit 992becf

Please sign in to comment.