-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
nick
committed
Apr 13, 2024
1 parent
d7c01f3
commit 071d81e
Showing
13 changed files
with
334 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# Manticoresearch.AggregationComposite | ||
|
||
## Properties | ||
|
||
Name | Type | Description | Notes | ||
------------ | ------------- | ------------- | ------------- | ||
**size** | **Number** | Maximum number of composite buckets in the result | [optional] | ||
**sources** | **[{String: AggregationCompositeSourcesInnerValue}]** | | [optional] | ||
|
||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# Manticoresearch.AggregationCompositeSourcesInnerValue | ||
|
||
## Properties | ||
|
||
Name | Type | Description | Notes | ||
------------ | ------------- | ------------- | ------------- | ||
**terms** | [**AggregationCompositeSourcesInnerValueTerms**](AggregationCompositeSourcesInnerValueTerms.md) | | [optional] | ||
|
||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# Manticoresearch.AggregationCompositeSourcesInnerValueTerms | ||
|
||
## Properties | ||
|
||
Name | Type | Description | Notes | ||
------------ | ------------- | ------------- | ------------- | ||
**field** | **String** | Name of attribute to aggregate by | [optional] | ||
|
||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,79 @@ | ||
/* | ||
* Manticore Search Client | ||
* Copyright (c) 2020-2021, Manticore Software LTD (https://manticoresearch.com) | ||
* | ||
* All rights reserved | ||
*/ | ||
|
||
(function(root, factory) { | ||
if (typeof define === 'function' && define.amd) { | ||
// AMD. Register as an anonymous module. | ||
define(['ApiClient', 'model/AggregationCompositeSourcesInnerValue'], factory); | ||
} else if (typeof module === 'object' && module.exports) { | ||
// CommonJS-like environments that support module.exports, like Node. | ||
module.exports = factory(require('../ApiClient'), require('./AggregationCompositeSourcesInnerValue')); | ||
} else { | ||
// Browser globals (root is window) | ||
if (!root.Manticoresearch) { | ||
root.Manticoresearch = {}; | ||
} | ||
root.Manticoresearch.AggregationComposite = factory(root.Manticoresearch.ApiClient, root.Manticoresearch.AggregationCompositeSourcesInnerValue); | ||
} | ||
}(this, function(ApiClient, AggregationCompositeSourcesInnerValue) { | ||
'use strict'; | ||
|
||
|
||
|
||
/** | ||
* The AggregationComposite model module. | ||
* @module model/AggregationComposite | ||
* @version 4.0.0 | ||
*/ | ||
|
||
/** | ||
* Constructs a new <code>AggregationComposite</code>. | ||
* Composite aggregation | ||
* @alias module:model/AggregationComposite | ||
* @class | ||
*/ | ||
var exports = function() { | ||
var _this = this; | ||
|
||
}; | ||
|
||
/** | ||
* Constructs a <code>AggregationComposite</code> from a plain JavaScript object, optionally creating a new instance. | ||
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not. | ||
* @param {Object} data The plain JavaScript object bearing properties of interest. | ||
* @param {module:model/AggregationComposite} obj Optional instance to populate. | ||
* @return {module:model/AggregationComposite} The populated <code>AggregationComposite</code> instance. | ||
*/ | ||
exports.constructFromObject = function(data, obj) { | ||
if (data) { | ||
obj = obj || new exports(); | ||
if (data.hasOwnProperty('size')) { | ||
obj['size'] = ApiClient.convertToType(data['size'], 'Number'); | ||
} | ||
if (data.hasOwnProperty('sources')) { | ||
obj['sources'] = ApiClient.convertToType(data['sources'], [{'String': AggregationCompositeSourcesInnerValue}]); | ||
} | ||
} | ||
return obj; | ||
} | ||
|
||
/** | ||
* Maximum number of composite buckets in the result | ||
* @member {Number} size | ||
*/ | ||
exports.prototype['size'] = undefined; | ||
/** | ||
* @member {Array.<Object.<String, module:model/AggregationCompositeSourcesInnerValue>>} sources | ||
*/ | ||
exports.prototype['sources'] = undefined; | ||
|
||
|
||
|
||
return exports; | ||
})); | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
/* | ||
* Manticore Search Client | ||
* Copyright (c) 2020-2021, Manticore Software LTD (https://manticoresearch.com) | ||
* | ||
* All rights reserved | ||
*/ | ||
|
||
(function(root, factory) { | ||
if (typeof define === 'function' && define.amd) { | ||
// AMD. Register as an anonymous module. | ||
define(['ApiClient', 'model/AggregationCompositeSourcesInnerValueTerms'], factory); | ||
} else if (typeof module === 'object' && module.exports) { | ||
// CommonJS-like environments that support module.exports, like Node. | ||
module.exports = factory(require('../ApiClient'), require('./AggregationCompositeSourcesInnerValueTerms')); | ||
} else { | ||
// Browser globals (root is window) | ||
if (!root.Manticoresearch) { | ||
root.Manticoresearch = {}; | ||
} | ||
root.Manticoresearch.AggregationCompositeSourcesInnerValue = factory(root.Manticoresearch.ApiClient, root.Manticoresearch.AggregationCompositeSourcesInnerValueTerms); | ||
} | ||
}(this, function(ApiClient, AggregationCompositeSourcesInnerValueTerms) { | ||
'use strict'; | ||
|
||
|
||
|
||
/** | ||
* The AggregationCompositeSourcesInnerValue model module. | ||
* @module model/AggregationCompositeSourcesInnerValue | ||
* @version 4.0.0 | ||
*/ | ||
|
||
/** | ||
* Constructs a new <code>AggregationCompositeSourcesInnerValue</code>. | ||
* @alias module:model/AggregationCompositeSourcesInnerValue | ||
* @class | ||
*/ | ||
var exports = function() { | ||
var _this = this; | ||
|
||
}; | ||
|
||
/** | ||
* Constructs a <code>AggregationCompositeSourcesInnerValue</code> from a plain JavaScript object, optionally creating a new instance. | ||
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not. | ||
* @param {Object} data The plain JavaScript object bearing properties of interest. | ||
* @param {module:model/AggregationCompositeSourcesInnerValue} obj Optional instance to populate. | ||
* @return {module:model/AggregationCompositeSourcesInnerValue} The populated <code>AggregationCompositeSourcesInnerValue</code> instance. | ||
*/ | ||
exports.constructFromObject = function(data, obj) { | ||
if (data) { | ||
obj = obj || new exports(); | ||
if (data.hasOwnProperty('terms')) { | ||
obj['terms'] = AggregationCompositeSourcesInnerValueTerms.constructFromObject(data['terms']); | ||
} | ||
} | ||
return obj; | ||
} | ||
|
||
/** | ||
* @member {module:model/AggregationCompositeSourcesInnerValueTerms} terms | ||
*/ | ||
exports.prototype['terms'] = undefined; | ||
|
||
|
||
|
||
return exports; | ||
})); | ||
|
||
|
Oops, something went wrong.