lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andreas Owen">
Subject RE: search with wildcard
Date Thu, 21 Nov 2013 15:22:38 GMT
I suppose i have to create another field with diffenet tokenizers and set
the boost very low so it doesn't really mess with my ranking because there
the word is now in 2 fields. What kind of tokenizer can do the job?


From: Andreas Owen [] 
Sent: Donnerstag, 21. November 2013 16:13
Subject: search with wildcard


I am querying "test" in solr 4.3.1 over the field below and it's not finding
all occurences. It seems that if it is a substring of a word like
"Supertestplan" it isn't found unless I use a wildcards "*test*". This is
write because of my tokenizer but does someone know a way around this? I
don't want to add wildcards because that messes up queries with multiple


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


        <tokenizer class="solr.StandardTokenizerFactory"/>

        <filter class="solr.LowerCaseFilterFactory"/>


        <filter class="solr.StopFilterFactory" ignoreCase="true"
words="lang/stopwords_de.txt" format="snowball"
enablePositionIncrements="true"/> <!-- remove common words -->

        <filter class="solr.GermanNormalizationFilterFactory"/>

class="solr.SnowballPorterFilterFactory" language="German"/> <!-- remove
noun/adjective inflections like plural endings -->




  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message