Request Structure
Full Text Index supports the JSON structure for the query request and the response.
This topic explains the JSON fields use in the query.
Json fields information of search request:
Field | Description |
---|---|
|
The query specific details. |
|
The number of results/hits requested related to pagination. |
|
Related to pagination, this field indicates the starting point in the sorted result set (according to the score by default) from which the “size” amount of hits are taken to display. |
|
if set true, the response will include additional search score explanations. |
|
Allows setting the additional highlighting on the result set of matching terms. |
|
The order by which the result set is sorted. |
|
The fields value to be included in a hit in the result set. The fields should be indexed. Example:
|
|
Aggregate information to be collected from the result set. Example:
|
|
Related to pagination, this field fetches the “size” number of results after the specified value in the sorted result set. |
|
Related to pagination, this field fetches the “size” number of results before the specified value in the sorted result set. |
|
Related to pagination, this field fetches the “size” number of results after the specified value in the sorted result set. |
|
Specifies the set of collections to which search would be limited. |
|
when set to true, this field returns the location of the occurrence of the search term in the document which has been hit. |