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 Jeyaprakash Singarayar <jp...@gmail.com> on 2017/05/12 03:23:51 UTC

Dynamic facets during runtime

Hi,

Our application has a facet select admin screen UI that would allow the
users to add/update/delete the facets that has to be returned from Solr.

Right now we have the facet fields defined in the defaults of
requestHandler.

So if a user wanted a new facet, I know sending that newly selected facet
with the query would override the list in the solrconfig.xml

If there any better way rather than making all the facets sent through
querytime.

Thanks,
Jeyaprakash

Re: Dynamic facets during runtime

Posted by Erik Hatcher <er...@gmail.com>.
Use "appends" instead of "defaults". 

> On May 11, 2017, at 23:23, Jeyaprakash Singarayar <jp...@gmail.com> wrote:
> 
> Hi,
> 
> Our application has a facet select admin screen UI that would allow the
> users to add/update/delete the facets that has to be returned from Solr.
> 
> Right now we have the facet fields defined in the defaults of
> requestHandler.
> 
> So if a user wanted a new facet, I know sending that newly selected facet
> with the query would override the list in the solrconfig.xml
> 
> If there any better way rather than making all the facets sent through
> querytime.
> 
> Thanks,
> Jeyaprakash