StandardAnalyzer
is sensitive to whitespace, among other delimiters. That is, it tokenizes the search term into three tokens:
( Lorem, ipsum, dolor )
But you indexed field title
using Field.Index.NOT_ANALYZED
so none of the three tokens above can match the single token in this field:
( Lorem ipsum dolor )
Use KeywordAnalyzer
, which tokenizes the entire field value as a single token. As always, you need to use the same analyzer for both indexing and searching.