Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitab28496

Browse files
Update lib/schema.js
Co-authored-by: hasezoey <hasezoey@gmail.com>
1 parentd1e3c81 commitab28496

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

‎lib/schema.js‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -919,6 +919,9 @@ Schema.prototype.clearIndexes = function clearIndexes() {
919919
* const ToySchema = new Schema({ name: String, color: String, price: Number });
920920
* ToySchema.searchIndex({ name: 'test', definition: { mappings: { dynamic: true }}});
921921
*
922+
*@param {Object} description index options, including `name` and `definition`
923+
*@param {String} description.name
924+
*@param {Object} description.definition
922925
*@return {Schema} the Schema instance
923926
*@api public
924927
*/

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp