Hello,

I am working on simple prototype using solr but I did not figure out how to
configure solr to give me the right results.

for example if I use this field:

<fieldType name="sng.text" class="solr.TextField"
positionIncrementGap="100">

                <analyzer>
                        <tokenizer class="solr.WhitespaceTokenizerFactory"/>
                        <filter class="solr.SynonymFilterFactory" 
synonyms="synonyms.txt"
ignoreCase="true" expand="true"/>
                        <filter class="solr.StopFilterFactory"
                                ignoreCase="true"
                                words="stopwords.txt"
                                enablePositionIncrements="true"
                                />
                        <filter class="solr.WordDelimiterFilterFactory" 
generateWordParts="1"
generateNumberParts="1" catenateWords="0" catenateNumbers="0"
catenateAll="0" splitOnCaseChange="1"/>
                        <filter class="solr.LowerCaseFilterFactory"/>
                        <filter 
class="solr.RemoveDuplicatesTokenFilterFactory"/>
                 </analyzer>

        </fieldType>



and put 'Koller, Julo' into this field

then get this results

PASSED: search("koller")
PASSED: search("julo")
PASSED: search("KOLLER")
PASSED: search("JULO")
PASSED: search("Koller")
PASSED: search("Julo")
PASSED: search("kolle*")
PASSED: search("jul*")
FAILED: search("KOLLE*")
java.lang.AssertionError: trying found KOLLE* in Koller, Julo expected:<0>
but was:<1>
FAILED: search("JUL*")
java.lang.AssertionError: trying found JUL* in Koller, Julo expected:<0> but
was:<1>
FAILED: search("Kolle*")
java.lang.AssertionError: trying found Kolle* in Koller, Julo expected:<0>
but was:<1>
FAILED: search("Jul*")
java.lang.AssertionError: trying found Jul* in Koller, Julo expected:<0> but
was:<1>

Why wildcard with at least one capital letters does not work.

thanks in advance

Peter
-- 
View this message in context: 
http://www.nabble.com/wildcard-with-capital-letters-tp21475396p21475396.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to