Package org.tailormap.api.viewer.model
Class SearchResponse
java.lang.Object
org.tailormap.api.viewer.model.SearchResponse
- All Implemented Interfaces:
Serializable
@Generated(value="org.openapitools.codegen.languages.SpringCodegen",
comments="Generator version: 7.10.0")
public class SearchResponse
extends Object
implements Serializable
A -possibly empty- list of search documents that fulfill the requested conditions and some metadata.
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddDocumentsItem
(SearchDocument documentsItem) documents
(List<@Valid SearchDocument> documents) boolean
@Valid @Size(min=0) List<@Valid SearchDocument>
list of search documents.the maximum score of the search documents.@Min(0L) Long
getStart()
requested start point, this will allow the client to request the next or previous page by adding or removing 1 or more.getTotal()
the total number of available search documents, could be an estimated value.int
hashCode()
void
setDocuments
(List<@Valid SearchDocument> documents) void
setMaxScore
(Float maxScore) void
void
toString()
-
Constructor Details
-
SearchResponse
public SearchResponse()
-
-
Method Details
-
start
-
getStart
requested start point, this will allow the client to request the next or previous page by adding or removing 1 or more. See also https://solr.apache.org/guide/solr/latest/query-guide/common-query-parameters.html#start-parameter minimum: 0- Returns:
- start
-
setStart
-
total
-
getTotal
the total number of available search documents, could be an estimated value.- Returns:
- total
-
setTotal
-
maxScore
-
getMaxScore
the maximum score of the search documents. Commonly `null` for wildcard searches as these are filters and don't score.- Returns:
- maxScore
-
setMaxScore
-
documents
-
addDocumentsItem
-
getDocuments
list of search documents. When the pagenumber*pagesize exceeds the number of documents this list will be empty- Returns:
- documents
-
setDocuments
-
equals
-
hashCode
public int hashCode() -
toString
-