Package org.ametys.cms.search.solr.field
Class DoubleSearchField
- java.lang.Object
 - 
- org.ametys.cms.search.solr.field.AbstractMetadataSearchField
 - 
- org.ametys.cms.search.solr.field.DoubleSearchField
 
 
 
- 
- All Implemented Interfaces:
 SearchField
public class DoubleSearchField extends AbstractMetadataSearchField
Double generic search field. 
- 
- 
Field Summary
- 
Fields inherited from class org.ametys.cms.search.solr.field.AbstractMetadataSearchField
_joinPaths, _path 
 - 
 
- 
Constructor Summary
Constructors Constructor Description DoubleSearchField(String path)Build a double search field.DoubleSearchField(List<String> joinPaths, String finalPath)Build a string search field. 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.- 
Methods inherited from class org.ametys.cms.search.solr.field.AbstractMetadataSearchField
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 Detail
- 
DoubleSearchField
public DoubleSearchField(String path)
Build a double search field.- Parameters:
 path- The field path.
 
- 
DoubleSearchField
public DoubleSearchField(List<String> joinPaths, String finalPath)
Build a string search field.- Parameters:
 joinPaths- The join field pathsfinalPath- The final field path.
 
 - 
 
- 
Method Detail
- 
_getSortFieldSuffix
protected String _getSortFieldSuffix()
Description copied from class:AbstractMetadataSearchFieldGet the sort field suffix corresponding to this field. Return null if not sortable.- Specified by:
 _getSortFieldSuffixin classAbstractMetadataSearchField- Returns:
 - the sort field suffix. Null if not sortable.
 
 
- 
_getFacetFieldSuffix
protected String _getFacetFieldSuffix()
Description copied from class:AbstractMetadataSearchFieldGet the facet field suffix corresponding to this field. Return null if not facetable.- Specified by:
 _getFacetFieldSuffixin classAbstractMetadataSearchField- Returns:
 - the facet field suffix. Null if not facetable.
 
 
 - 
 
 -