Uses of Interface
io.goobi.viewer.model.search.IFacetItem
-
Uses of IFacetItem in io.goobi.viewer.managedbeans
Modifier and TypeMethodDescriptionSearchBean.getStaticFacets
(String field, String subQuery, Integer resultLimit, Boolean reverseOrder) Returns a list of FilterLink elements for the given field over all documents in the index (optionally filtered by a subquery). -
Uses of IFacetItem in io.goobi.viewer.model.search
Modifier and TypeMethodDescriptionGeoFacetItem.setCount
(long count) IFacetItem.setCount
(long count) FacetItem.setGroup
(boolean group) GeoFacetItem.setGroup
(boolean group) IFacetItem.setGroup
(boolean group) Modifier and TypeMethodDescriptionstatic List<IFacetItem>
FacetItem.generateFacetItems
(String field, Map<String, Long> values, boolean sort, boolean reverseOrder, boolean hierarchical) Constructs a list of FilterLink objects for faceting.static List<IFacetItem>
FacetItem.generateFilterLinkList
(List<IFacetItem> existingFacetsItems, String field, FacetSorting.SortingMap<String, Long> values, boolean hierarchical, int groupToLength, Map<String, String> labelMap) Constructs facet items from the list of given field:value combinations.SearchFacets.getActiveFacets()
Getter for the fieldactiveFacets
.SearchFacets.getActiveFacetsForField
(String field) Returns a list of FacetItem objects inactiveFacets
where the field name matches the given field name.SearchFacets.getAllAvailableFacets()
Returns configured facet fields of regular and hierarchical type only.SearchFacets.getAvailableFacets()
Getter for the fieldavailableFacets
.SearchFacets.getAvailableFacetsForField
(String field, boolean excludeSelected) SearchFacets.getLimitedFacetListForField
(String field) Returns a collapsed sublist of the available facet elements for the given field.Modifier and TypeMethodDescriptionint
FacetItemAlphanumComparator.compare
(IFacetItem o1, IFacetItem o2) Deprecated.boolean
SearchFacets.isFacetCurrentlyUsed
(IFacetItem facet) Checks whether the given facet is currently in use.Modifier and TypeMethodDescriptionstatic List<IFacetItem>
FacetItem.generateFilterLinkList
(List<IFacetItem> existingFacetsItems, String field, FacetSorting.SortingMap<String, Long> values, boolean hierarchical, int groupToLength, Map<String, String> labelMap) Constructs facet items from the list of given field:value combinations.SearchHelper.searchAutosuggestion
(String suggest, List<IFacetItem> currentFacets) search method for auto suggestion First search in field "DEFAULT" and analyze values tokenized, check with startsWith Then search in field "TITLE" and check with contains