You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Hendrik Haddorp <he...@gmx.net> on 2017/12/18 07:35:10 UTC
request dependent analyzer
Hi,
currently we use a lot of small collections that all basically have the
same schema. This does not scale too well. So we are looking into
combining multiple collections into one. We would however like some
analyzers to behave slightly differently depending on the logical
collection. We would for example like to use different synonyms in the
different logical collections. Is there any clean way on how to do that,
like somehow access request parameters from an analyzer?
regards,
Hendrik
Re: request dependent analyzer
Posted by Stefan Matheis <st...@mathe.is>.
Hendrik,
this doesn't exactly answer your question, but I do remember reading a
thread on the lucene-dev list which became a jira ticket eventually - not
that long ago.
Doug asked for something that sounds at least a little bit similar to what
you're asking: https://issues.apache.org/jira/browse/SOLR-11698
Hope it's worth reading
- Stefan
On Dec 18, 2017 8:35 AM, "Hendrik Haddorp" <he...@gmx.net> wrote:
> Hi,
>
> currently we use a lot of small collections that all basically have the
> same schema. This does not scale too well. So we are looking into combining
> multiple collections into one. We would however like some analyzers to
> behave slightly differently depending on the logical collection. We would
> for example like to use different synonyms in the different logical
> collections. Is there any clean way on how to do that, like somehow access
> request parameters from an analyzer?
>
> regards,
> Hendrik
>