lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gateway0 <>
Subject Re: Solr failing on "y" charakter in string?
Date Mon, 03 Aug 2009 13:28:10 GMT

Ok still not working with new field "text_two":
"<str name="q">text:"Har*" text_two:"Har*"</str>"
==> result 0

Schema Updates:
<fieldType name="text_two" class="solr.TextField"
      <analyzer type="index">
      	<tokenizer class="solr.LowerCaseTokenizerFactory"/>
        <filter class="solr.LowerCaseFilterFactory"/>
	  <analyzer type="query">
	  	<tokenizer class="solr.LowerCaseTokenizerFactory"/>
	  	<filter class="solr.LowerCaseFilterFactory"/>

<field name="text_two" type="text_two" indexed="true" stored="false"

<copyField source="text" dest="text_two"/>

This is what you suggested, right?

kind regards, S.

gateway0 wrote:
> Hi,
> I have the following setting:
> schema.xml:
> "<field name="kunde" type="text" indexed="true" stored="true" />"
> the "text" field-type was updated with the "preserveOriginal=1" option in
> the schema
> I have the following string indexd in the field "kunde"
> "Harry Heim KG"
> Now when I search for "kunde:harry*" it gives me an empty result.
> When I search for "kunde:harry" I get the right result. Also "kunde:harr*"
> works just fine.
> The strange thing is that with every other string (for example
> "kunde:heim*") I will get the right result. 
> So why not on "harry*" with an "y*" at the end?
> kind regards, S.

View this message in context:
Sent from the Solr - User mailing list archive at

View raw message