For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending .md to page URLs.
Skip to content

Solr Facets

solrFacets

autoComplete SolrFacet

get

Autocomplete options from a Solr JSON facet. Native maarg port of the OMS AutoCompleteSolrFacet screen: the facet definition named facetToSelect is taken from the facet block of jsonQuery when the caller predefines it there, otherwise from the merged component solr/{solrVersion}/Facets.json files (keyed coreName → docType → facet name, merged and cached like schema.json). An edismax fq is built from searchfield × term tokens and the facet is executed with rows=0 via co.hotwax.solr.SolrQuery. The response is the same [{id, label, value}] list the OMS endpoint returned.

Authorizations
AuthorizationstringRequired
Query parameters
facetToSelectstringOptional
coreNamestringOptional
collectionNamestringOptional
docTypestringOptional
searchfieldstringOptional
jsonQuerystringOptional
noConditionFindstringOptional
limitstringOptional
qstringOptional
termstringOptional
offsetstringOptional
Responses
200

Success

application/json
responsearrayOptional
get/solrFacets
GET /rest/s1/admin/solrFacets HTTP/1.1
Host: dev-maarg.hotwax.io
Authorization: Basic username:password
Accept: */*
{
  "response": []
}

Last updated

Was this helpful?