Re: Tokenizing managed synonyms

2020-07-08 Thread Kayak28
Hello, Solr Community: Actually, you can set up a tokenizer for the managed synonyms. But, the configuration is not on the reference guide, and I do not know how to add a Tokenizer via API-call. So, you might need to manually edit a JSON file below the config directory. In the

Re: Tokenizing managed synonyms

2020-07-06 Thread Koji Sekiguchi
I think the question makes sense as SynonymGraphFilterFactory accepts tokenizerFactory, he asked the managed version of SynonymGraphFilter could accept it as well. https://lucene.apache.org/solr/guide/8_5/filter-descriptions.html#synonym-graph-filter The answer seems to be NO. Koji On

Re: Tokenizing managed synonyms

2020-07-06 Thread Erick Erickson
This question doesn’t really make sense. You don’t specify tokenizers on filters, they’re specified at the _field_ level. You can certainly define as many field(type)s as you want, each with a different analysis chain and those chains can be made up of whatever you want to use, and there are lots

Re: Tokenizing managed synonyms

2020-07-06 Thread Erick Erickson
Please don’t hijack threads, start a new one when you switch topics. > On Jul 6, 2020, at 6:52 PM, Stavros Macrakis wrote: > > How can I search for a term *except *when it's part of certain phrases? > > For example, I might want to find documents mentioning "pepper" where it is > not part of

Re: Tokenizing managed synonyms

2020-07-06 Thread Stavros Macrakis
How can I search for a term *except *when it's part of certain phrases? For example, I might want to find documents mentioning "pepper" where it is not part of the phrases "chili pepper", "hot pepper", or "pepper sauce". It does not work to search for [pepper NOT ("chili pepper" OR "hot pepper"

Tokenizing managed synonyms

2020-07-06 Thread Thomas Corthals
Hi, Is it possible to specify a Tokenizer Factory on a Managed Synonym Graph Filter? I would like to use a Standard Tokenizer or Keyword Tokenizer on some fields. Best, Thomas