Package org.ametys.cms.search.solr.field
Class TagSearchField
- java.lang.Object
-
- org.ametys.cms.search.solr.field.AbstractNoJoinSystemSearchField
-
- org.ametys.cms.search.solr.field.TagSearchField
-
- All Implemented Interfaces:
SearchField
public class TagSearchField extends AbstractNoJoinSystemSearchField
Tags search field.
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean
_autoposting
True to include all hierarchy, false otherwise.
-
Constructor Summary
Constructors Constructor Description TagSearchField()
Build a tag search field with no autopostingTagSearchField(boolean withAutoposting)
Build a tag search field.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getFacetField()
Get the facet field corresponding to this field.String
getName()
Get the search field name.String
getSortField()
Get the sort field corresponding to this field.-
Methods inherited from class org.ametys.cms.search.solr.field.AbstractNoJoinSystemSearchField
getJoinedPaths, 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
-
-
-
-
Field Detail
-
_autoposting
protected boolean _autoposting
True to include all hierarchy, false otherwise.
-
-
Constructor Detail
-
TagSearchField
public TagSearchField()
Build a tag search field with no autoposting
-
TagSearchField
public TagSearchField(boolean withAutoposting)
Build a tag search field.- Parameters:
withAutoposting
-true
to search with autoposting.
-
-
Method Detail
-
getName
public String getName()
Description copied from interface:SearchField
Get the search field name.- Returns:
- The search field name.
-
getSortField
public String getSortField()
Description copied from interface:SearchField
Get the sort field corresponding to this field.- Returns:
- The sort field.
-
getFacetField
public String getFacetField()
Description copied from interface:SearchField
Get the facet field corresponding to this field.- Returns:
- The facet field.
-
-