Jan,

If you go to Solr Admin Analysis page and enter your problematic query, what do 
you see?

 Otis
----
Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch
Hadoop ecosystem search :: http://search-hadoop.com/



----- Original Message ----
> From: Jan Simon Winkelmann <winkelm...@newsfactory.de>
> To: "solr-user@lucene.apache.org" <solr-user@lucene.apache.org>
> Sent: Wed, February 24, 2010 7:00:02 AM
> Subject: Strange search behavior
> 
> 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:
> 
>         
> positionIncrementGap="100">
>             
>                 
>                 
>                 
>                 
> words="stopwords.txt" enablePositionIncrements="true" />
>                 
> generateWordParts="1" generateNumberParts="1" catenateWords="1" 
> catenateNumbers="1" catenateAll="0"/> 
>                 
>                 
> language="German" />
>                 
>             
>             
>                 
>                 
>                 
>                 
> synonyms="synonyms.txt" ignoreCase="true" expand="true"/>
>                 
> words="stopwords.txt"/>
>                 
> generateWordParts="1" generateNumberParts="1" catenateWords="1" 
> catenateNumbers="1" catenateAll="0"/> 
>                 
>                 
> language="German" />
>                 
>             
> 
> 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