Skip to content

Commit

Permalink
datastore-solr: fix scope of some Solr constants
Browse files Browse the repository at this point in the history
  • Loading branch information
imedina committed Nov 28, 2018
1 parent ab835ca commit 0fe7177
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,16 @@

public class FacetQueryParser {

private static final String FACET_SEPARATOR = ";";
public static final String FACET_SEPARATOR = ";";
public static final String LABEL_SEPARATOR = "___";
private static final String NESTED_FACET_SEPARATOR = ">>";
private static final String NESTED_SUBFACET_SEPARATOR = ",";
private static final String INCLUDE_SEPARATOR = ",";
public static final String INCLUDE_SEPARATOR = ",";
private static final String RANGE_IDENTIFIER = "..";
private static final String AGGREGATION_IDENTIFIER = "(";
private static final String[] AGGREGATION_FUNCTIONS = {"sum", "avg", "max", "min", "unique", "percentile", "sumsq", "variance",
"stddev", };
private static final Pattern CATEGORICAL_PATTERN = Pattern.compile("^([a-zA-Z][a-zA-Z0-9_.]+)(\\[[a-zA-Z0-9,*]+])?(:\\*|:\\d+)?$");
public static final Pattern CATEGORICAL_PATTERN = Pattern.compile("^([a-zA-Z][a-zA-Z0-9_.]+)(\\[[a-zA-Z0-9,*]+])?(:\\*|:\\d+)?$");

private static final int DEFAULT_FACET_LIMIT = 50;

Expand Down

0 comments on commit 0fe7177

Please sign in to comment.