how this cache works ? i mean cache key ? is 'red ...
# community-help
m
how this cache works ? i mean cache key ? is 'red shirts' and 'affordable red shirts' are return same result ? as it's a NLP based query , user's are search same meaning text into different format
@Kishore Nallan
j
This is the prompt cache, and doesn't include the search term
The prompt essentially includes the collection schema, facet field values, etc
So the cache key is simply the collection name
m
collection is not update frequently and on update command the prompt can be update by it's own. then what is the use case ? after default 24h it will again update the prompt and again set 24h cache, right ?
j
This is to cache between search requests, so we don't have to count facet values to put in the prompt on every search