Case sensitive synonym value

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Case sensitive synonym value

Aman Deep Singh
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
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Case sensitive synonym value

Erick Erickson
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
<[hidden email]> 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
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Case sensitive synonym value

Aman Deep Singh
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" <[hidden email]> 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
> <[hidden email]> 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
>
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Case sensitive synonym value

Erick Erickson
You set ignoreCase="true" though, right?

On Wed, Aug 9, 2017 at 8:39 AM, Aman Deep Singh
<[hidden email]> 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" <[hidden email]> 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
>> <[hidden email]> 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
>>
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Case sensitive synonym value

Aman Deep Singh
Yes,
Ignore case is set to true and it is working fine


On 10-Aug-2017 12:43 AM, "Erick Erickson" <[hidden email]> wrote:

You set ignoreCase="true" though, right?

On Wed, Aug 9, 2017 at 8:39 AM, Aman Deep Singh
<[hidden email]> 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" <[hidden email]> 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
>> <[hidden email]> 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
>>
Loading...