Re: AW: AW: FacetField-Result on String-Field contains value with count 0?

2017-01-14 Thread Shawn Heisey
On 1/13/2017 7:36 AM, Sebastian Riemer wrote: > Thanks, that's actually where I come from. But I don't want to exclude values > leading to a count of zero. > > Background to this: A user searched for mediaType "book" which gave him 10 > results. Now some other task/routine whatever changes all th

AW: AW: FacetField-Result on String-Field contains value with count 0?

2017-01-13 Thread Sebastian Riemer
Thanks @Toke, for pointing out these options. I'll have a read about expungeDeletes. Sounds even more so, that having solr filter out 0-counts is a good idea and I should handle my use-case outside of solr. Thanks again, Sebastian On Fri, 2017-01-13 at 14:19 +, Sebastian Riemer wrote: >

AW: FacetField-Result on String-Field contains value with count 0?

2017-01-13 Thread Sebastian Riemer
rüngliche Nachricht- Von: Michael Kuhlmann [mailto:k...@solr.info] Gesendet: Freitag, 13. Januar 2017 15:43 An: solr-user@lucene.apache.org Betreff: Re: FacetField-Result on String-Field contains value with count 0? Then I don't understand your problem. Solr already does exactly what you w

Re: AW: FacetField-Result on String-Field contains value with count 0?

2017-01-13 Thread Toke Eskildsen
On Fri, 2017-01-13 at 14:19 +, Sebastian Riemer wrote: > the second search should have been this: http://localhost:8983/solr/w > emi/select?fq=m_mediaType_s:%221%22&indent=on&q=*:*&rows=0&start=0&wt > =json  > (or in other words, give me all documents having value "1" for field > "m_mediaType_s

Re: FacetField-Result on String-Field contains value with count 0?

2017-01-13 Thread Michael Kuhlmann
ail.com [mailto:billnb...@gmail.com] > Gesendet: Freitag, 13. Januar 2017 15:23 > An: solr-user@lucene.apache.org > Betreff: Re: AW: FacetField-Result on String-Field contains value with count > 0? > > Set mincount to 1 > > Bill Bell > Sent from mobile > > >&

AW: AW: FacetField-Result on String-Field contains value with count 0?

2017-01-13 Thread Sebastian Riemer
- Von: billnb...@gmail.com [mailto:billnb...@gmail.com] Gesendet: Freitag, 13. Januar 2017 15:23 An: solr-user@lucene.apache.org Betreff: Re: AW: FacetField-Result on String-Field contains value with count 0? Set mincount to 1 Bill Bell Sent from mobile > On Jan 13, 2017, at 7:19 AM, Seba

Re: AW: FacetField-Result on String-Field contains value with count 0?

2017-01-13 Thread billnbell
Set mincount to 1 Bill Bell Sent from mobile > On Jan 13, 2017, at 7:19 AM, Sebastian Riemer wrote: > > Pardon me, > the second search should have been this: > http://localhost:8983/solr/wemi/select?fq=m_mediaType_s:%221%22&indent=on&q=*:*&rows=0&start=0&wt=json > > (or in other words, giv

AW: FacetField-Result on String-Field contains value with count 0?

2017-01-13 Thread Sebastian Riemer
Pardon me, the second search should have been this: http://localhost:8983/solr/wemi/select?fq=m_mediaType_s:%221%22&indent=on&q=*:*&rows=0&start=0&wt=json (or in other words, give me all documents having value "1" for field "m_mediaType_s") Since this search gives zero results, why is it incl

FacetField-Result on String-Field contains value with count 0?

2017-01-13 Thread Sebastian Riemer
Hi, Please help me understand: http://localhost:8983/solr/wemi/select?facet.field=m_mediaType_s&facet=on&indent=on&q=*:*&wt=json returns: "facet_counts":{ "facet_queries":{}, "facet_fields":{ "m_mediaType_s":[ "2",25561, "3",19027, "10",1966, "11",1