In Lucene, using a Standard Analyzer, I want to make fields with spaces and special characters searc

Posted by Matt on Stack Overflow See other posts from Stack Overflow or by Matt
Published on 2010-03-29T19:55:05Z Indexed on 2010/03/29 20:23 UTC
Read the original article Hit count: 288

Filed under:

In Lucene, using a Standard Analyzer, I want to make fields with spaces and special characters(underscore,!,@,#,....) searchable.

I set IndexField to NOT_ANALYZED_NO_NORMS and Field.Store.YES

When I look at my index in LUKE, the fields are as I expected, a value such as:

'SKU Number', yet when I search for 'SKU' or 'SKU*' nothing comes up.

What am I missing?

© Stack Overflow or respective owner

Related posts about lucene