Package org.ametys.cms.search.solr.field
Class DateSearchField
java.lang.Object
org.ametys.cms.search.solr.field.AbstractModelItemSearchField
org.ametys.cms.search.solr.field.DateSearchField
- All Implemented Interfaces:
SearchField
Date generic search field.
-
Field Summary
Fields inherited from class org.ametys.cms.search.solr.field.AbstractModelItemSearchField
_joinPaths, _path
-
Constructor Summary
ConstructorDescriptionDateSearchField
(String path) Build a date search field.DateSearchField
(List<String> joinPaths, String finalPath) Build a date search field. -
Method Summary
Methods inherited from class org.ametys.cms.search.solr.field.AbstractModelItemSearchField
getFacetField, getJoinedPaths, getName, getSortField, isJoined
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.ametys.cms.search.SearchField
getFacetFunction
-
Constructor Details
-
DateSearchField
Build a date search field.- Parameters:
path
- The field path.
-
DateSearchField
Build a date search field.- Parameters:
joinPaths
- The join field pathsfinalPath
- The final field path.
-
-
Method Details
-
_getSortFieldSuffix
Description copied from class:AbstractModelItemSearchField
Get the sort field suffix corresponding to this field. Return null if not sortable.- Specified by:
_getSortFieldSuffix
in classAbstractModelItemSearchField
- Returns:
- the sort field suffix. Null if not sortable.
-
_getFacetFieldSuffix
Description copied from class:AbstractModelItemSearchField
Get the facet field suffix corresponding to this field. Return null if not facetable.- Specified by:
_getFacetFieldSuffix
in classAbstractModelItemSearchField
- Returns:
- the facet field suffix. Null if not facetable.
-