lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aman Deep Singh <amandeep.coo...@gmail.com>
Subject Re: Case sensitive synonym value
Date Thu, 10 Aug 2017 02:57:07 GMT
Yes,
Ignore case is set to true and it is working fine


On 10-Aug-2017 12:43 AM, "Erick Erickson" <erickerickson@gmail.com> wrote:

You set ignoreCase="true" though, right?

On Wed, Aug 9, 2017 at 8:39 AM, Aman Deep Singh
<amandeep.cool99@gmail.com> wrote:
> Hi Erick,
> I tried even before going to lowercase factory value is in lowercase
>
> this is the analysis tab result for the query  iwatch
> where {"iwatch":["iWatch","appleWatch"]} is configured in managed synonym
> ST
> iwatch
> SF
> *applewatch*
> *iwatch*
> PRF
> applewatch
> iwatch
> PRF
> applewatch
> iwatch
> WDF
> applewatch
> iwatch
> LCF
> applewatch
> iwatch
>
> Thanks,
> Aman Deep Singh
>
> On 09-Aug-2017 8:46 PM, "Erick Erickson" <erickerickson@gmail.com> wrote:
>
>> Admin/analysis is a good place to start figuring this out. For
>> instance, do you have lowerCaseFilter configured in your analysis
>> chain somewhere that's doing the conversion?
>>
>> Best,
>> Erick
>>
>> On Wed, Aug 9, 2017 at 5:34 AM, Aman Deep Singh
>> <amandeep.cool99@gmail.com> wrote:
>> > Hi,
>> > I'm trying to use the ManagedSynonyms with *ignoreCase=true*
>> > It is working fine for the identifying part but the problem comes in
>> > synonym value
>> > Suppose i have a synonym *iwatch ==>appleWatch,iWatch*
>> > If the user query is *iwatch (in any case)*  it was identifying the
>> synonym
>> > and replace the token with *applewatch and iwatch*  (in
lowercase),which
>> i
>> > didn't want
>> > I need the synonyms to comes with the same case what i have configured
>> > i.e. *appleWatch and iWatch*
>> > Any idea on how to so that .
>> >
>> > Thanks,
>> > Aman Deep Singh
>>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message