Home | About | Sematext search-lucene.com search-hadoop.com
 Search Lucene and all its subprojects:

Switch to Threaded View
Solr, mail # user - Problem with faceting on a boolean field


Copy link to this message
-
Re: Problem with faceting on a boolean field
Yonik Seeley 2012-04-17, 18:53
On Tue, Apr 17, 2012 at 2:22 PM, Kissue Kissue <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I am faceting on a boolean field called "usedItem". There are a total of
> 607601 items in the index and they all have value for "usedItem" set to
> false.
>
> However when i do a search for *:* and faceting on "usedItem", the num
> found is set correctly to 607601 but i get the facet result below:
>
> lst name="usedItem"><int name="false">17971</int></lst>

You can verify by changing the query from *:* to usedItem:false  (or
adding an additional fq to that effect).

-Yonik
lucenerevolution.com - Lucene/Solr Open Source Search Conference.
Boston May 7-10