public Search drillDown(String fieldName, String... fieldValues) {
        assertNotEmpty(fieldName, "fieldName");
        assertNotEmpty(fieldValues, "fieldValues");
        JsonArray drillDownArray = new JsonArray();
        JsonPrimitive fieldNamePrimitive = new JsonPrimitive(fieldName);
        drillDownArray.add(fieldNamePrimitive);
        for (String fieldValue : fieldValues) {
            JsonPrimitive fieldValuePrimitive = new JsonPrimitive(fieldValue);
            drillDownArray.add(fieldValuePrimitive);
        }
        databaseHelper.query("drilldown", drillDownArray, false);
        return this;
    }
public Search drillDown ( String fieldName , String ... fieldValues ) { assertNotEmpty ( fieldName , "fieldName" ) ; assertNotEmpty ( fieldValues , "fieldValues" ) ; JsonArray drillDownArray = new JsonArray ( ) ; JsonPrimitive fieldNamePrimitive = new JsonPrimitive ( fieldName ) ; drillDownArray . add ( fieldNamePrimitive ) ; for ( String fieldValue : fieldValues ) { JsonPrimitive fieldValuePrimitive = new JsonPrimitive ( fieldValue ) ; drillDownArray . add ( fieldValuePrimitive ) ; } databaseHelper . query ( "drilldown" , drillDownArray , false ) ; return this ; }
@param fieldName   the name of the field
@param fieldValues field values to add
@return this for additional parameter setting or to query
@see <a href="https://console.bluemix.net/docs/services/Cloudant/api/search.html#faceting"
target="_blank">drilldown query parameter</a>