COLLECTION_NAME_query_rewrite
collection._query_rewrite
collection.Use query rewrites in the Rules Editor
q
parameter. For DSL requests this means a JSON string representing the main DSL query. .csv
file that contains your rules.Query rewrite jobs post-processing cleanup
delete_lowConf_synonyms.json
file.
<your query_rewrite_staging collection name/update>
in the uri field. An example URI value for an app called DC_Large
would be DC_Large_query_rewrite_staging/update
.id
field if applicable.<your query_rewrite_staging collection name/update>
in the ENDPOINT URI field. An example URI value for an app called DC_Large
would be DC_Large_query_rewrite_staging/update
.
<root><delete><query>type:synonym AND confidence: [0 TO 0.0005]</query></delete><commit/></root>
<root><delete><query>type:synonym</query></delete><commit/></root>
delete_lowConf_phrases.json
file.<your query_rewrite_staging collection name/update>
in the uri field. An example URI value for an app called DC_Large
would be DC_Large_query_rewrite_staging/update
.
<your query_rewrite_staging collection name/update>
in the ENDPOINT URI field. An example URI value for an app called DC_Large
would be DC_Large_query_rewrite_staging/update
.
<root><delete><query>type:phrase AND confidence: [0 TO <insert value>]</query></delete><commit/></root>
<root><delete><query>type:phrase</query></delete><commit/></root>
delete_lowConf_misspellings.json
file.
<your query_rewrite_staging collection name/update>
in the uri field. An example URI value for an app called DC_Large
would be DC_Large_query_rewrite_staging/update
.
<your query_rewrite_staging collection name/update>
in the ENDPOINT URI field. An example URI value for an app called DC_Large
would be DC_Large_query_rewrite_staging/update
.
<root><delete><query>type:spell AND confidence: [0 TO 0.5]</query></delete><commit/></root>
<root><delete><query>type:spell</query></delete><commit/></root>
delete_lowConf_headTail.json
file.
<your query_rewrite_staging collection name/update>
in the uri field. An example URI value for an app called DC_Large
would be DC_Large_query_rewrite_staging/update
.<your query_rewrite_staging collection name/update>
in the ENDPOINT URI field. An example URI value for an app called DC_Large
would be DC_Large_query_rewrite_staging/update
.<root><delete><query>type:tail</query></delete><commit/></root>