# Passing missing\_bucket argument in TermsValuesSourceBuilder java api

**URL:** <https://discuss.elastic.co/t/passing-missing-bucket-argument-in-termsvaluessourcebuilder-java-api/210440>\
**Category:** Elasticsearch\
**Created:** [December 3, 2019, 11:59pm UTC](https://discuss.elastic.co/t/passing-missing-bucket-argument-in-termsvaluessourcebuilder-java-api/210440 "2019-12-03T23:59:49Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Seetha93](https://avatars.discourse-cdn.com/v4/letter/s/ecc23a/32.png) [@Seetha93](https://discuss.elastic.co/u/Seetha93)\
**Post date:** [December 3, 2019, 11:59pm UTC](https://discuss.elastic.co/t/passing-missing-bucket-argument-in-termsvaluessourcebuilder-java-api/210440/1 "2019-12-03T23:59:49Z")

</div>

While creating CompositeAggregation using CompositeAggregationBuilder and TermsValuesSourceBuilder, is it possible to pass missing\_ bucket?

I mean is the following constructor exists ?

> TermsValuesSourceBuilder(name, missingBucket){  
> }

P.S.: I was not sure whether its appropriate post this question here or in git.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [December 31, 2019, 11:59pm UTC](https://discuss.elastic.co/t/passing-missing-bucket-argument-in-termsvaluessourcebuilder-java-api/210440/2 "2019-12-31T23:59:52Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
