Hi,

I'm having some problems understanding why certain search queries don't return 
any results.
I have a field of type "text", which is defined like this:

        <fieldType name="text" class="solr.TextField" 
positionIncrementGap="100">
            <analyzer type="index">
                <charFilter class="solr.HTMLStripCharFilterFactory"/> 
                <tokenizer class="solr.WhitespaceTokenizerFactory"/>
                <filter class="solr.ISOLatin1AccentFilterFactory"/> 
                <filter class="solr.StopFilterFactory" ignoreCase="true" 
words="stopwords.txt" enablePositionIncrements="true" />
                <filter class="solr.WordDelimiterFilterFactory" 
generateWordParts="1" generateNumberParts="1" catenateWords="1" 
catenateNumbers="1" catenateAll="0"/> 
                <filter class="solr.LowerCaseFilterFactory"/>
                <filter class="solr.SnowballPorterFilterFactory" 
language="German" />
                <filter class="solr.RemoveDuplicatesTokenFilterFactory"/>
            </analyzer>
            <analyzer type="query">
                <charFilter class="solr.HTMLStripCharFilterFactory"/> 
                <tokenizer class="solr.WhitespaceTokenizerFactory"/>
                <filter class="solr.ISOLatin1AccentFilterFactory"/>
                <filter class="solr.SynonymFilterFactory" 
synonyms="synonyms.txt" ignoreCase="true" expand="true"/>
                <filter class="solr.StopFilterFactory" ignoreCase="true" 
words="stopwords.txt"/>
                <filter class="solr.WordDelimiterFilterFactory" 
generateWordParts="1" generateNumberParts="1" catenateWords="1" 
catenateNumbers="1" catenateAll="0"/> 
                <filter class="solr.LowerCaseFilterFactory"/>
                <filter class="solr.SnowballPorterFilterFactory" 
language="German" />
                <filter class="solr.RemoveDuplicatesTokenFilterFactory"/>
            </analyzer>

I have a total of about 3.2 Million documents indexed, of which a few hundred 
are in the format of "Tagesergebnisse der Oddset-Spiele vom 18.02.2010". 

My problem is, that if I search for "oddset-spiele", i get no results, but when 
I search for "oddsetspiele" or "oddset*spiele" i get lots of results. As far as 
I understand the WordDelimiterFilter converts each phrase into "name:oddset 
(spiel oddsetspiel)", at least thats what the analyzer says. What I don't get 
ist hat when I search for "oddset-spiele" I get no results at all.

I would appreciate any help or insight anyone could privide.

Best
Jan

Reply via email to