SearchStax Help Center


Tuning Smart Answers

The SearchStax Site Search solution’s Smart Answers feature utilizes AI to provide clear, summarized responses to user questions based on the content available on a website. It is triggered when a user enters a question rather than a keyword or phrase.

The AI analysis is based on the textual content of the best matching documents returned by a Solr keyword search on the question. This means that the Smart Answer is influenced by settings that impact this set of documents:

  • Search refinements that change the result set, such as altering the list of search fields, can change the Smart Answer for that question.
  • Changes in the content of the matching documents, such as altering the list of results fields, may also have an impact on the Smart Answer for that question.

The Smart Answer AI analysis of the documents is expensive, so Site Search caches the result and reuses it when the question appears again. The cache refreshes every 24 hours. This is efficient, but it can be inconvenient when you are looking for changes in the Smart Answer response.

Fortunately, the Site Search Smart Answers API lets you issue a simple cURL command to generate a fresh Smart Answer. Run this in a Linux Bash shell or a Windows PowerShell environment:

curl -X GET \
  "https://search-ai-us.searchstax.com/api/v1/1234/answer/?q=What%20is%20solr%3F&language=en&ignore_cache=true" \
  -H "authorization: Token <Read_Only_Token>" \
  -H "Accept: text/event-stream"

This ignore_cache parameter bypasses the cache and generates the current Smart Answer response.

Questions?

Do not hesitate to contact the SearchStax Support Desk.


Return to Frequently Asked Questions.