The "Whitespace Tokenizer" does this. It breaks everything apart only
by space, tabs and newlines. You can use this whitespace tokenizer in
the query stack of your field type.

Another option is to create a regular expression CharFilter that turns
non-* into non*.

On Mon, Jul 23, 2012 at 7:10 PM, Li, Qiang <qiang...@msci.com> wrote:
> Hi All,
>
> I want to search some keywords like "Non-taxable", which has a "-" in the 
> word. Can I make it working in Solr by some configuration? Or any other ways?
>
> Thanks & Regards,
> Ivan
>
> This email message and any attachments are for the sole use of the intended 
> recipients and may contain proprietary and/or confidential information which 
> may be privileged or otherwise protected from disclosure. Any unauthorized 
> review, use, disclosure or distribution is prohibited. If you are not an 
> intended recipient, please contact the sender by reply email and destroy the 
> original message and any copies of the message as well as any attachments to 
> the original message. Local registered entity information: 
> http://www.msci.com/legal/local_registered_entities.html



-- 
Lance Norskog
goks...@gmail.com

Reply via email to