Hi all, I have a document with a name field like this: <field name='name'>MP3-Player, Apple, »iPod nano«, silber, 4GB</field>
and want to find "apple". Unfortunately, I only find "apple,"... Can anybody help me with this? The schema.xml containts the following field definition <field name="name" type="text" indexed="true" stored="true"/> and this fieldType definition for type text: <fieldtype name="text" class="solr.TextField" positionIncrementGap="100"> <analyzer type="index"> <tokenizer class="solr.WhitespaceTokenizerFactory"/> <filter class="solr.StopFilterFactory" ignoreCase="true" words="stopwords.txt"/> <filter class="solr.LowerCaseFilterFactory"/> <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.LowerCaseFilterFactory"/> <filter class="solr.EnglishPorterFilterFactory" protected="protwords.txt"/> <filter class="solr.RemoveDuplicatesTokenFilterFactory"/> </analyzer> </fieldtype> The default search field is "text": <defaultSearchField>text</defaultSearchField> with the following definition: <field name="text" type="text" indexed="true" stored="false" multiValued="true"/> and the copy from "name" to "text"... <copyField source="name" dest="text"/> Thanx in advance, cheers, Martin
signature.asc
Description: This is a digitally signed message part