Depending on what details you want Klevu Search servers to return in a response to your query, you can use one of the following API methods to search in your index.
- If you need only a list of IDs (of records) relevant to your query, use the ID Search method.
- In addition to IDs, if you want Klevu Search to return other details of the matching records as well, use the Record Search method.
Both, the ID Search and the Record Search methods, have parameters that allow you to fetch facets as well as autosuggestions.
- You must have your Klevu JS API Key and the domain URL of the cloud host hosting your search (i.e. cloudSearchHostURL). Please write to us at firstname.lastname@example.org if you do not have this information.
See the individual API methods for more details.