We are developing an application that needs to populate the tag parameter in the search options with all the literal values from tags
field in cloudsearch (multi-valued literals).
tags
field is a faceted index that I would like to fetch its values without defining q
parameter value in my query. Is that ever possible?
The query term is always required but you can use the matchall
operator with the structured parser to match all documents ( docs ), eg
?q=matchall&q.parser=structured&facet.tags={}&size=0
That will give the facets for tags
across all documents in your index.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.