Also look at the admin/analysis page to see the effects
of various filters in your analysis chain. It's very likely
that the * is not even _in_ the index.

Here is a partial list of elements that _may_ be in your
analysis chain:
https://cwiki.apache.org/confluence/display/solr/Filter+Descriptions
and you're using some of them whether you know it
or not as the schemas that come with Solr for fields like
text_general etc. are composed of some of these.

Best,
Erick

On Fri, Feb 12, 2016 at 2:02 AM, Modassar Ather <modather1...@gmail.com> wrote:
> These special characters can be removed if at begging or end or can be
> taken care by the relevant filters depending on the schema defined.
> E.g "Audit"/*Audit should be searched by query Audit so I see no reason of
> indexing "/* of the content. You can use PatternReplaceFilter for replacing
> these special character.
> If the special character is in between a word E.g. Wi-Fi then these type of
> terms can be taken care by WordDelimiterFilter.
>
> Note that the special character handling may vary based on use cases.
>
> Best,
> Modassar
>
> On Fri, Feb 12, 2016 at 3:09 PM, Anil <anilk...@gmail.com> wrote:
>
>> Thanks for quick response.
>>
>> Should these be treated differently during index ?
>>
>> I have tried *\"Audit* which is returning results of *Audit *also which is
>> incorrect. what do you say ?
>>
>> On 12 February 2016 at 15:07, Modassar Ather <modather1...@gmail.com>
>> wrote:
>>
>> > You can search them by escaping with backslash.
>> >
>> > Best,
>> > Modassar
>> >
>>

Reply via email to