• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Which Elasticsearch Query Strings in Enhanced Search?

taylor_smith

Well-known member
#1
I see that elasticsearch has lots of query string options:

http://www.elasticsearch.org/guide/...nce/current/query-dsl-query-string-query.html

It also has some simple ones:

+ signifies AND operation
| signifies OR operation
- negates a single token
" wraps a number of tokens to signify a phrase for searching
* at the end of a term signifies a prefix query
( and ) signify precedence
~N after a word signifies edit distance (fuzziness)
~N after a phrase signifies slop amount

Which ones work in XenForo Enhanced Search?
 

Mike

XenForo developer
Staff member
#2
We use our own tokenizing system that doesn't change based on the search system. That said, we use + (default), - and |. Quotes work as does prefix matching. "(...)" doesn't work and I don't think ~# works.