solr Lucene Query Syntax Proximity search


Example

name:"john doe"~1

Searches for multiple terms within a specific term distance (~1), i.e will find text containing john anonymous doe but not john second name doe