I think your problem is WordDelimiterFilterFactory. For reference, see: http://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters#solr.WordDelimiterFilterFactory
<http://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters#solr.WordDelimiterFilterFactory>As I understand it, your input name01 gets split into "name" and "01" given the parameters to WordDelimiterFactory at index time. Then, at query time, as Ankit said, wildcard queries aren't analyzed. So "name0*" looks for *single *terms that start with "name0". But you don't have any, so get no results As an aside, having different parameters for WordDelimiterFactory in your index and query clauses is just *asking* for trouble unless you thoroughly understand what the effects of the differences are (catenatewords and catenatenumbers are different). Setting CatenateAll=1 might bring you joy. But it begs the question whether you want WordDelimiterFilterFactory at all, but that depends on whether you ever want something like "name" to match "name01".... HTH Erick On Thu, Dec 17, 2009 at 3:02 PM, QBasti <sebastian.f...@gmail.com> wrote: > > Hey there, > > I put the complete configuration for the "text"-type fields (this field is > a > "text"-type) at the bottom. > but now it got me totally confused. i switched off the WordDelimiterFactory > and the index value is: > "Herrn AndererName09 NochmalName09", which is getting analysed into: > "herrn|anderername09|nochmalname09", my query therefore is: > "AndererName09", > which is getting analysed into "anderername09". > So the analyser even shows that there is a match! > But searching for that query returns no results? how can that be possible, > if it finds a match? > > here's the config (with WordDelimiterFactory still on:) hope it's not to > long > > > <fieldType name="text" class="solr.TextField" positionIncrementGap="100"> > <analyzer type="index"> > <tokenizer class="solr.WhitespaceTokenizerFactory"/> > <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" splitOnCaseChange="1"/> > <filter class="solr.LowerCaseFilterFactory"/> > <filter class="solr.EnglishPorterFilterFactory" > protected="protwords.txt"/> > <filter class="solr.RemoveDuplicatesTokenFilterFactory"/> > </analyzer> > <analyzer type="query"> > <tokenizer class="solr.WhitespaceTokenizerFactory"/> > <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="0" catenateNumbers="0" > catenateAll="0" splitOnCaseChange="1"/> > <filter class="solr.LowerCaseFilterFactory"/> > <filter class="solr.EnglishPorterFilterFactory" > protected="protwords.txt"/> > <filter class="solr.RemoveDuplicatesTokenFilterFactory"/> > </analyzer> > </fieldType> > > -- > View this message in context: > http://old.nabble.com/Simple-Wildcard-Search-Question-tp26747482p26834096.html > Sent from the Solr - User mailing list archive at Nabble.com. > >