public class NameUsageSearchRequest extends FacetedSearchRequest<NameUsageSearchParameter>
Modifier and Type | Class and Description |
---|---|
static class |
NameUsageSearchRequest.NameUsageQueryField |
FacetedSearchRequest.FacetParameters
SearchRequest.QueryField
Pageable.OffsetLimitParameters
Constructor and Description |
---|
NameUsageSearchRequest() |
NameUsageSearchRequest(long offset,
int limit) |
NameUsageSearchRequest(Pageable page) |
Modifier and Type | Method and Description |
---|---|
void |
addChecklistFilter(UUID datasetKey) |
void |
addExtinctFilter(boolean isExtinct) |
void |
addHabitatFilter(Habitat habitat) |
void |
addHigherTaxonFilter(int taxonKey) |
void |
addIssueFilter(NameUsageIssue issue) |
void |
addOriginFilter(Origin origin) |
void |
addRankFilter(Rank rank) |
void |
addTaxonomicStatusFilter(NomenclaturalStatus nomenclaturalStatus) |
void |
addTaxonomicStatusFilter(TaxonomicStatus status) |
void |
addThreatStatusFilter(ThreatStatus threat) |
Integer |
getHighlightContext() |
boolean |
isExtended()
Allows to request an extended search object with the larger list properties:
habitats
nomenclaturalStatus
threatStatuses
descriptions
vernacularNames
If extended=false and highlighting is activated, the highlighted matches will still be added to the extended properties.
|
void |
setExtended(boolean extended) |
void |
setHighlightContext(Integer highlightContext) |
addFacetPage, addFacets, getFacetLimit, getFacetMinCount, getFacetOffset, getFacetPage, getFacetPages, getFacets, isMultiSelectFacets, setFacetLimit, setFacetMinCount, setFacetOffset, setFacetPages, setFacets, setMultiSelectFacets
addParameter, addParameter, addParameter, addParameter, addParameter, addParameter, addParameter, addParameter, addParameter, addParameter, getHighlightFields, getParameters, getQ, getQFields, getSpellCheckCount, isHighlight, isSpellCheck, setHighlight, setHighlightFields, setParameters, setQ, setQFields, setSpellCheck, setSpellCheckCount, toString
addOffset, copyPagingValues, equals, getLimit, getOffset, hashCode, setLimit, setOffset
public NameUsageSearchRequest()
public NameUsageSearchRequest(Pageable page)
public NameUsageSearchRequest(long offset, int limit)
public Integer getHighlightContext()
public void setHighlightContext(Integer highlightContext)
public boolean isExtended()
public void setExtended(boolean extended)
public void addChecklistFilter(UUID datasetKey)
public void addExtinctFilter(boolean isExtinct)
public void addHigherTaxonFilter(int taxonKey)
public void addHabitatFilter(Habitat habitat)
public void addRankFilter(Rank rank)
public void addTaxonomicStatusFilter(TaxonomicStatus status)
public void addTaxonomicStatusFilter(NomenclaturalStatus nomenclaturalStatus)
public void addThreatStatusFilter(ThreatStatus threat)
public void addIssueFilter(NameUsageIssue issue)
public void addOriginFilter(Origin origin)
Copyright © 2024 Global Biodiversity Information Facility (GBIF). All rights reserved.