Apache Lucene open-source search software
SOLR-12136: Document hl.q parameter, plus fixed minor typo in json faceting
Erick Erickson08686038e137
diff --git a/solr/solr-ref-guide/src/highlighting.adoc b/solr/solr-ref-guide/src/highlighting.adocindex ce60c592c89..7d96673bf78 100644--- a/solr/solr-ref-guide/src/highlighting.adoc+++ b/solr/solr-ref-guide/src/highlighting.adoc@@ -46,6 +46,8 @@ When not defined, the defaults defined for the `df` query parameter will be usedA query to use for highlighting. This parameter allows you to highlight different terms than those being used to retrieve documents.+When not defined, the query defined with the `q` parameter will the used.+++When `hl.qparser` is not defined, the query parser defined with the `defType` query parameter will be used and terms will be analyzed using those rules. This behavior can be overridden by specifying a field, for example: `hl.q=field:term`.`hl.qparser`::The query parser to use for the `hl.q` query.diff --git a/solr/solr-ref-guide/src/json-facet-api.adoc b/solr/solr-ref-guide/src/json-facet-api.adocindex 0834d46d4cd..90e197ef55a 100644--- a/solr/solr-ref-guide/src/json-facet-api.adoc+++ b/solr/solr-ref-guide/src/json-facet-api.adoc@@ -155,9 +155,12 @@ The terms facet (or field facet) buckets the domain based on the unique terms /----curl http://localhost:8983/solr/techproducts/query -d 'q=*:*&json.facet={- categories:{ terms: {- field : cat, // bucket documents based on the "cat" field- limit : 5 // retrieve the top 5 buckets ranked by the number of docs in each bucket+ categories:{+ terms: {+ field : cat, // bucket documents based on the "cat" field+ limit : 5 // retrieve the top 5 buckets ranked by the number of docs in each bucket+ }+ }}'----