Indeed, it does work in a nightly build. Thank you Yonik On Fri, May 15, 2015 at 5:27 PM, Yonik Seeley <ysee...@gmail.com> wrote:
> That was previously found and fixed - can you try a recent nightly build? > > https://builds.apache.org/job/Solr-Artifacts-5.x/lastSuccessfulBuild/artifact/solr/package/ > -Yonik > > > On Fri, May 15, 2015 at 4:04 AM, Andrii Berezhynskyi > <andrii.berezhyns...@home24.de> wrote: > > I have a strange issue of facet buckets being empty for tint fields. > > I have the following schema: > > > > <fieldType name="tint" class="solr.TrieIntField" sortMissingLast="true" > > omitNorms="true"/> > > > > <fieldType name="string" class="solr.StrField" sortMissingLast="true" > > omitNorms="true"/> > > > > <fieldType name="tfloat" class="solr.TrieFloatField" > sortMissingLast="true" > > omitNorms="true"/> > > > > ... > > > > <field name="price" type="tint" indexed="true" stored="false" > > multiValued="false"/> > > > > <field name="width" type="tfloat" indexed="true" stored="false" > > multiValued="true"/> > > > > <dynamicField name="*" type="string" indexed="true" stored="false" > > multiValued="true"/> > > > > Then I just import: > > > > [{ > > "sku": "TEST_FACET", > > "color": "yellow", > > "width": 100.23, > > "price": 1200 > > }] > > > > when I do the following faceting request: > > > > json.facet={ > > > > colors:{terms: {field:color}}, > > > > width:{terms: {field:width}}, > > > > price:{terms: {field:price}} > > > > } > > > > I get empty buckets for price (tint): > > > > "facets":{ "count":1, > > > > "colors":{ "buckets":[{ "val":"yellow", "count":1}]}, > > > > "width":{ "buckets":[{ "val":100.23, "count":1}]}, > > > > "price":{ "buckets":[]}}} > > > > Is somebody else able to reproduce this issue? > > > > Best regards, > > Andrii >