Answered
Verity Status Structure Keys
How do I go about accessing the verity status structure keys?
There is mention of this in the CF Documenation, but no example of
how to dump or show the results.
The keys are:
found - The number of documents that contain the search criteria.
searched - The number of documents searched. Corresponds to the recordsSearched column in the search results.
time - The number of milliseconds the search took, as reported by the Verity K2 search service.
suggestedQuery - An alternative query, as suggested by Verity, that might produce better results. This often contains corrected spellings of search terms. Present only when the suggestions tag attribute criteria is met.
keywords - A structure containing each search term as a key to an array of up to five possible alternative terms, in order of preference. Present only when the suggestions attribute criteria is met.
keywordScore - A structure in the same format as for keywords, except it also includes Verity-reported weighted values from 0 to .99, in which higher scores indicate better-quality results.
The keys are:
found - The number of documents that contain the search criteria.
searched - The number of documents searched. Corresponds to the recordsSearched column in the search results.
time - The number of milliseconds the search took, as reported by the Verity K2 search service.
suggestedQuery - An alternative query, as suggested by Verity, that might produce better results. This often contains corrected spellings of search terms. Present only when the suggestions tag attribute criteria is met.
keywords - A structure containing each search term as a key to an array of up to five possible alternative terms, in order of preference. Present only when the suggestions attribute criteria is met.
keywordScore - A structure in the same format as for keywords, except it also includes Verity-reported weighted values from 0 to .99, in which higher scores indicate better-quality results.
