Re: Configuring a custom Analyzer for the SynonymFilter

2016-09-30 Thread Raf
Just to bring up to a conclusion, I have finally solved my issue by creating a custom Analyzer for use with the SynonymFilter. It is not as "declarative" as I would have hoped, but at least it works :) Greetings, *Raf* On Wed, Sep 28, 2016 at 9:26 AM, Raf wrote: > On Wed, Sep 28, 2016 at 3:21 A

Re: Configuring a custom Analyzer for the SynonymFilter

2016-09-28 Thread Raf
On Wed, Sep 28, 2016 at 3:21 AM, Alexandre Rafalovitch wrote: > Before you go down this rabbit hole, are you actually sure this does > what you think it does? > > As far as I can tell, that parameter is for analyzing/parsing the > synonym entries in the synonym file. Not the incoming search queri

Re: Configuring a custom Analyzer for the SynonymFilter

2016-09-27 Thread Alexandre Rafalovitch
Before you go down this rabbit hole, are you actually sure this does what you think it does? As far as I can tell, that parameter is for analyzing/parsing the synonym entries in the synonym file. Not the incoming search queries or text actually being indexed. Did you get it to work with the simple

Re: Configuring a custom Analyzer for the SynonymFilter

2016-09-27 Thread Raf
On Tue, Sep 27, 2016 at 4:22 PM, Alexandre Rafalovitch wrote: > Looking at the code (on GitHub is easiest), it can take either > analyzer or tokenizer but definitely not any chain definitions. This > seems to be the same all the way to 6.2.1. > Thanks for your answer Alex. Does anyone know if i

Re: Configuring a custom Analyzer for the SynonymFilter

2016-09-27 Thread Alexandre Rafalovitch
Looking at the code (on GitHub is easiest), it can take either analyzer or tokenizer but definitely not any chain definitions. This seems to be the same all the way to 6.2.1. Regards, Alex. Newsletter and resources for Solr beginners and intermediates: http://www.solr-start.com/ On 27 Se

Configuring a custom Analyzer for the SynonymFilter

2016-09-27 Thread Raf
Hi, is it possible to configure a custom analysis for synonyms the same way we do for index/query field analysis? Reading the *SynonymFilter* documentation[0], I have found I can specify a custom analyzer by writing its class name. Example: