public class MultilingualStringSearchField extends AbstractMetadataSearchField
Modifier and Type | Field and Description |
---|---|
private Optional<Context> |
_context |
_joinPaths, _path
Constructor and Description |
---|
MultilingualStringSearchField(List<String> joinPaths,
String finalPath,
Optional<Context> context)
Build a multilingual string search field.
|
MultilingualStringSearchField(String path,
Optional<Context> context)
Build a multilingual string search field.
|
Modifier and Type | Method and Description |
---|---|
protected String |
_getFacetFieldSuffix()
Get the facet field suffix corresponding to this field.
|
protected String |
_getSortFieldSuffix()
Get the sort field suffix corresponding to this field.
|
protected static Optional<String> |
getCurrentLanguage(Optional<Context> context)
Gets the current language
|
getFacetField, getJoinedPaths, getName, getSortField, isJoined
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getFacetFunction
public MultilingualStringSearchField(String path, Optional<Context> context)
path
- The field path.context
- The contextprotected String _getSortFieldSuffix()
AbstractMetadataSearchField
_getSortFieldSuffix
in class AbstractMetadataSearchField
protected static Optional<String> getCurrentLanguage(Optional<Context> context)
context
- The contextprotected String _getFacetFieldSuffix()
AbstractMetadataSearchField
_getFacetFieldSuffix
in class AbstractMetadataSearchField