You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Neelesh <ne...@gmail.com> on 2013/03/04 05:58:29 UTC

Re: Backtick character in field values, and results

Thank you! This saved me a lot of trouble!


On Thu, Feb 28, 2013 at 4:39 AM, Erick Erickson <er...@gmail.com>wrote:

> ICUFoldingFilterFactory is "folding" the backtick (grave accent).
>
> See admin/analysis page, it's a lifesaver in these situations!
>
> Best
> Erick
>
>
> On Fri, Feb 22, 2013 at 3:46 PM, Neelesh <ne...@gmail.com> wrote:
>
> > With a text_unbroken field
> > <fieldType name="text_unbroken" class="solr.TextField" omitNorms="true"
> > omitTermFreqAndPositions="true"> <analyzer> <tokenizer class=
> > "solr.KeywordTokenizerFactory" /> <filter class=
> > "solr.ICUFoldingFilterFactory" /> </analyzer> </fieldType>
> > A query like
> > field:Hello` matches both "Hello" and "Hello`". This does not happen with
> > something like +. That is,
> > field:Hello+ does not match "Hello", but only matches "Hello+"
> > Is there something special about backticks? Are there more such really
> > special characters?
> >
> > Thanks!
> > -neelesh
> >
>