From 
<https://cwiki.apache.org/confluence/display/solr/Filter+Descriptions#FilterDescriptions-SynonymGraphFilter>
 (also applies to SynonymFilter):

-----
format: (optional; default: solr) Controls how the synonyms will be parsed. The 
short names solr (for SolrSynonymParser) and wordnet (for WordnetSynonymParser 
) are supported, or you may alternatively supply the name of your own  
SynonymMap.Builder  subclass.
-----

--
Steve
www.lucidworks.com

> On Apr 21, 2017, at 10:28 AM, Alexandre Rafalovitch <arafa...@gmail.com> 
> wrote:
> 
> I am not sure WordnetSynonymParser is accessible from Solr. At least
> I never heard anybody mention it.
> 
> I am also aware of https://github.com/nicholasding/solr-lemmatizer but
> that's lematizer, not a synonym builder. But perhaps there are some
> lessons/code in there that could be useful.
> 
> Regards,
>   Alex.
> ----
> http://www.solr-start.com/ - Resources for Solr users, new and experienced
> 
> 
> On 21 April 2017 at 10:08, Pablo Anzorena <anzorena.f...@gmail.com> wrote:
>> Hey,
>> 
>> I'm planning to use Wordnet and I want to know how.
>> 
>> There's a class called *WordnetSynonymParser *, does anybody use it? It
>> says it is experimental...
>> 
>> I'm using solr 5.2.1
>> 
>> Briefly speaking about my needs:
>> I have different collections in different languages (fr, pr, sp, en).
>> When the user search for example in the english collection the word
>> "furnitures" I want to look for "table", "chair", "furniture"(without the
>> plural) and all the synonyms of "furnitures". Wordnet already provides me
>> all this and in different languages, that's why it would be great to have
>> solr using it.
>> 
>> Regards,
>> Pablo.

Reply via email to