Escape Query

Escape special characters in a query.

This stage is used in the default query pipeline that enables Smart Answers. See Detailed Pipeline Setup for configuration guidelines. In the Smart Answers use case, queries are natural-language questions. They tend to be longer than regular queries and with punctuation which we don’t want to interpret as Lucene/Solr query operators.