This project is read-only.

Lucene search doesn't match phrases?

Topics: Core, Troubleshooting
Aug 6, 2013 at 11:58 PM
I received a question today from a client asking if we could make phrases inside quotes match exactly, like Google. I was confused at first because I assumed that this was the default behavior in Lucene queries using the classic query parser:

It turns out, using quotes to match phrases doesn't do anything. Some of the other syntax here does work, like using "(term) NOT (term)".

Anyone know if this is possible?