public class SolrUtils extends Object
| Constructor and Description |
|---|
SolrUtils() |
| Modifier and Type | Method and Description |
|---|---|
static String |
getSortingField(int tag,
String propertyName)
Get the name of the field to be used for sorting a certain property
|
static CharSequence |
partialEscape(CharSequence s)
Escape a char sequence in order to make it usable within a Solr query
|
public static CharSequence partialEscape(CharSequence s)
s - the String to escapepublic static String getSortingField(int tag, String propertyName)
tag - the Type#tag of the given propertypropertyName - the name of the given propertyCopyright © 2012-2017 The Apache Software Foundation. All Rights Reserved.