Package io.goobi.viewer.model.maps
Class SearchResultFeatureSet
java.lang.Object
io.goobi.viewer.model.maps.FeatureSet
io.goobi.viewer.model.maps.SolrFeatureSet
io.goobi.viewer.model.maps.SearchResultFeatureSet
- All Implemented Interfaces:
Serializable
A
SolrFeatureSet that derives its geo map features from the current search result set by using the active search query from the
SearchBean.- See Also:
-
Field Summary
Fields inherited from class io.goobi.viewer.model.maps.SolrFeatureSet
featuresAsString, MAX_RECORD_HITSFields inherited from class io.goobi.viewer.model.maps.FeatureSet
DEFAULT_MARKER_NAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncopy()Encodes the current search's facet/filter queries (seegetSearchFilterQueries(SearchBean)) as a single Solr filter query to be sent along with heatmap requests, so heatmap results are restricted the same way as the regular, non-heatmap feature list.getFeaturesAsJsonString(SearchBean searchBean) getFeaturesAsString(SearchBean searchBean) getType()Methods inherited from class io.goobi.viewer.model.maps.SolrFeatureSet
combineFeatures, createFeatures, createFeatures, createFeaturesAsString, getCoordinateSearchQueryTemplate, getItemFilter, getItemFilterName, getItemMetadataList, getMarkerGeneration, getMarkerMetadataList, getMarkerTitleField, getSearchScope, getSolrQuery, getSolrQuery, getSolrQueryEncoded, getSolrQueryForSearch, getSolrQueryForSearch, getSolrQueryForSearchEncoded, hasFeatures, hasSolrQuery, isAggregateResults, isQueryResultSet, isUseHeatmap, setFeaturesAsString, setItemFilterName, setItemMetadataList, setMarkerGeneration, setMarkerMetadataList, setMarkerTitleField, setSearchScope, setSolrQuery, setUseHeatmap, updateFeaturesMethods inherited from class io.goobi.viewer.model.maps.FeatureSet
getColor, getFillOpacity, getId, getMarker, getMarkerAsJSON, getName, setId, setMarker, setName
-
Constructor Details
-
SearchResultFeatureSet
public SearchResultFeatureSet() -
SearchResultFeatureSet
-
-
Method Details
-
getFeaturesAsString
- Overrides:
getFeaturesAsStringin classSolrFeatureSet- Throws:
PresentationException
-
getFeaturesAsJsonString
- Overrides:
getFeaturesAsJsonStringin classSolrFeatureSet- Throws:
PresentationException
-
getFeaturesAsString
- Throws:
PresentationException
-
getFeaturesAsJsonString
- Throws:
PresentationException
-
getFacetQueryEncoded
Encodes the current search's facet/filter queries (seegetSearchFilterQueries(SearchBean)) as a single Solr filter query to be sent along with heatmap requests, so heatmap results are restricted the same way as the regular, non-heatmap feature list.- Overrides:
getFacetQueryEncodedin classSolrFeatureSet- Returns:
- URL-encoded filter query; empty string if none applies
-
getType
- Overrides:
getTypein classSolrFeatureSet
-
copy
- Overrides:
copyin classSolrFeatureSet
-