Yes, that blog post appears to use the proper technique for case insensitive string fields.

The so-called "keyword" tokenizer merely treats the whole string value as a single token (AKA keyword) and does NOT do any further tokenization.

-- Jack Krupansky

-----Original Message----- From: Bruno Mannina
Sent: Wednesday, October 23, 2013 4:57 PM
To: solr-user@lucene.apache.org
Subject: Re: What is the right fieldType for this kind of field?

Le 23/10/2013 22:49, Bruno Mannina a écrit :
Le 23/10/2013 22:44, Bruno Mannina a écrit :
Le 23/10/2013 20:09, Jack Krupansky a écrit :
You could use the keyword tokenizer plus the lower case filter.
Jack,

Could you help me to write the right fieldType please?
(index and query)

Another thing, I don't know if I must use the Keyword tokenizer because codes contain "/" char,
and Tokenizer seems split code no ?

Many thanks,

Bruno


may be an answer (i don't tested yet)

http://pietervogelaar.nl/solr-3-5-search-case-insensitive-on-a-string-field-for-exact-match/


ok it works fine !

Reply via email to