Hi Jack,
Yes String works fine, I forgot to restart my solr server after changing
my schema.xml...arrf.....I'm so stupid sorry !
Le 23/10/2013 20:09, Jack Krupansky a écrit :
Trailing wildcard should work fine for strings, but "a23*" will not
match "A23*" due to case. You could use the keyword tokenizer plus the
lower case filter.
-- Jack Krupansky
-----Original Message----- From: Bruno Mannina
Sent: Wednesday, October 23, 2013 1:54 PM
To: solr-user@lucene.apache.org
Subject: What is the right fieldType for this kind of field?
Dear,
Data look likes:
<str>A23L1/22066</str>
<str>A23L1/227</str>
<str>A23L1/231</str>
<str>A23L1/2375</str>
I tried:
- String
but I can't search with troncation (i.e. A23*)
- Text_General
but as my code contains / then data are splitted...
What kind of field must choose to use truncation and consider code with
/ as one term?
thanks a lot for your help,
Bruno