fullscale / elastic.js

A JavaScript implementation of the elasticsearch Query DSL
http://docs.fullscale.co/elasticjs/
MIT License
654 stars 163 forks source link

shard_size appears to be missing from TermsFacet #53

Closed chdietz closed 10 years ago

chdietz commented 10 years ago

I added this to ejs.TermsFacet and it seems to work:

    shard_size: function (shardSize) {
        if (shardSize == null) {
            return facet[name].terms.shard_size;
        }

        facet[name].terms.shard_size = shardSize;
        return this;
    },
mattweber commented 10 years ago

Just added this to master, see 661453795e