RE: Synonyms in query time, configured as managed resouces

2016-12-26 Thread Daniel Moura
(now in the correct thread... sorry)

Hi Eric,

My use case is quite simple. I was using the following configuration:



 
 
 
 



 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 


But once my client is asking to add some synonyms, I changed to managed 
resources. And now, I just want to have sure if the following configuration is 
correct:


   
 
 
 
 
 
   
   
 
  

 
 
 
 
 
   


What do you think? In terms of configuration, this is well defined?
I tested it without errors.
But... How can I know (or have sure) that my managed synonyms are being used in 
query time? How to test it? How to validate it?

Regards,
Daniel Moura

-Original Message-
From: Erick Erickson [mailto:erickerick...@gmail.com] 
Sent: 26 de dezembro de 2016 16:01
To: solr-user 
Subject: Re: Synonyms in query time, configured as managed resouces

What happens when you test it? Are you getting some kind of error?

Best,
Erick



On Mon, Dec 26, 2016 at 7:19 AM, Daniel Moura  wrote:
> Hi all!
>
> I will need your help guys.
>
> We now need to know if the following definition is correct to have synonyms 
> in query time and configured as managed resources, for the watson_text type 
> that is the type used to indexed fields.
>
>  class="com.ibm.watson.hector.plugins.fieldtype.WatsonTextField" 
> omitNorms="false" omitTermFreqAndPositions="false" indexed="true" 
> termOffsets="true" stored="true" termPositions="true" 
> termVectors="true">   class="solr.StandardTokenizerFactory"/>
> 
> 
>  protected="lang/protwords_en.txt"/>
> 
> 
> 
> 
>  
>  ignoreCase="true"/> 
> 
>  protected="lang/protwords_en.txt"/>
> 
> 
> 
>
>
>
> Thank you, I'll wait your answer asap.
>
> Cheers,
>
> DM
>


Re: Synonyms in query time, configured as managed resouces

2016-12-26 Thread Erick Erickson
What happens when you test it? Are you getting some kind of error?

Best,
Erick



On Mon, Dec 26, 2016 at 7:19 AM, Daniel Moura  wrote:
> Hi all!
>
> I will need your help guys.
>
> We now need to know if the following definition is correct to have synonyms 
> in query time and configured as managed resources, for the watson_text type 
> that is the type used to indexed fields.
>
>  class="com.ibm.watson.hector.plugins.fieldtype.WatsonTextField" 
> omitNorms="false" omitTermFreqAndPositions="false" indexed="true" 
> termOffsets="true" stored="true" termPositions="true" termVectors="true">
> 
> 
> 
> 
>  protected="lang/protwords_en.txt"/>
> 
> 
> 
> 
> 
>  ignoreCase="true"/>
> 
> 
>  protected="lang/protwords_en.txt"/>
> 
> 
> 
>
>
>
> Thank you, I'll wait your answer asap.
>
> Cheers,
>
> DM
>


Synonyms in query time, configured as managed resouces

2016-12-26 Thread Daniel Moura
Hi all!

I will need your help guys.

We now need to know if the following definition is correct to have synonyms in 
query time and configured as managed resources, for the watson_text type that 
is the type used to indexed fields.






















Thank you, I'll wait your answer asap.

Cheers,

DM