quickwit-oss / tantivy

Tantivy is a full-text search engine library inspired by Apache Lucene and written in Rust
MIT License
11.41k stars 627 forks source link

allow escape in query string outside of quotes #2415

Closed trinity-1686a closed 1 month ago

trinity-1686a commented 1 month ago

abc\:def is currently a syntax error. We should probably allow this, and consider it to be a UserInputLiteral(field_name=None, phrase="abc:def", delimiter: None). This doesn't add anything we couldn't already do with simple quotes, but is something a person trying to query tantivy/quickwit could reasonably try.