You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Michael Lawrence (JIRA)" <ji...@apache.org> on 2015/06/03 17:45:38 UTC

[jira] [Commented] (SOLR-7496) Empty buckets when faceting with JSON API over EnumField and TrieIntField

    [ https://issues.apache.org/jira/browse/SOLR-7496?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14571236#comment-14571236 ] 

Michael Lawrence commented on SOLR-7496:
----------------------------------------

This query:

http://localhost:8983/solr/techproducts/select?q=*:*&json={"facet":{"price":{"type":"terms","field":"price","sort":"index asc","mincount":0}}}&wt=json

Yields results where every bucket has value "0.0" and count "0". Dropping either the "mincount" parameter or "sort" parameter fixes it.

This is using nightly build 5.3.0-2015-05-29_12-15-41 1682437 - jenkins - 2015-05-29 08:22:15. Apologies if this has been fixed since.

> Empty buckets when faceting with JSON API over EnumField and TrieIntField
> -------------------------------------------------------------------------
>
>                 Key: SOLR-7496
>                 URL: https://issues.apache.org/jira/browse/SOLR-7496
>             Project: Solr
>          Issue Type: Bug
>          Components: faceting
>    Affects Versions: 5.1, 5.2
>         Environment: OS X 10.10.3
> $ java -version
> java version "1.8.0_31"
> Java(TM) SE Runtime Environment (build 1.8.0_31-b13)
> Java HotSpot(TM) 64-Bit Server VM (build 25.31-b07, mixed mode)
>            Reporter: Alfonso Muñoz-Pomer Fuentes
>            Assignee: Yonik Seeley
>              Labels: patch
>             Fix For: 5.2
>
>
> When using facets with the new JSON API over an EnumFiled or a TrieIntField, I get a list of empty buckets.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org