File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
backend/src/kitconcept/solr/services Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -178,10 +178,13 @@ def _base_query(
178178 f"OR default:{ term } OR body_text:{ term } OR SearchableText:{ term } "
179179 f"OR Subject:{ term } OR searchwords:({ term } )^1000) -showinsearch:False"
180180 ),
181+ "wt" : "json" ,
181182 "hl" : "true" if highlighting_utils .enabled else "false" ,
182183 "hl.fl" : highlighting_utils .fields ,
183184 "fq" : [security_filter ()],
184185 "fl" : solr_config .field_list ,
186+ "facet" : "true" ,
187+ "facet.contains.ignoreCase" : "true" ,
185188 "facet.field" : [
186189 f"{ self .facet_conditions .ex_field_facet (info ['name' ])} { info ['name' ]} "
187190 for info in facet_fields
Original file line number Diff line number Diff line change 187187 <str name =" echoParams" >explicit</str >
188188 <int name =" rows" >10</int >
189189 <str name =" df" >SearchableText</str >
190- <str name =" wt" >json</str >
191- <str name =" facet" >true</str >
192- <str name =" facet.contains.ignoreCase" >true</str >
190+ <str name =" wt" >xml</str >
193191 <str name =" spellcheck" >off</str >
194192 <str name =" spellcheck.build" >true</str >
195193 <str name =" spellcheck.dictionary" >spellWordbreak</str >
You can’t perform that action at this time.
0 commit comments