Regarding being able to search SCHOLKOPF (o with no umlaut) and match
SCHÖLKOPF (with umlaut) try using the ISOLatin1AccentFilterFactory in your
analysis chain:

        <filter class="solr.ISOLatin1AccentFilterFactory" />

This filter removes accented chars and replaces them with non-accented
versions. As always, make sure to add it to the for both type "index" and
type "query".

-Jay

On Fri, Jun 5, 2009 at 11:10 PM, Shalin Shekhar Mangar <
shalinman...@gmail.com> wrote:

> On Sat, May 30, 2009 at 9:48 AM, revas <revas...@gmail.com> wrote:
>
> > Hi ,
> >
> > When i give a query like the following ,why does it become a phrase query
> > as shown below?
> > The field type is the default text field in the schema.
> >
> > <str name="querystring">volker-blanz</str>
> > <str name="parsedquery">PhraseQuery(content:"volker blanz")</str>
> >
>
> What is the query that was sent to Solr?
>
>
> > Also when i have special characters in the query as SCHÖLKOPF , i am not
> > able to convert the "o" with spl character  to lower case on my unix
> os/it
> > works fine on windows xp OS .Also if i have a spl character in my  query
> ,i
> > would like to search for it wihtout the special character as  SCHOLKOPF
> > ,this works fine in windows with strtr (string translate php fucntion)
> ,but
> > again not in windows OS.
> >
>
> Hmm, not sure. If you are using Tomcat, have you enabled UTF-8?
>
>
> http://wiki.apache.org/solr/SolrTomcat#head-20147ee4d9dd5ca83ed264898280ab60457847c4
>
> You can try using the analysis.jsp on the text field with this token and
> see
> how it is being analyzed. See if that gives some hints.
>
> --
> Regards,
> Shalin Shekhar Mangar.
>

Reply via email to