Re: Limit = 0? Does it still calculate facet ?

2016-12-23 Thread Shawn Heisey
On 12/22/2016 9:53 PM, William Bell wrote:
> Yeah we have a bunch of facet.fields that we need, but want to
> selectively turn a few off based on user input.

> Any other way to do it? 

Use the user input to *include* facet fields instead of trying to
*exclude* them.  You're already talking about custom code on the query
side to do this ... just change your plan a little bit.

Thanks,
Shawn



Re: Limit = 0? Does it still calculate facet ?

2016-12-22 Thread William Bell
Yeah we have a bunch of facet.fields that we need, but want to selectively
turn a few off based on user input.

QT - has default facet.fields.

We want to turn a couple off like this:

http://localhost:8983/solr/core/select?qt=provider&f.payor.facet.limit=0

Will this turn off the payor field that is defined in QT?

Any other way to do it?

On Thu, Dec 22, 2016 at 4:15 PM, Tomás Fernández Löbbe <
tomasflo...@gmail.com> wrote:

> Yes, facet.limit will short circuit and not calculate the facet for the
> field. I'm assuming you can't just use facet=false?
>
> Tomas
>
> On Thu, Dec 22, 2016 at 1:00 PM, William Bell  wrote:
>
> > We have a qt=provider and it sets facets.
> >
> > We want to short circuit the facet. Can we set limit=0 and will it NOT
> > calculate it?
> >
> > Or does it calculate it and not return results? Can we make it faster ?
> >
> > f..facet.limit = 0
> >
> > --
> > Bill Bell
> > billnb...@gmail.com
> > cell 720-256-8076
> >
>



-- 
Bill Bell
billnb...@gmail.com
cell 720-256-8076


Re: Limit = 0? Does it still calculate facet ?

2016-12-22 Thread Mikhail Khludnev
> facet.limit will short circuit and not calculate the facet for the field.
But not for SolrCloud, I believe.

On Fri, Dec 23, 2016 at 2:15 AM, Tomás Fernández Löbbe <
tomasflo...@gmail.com> wrote:

> Yes, facet.limit will short circuit and not calculate the facet for the
> field. I'm assuming you can't just use facet=false?
>
> Tomas
>
> On Thu, Dec 22, 2016 at 1:00 PM, William Bell  wrote:
>
> > We have a qt=provider and it sets facets.
> >
> > We want to short circuit the facet. Can we set limit=0 and will it NOT
> > calculate it?
> >
> > Or does it calculate it and not return results? Can we make it faster ?
> >
> > f..facet.limit = 0
> >
> > --
> > Bill Bell
> > billnb...@gmail.com
> > cell 720-256-8076
> >
>



-- 
Sincerely yours
Mikhail Khludnev


Re: Limit = 0? Does it still calculate facet ?

2016-12-22 Thread Tomás Fernández Löbbe
Yes, facet.limit will short circuit and not calculate the facet for the
field. I'm assuming you can't just use facet=false?

Tomas

On Thu, Dec 22, 2016 at 1:00 PM, William Bell  wrote:

> We have a qt=provider and it sets facets.
>
> We want to short circuit the facet. Can we set limit=0 and will it NOT
> calculate it?
>
> Or does it calculate it and not return results? Can we make it faster ?
>
> f..facet.limit = 0
>
> --
> Bill Bell
> billnb...@gmail.com
> cell 720-256-8076
>


Limit = 0? Does it still calculate facet ?

2016-12-22 Thread William Bell
We have a qt=provider and it sets facets.

We want to short circuit the facet. Can we set limit=0 and will it NOT
calculate it?

Or does it calculate it and not return results? Can we make it faster ?

f..facet.limit = 0

-- 
Bill Bell
billnb...@gmail.com
cell 720-256-8076