think_elasticsearch
Advanced tools
Comparing version 1.0.7 to 1.0.8
@@ -609,3 +609,3 @@ 'use strict'; | ||
_class.prototype.builderFields = function builderFields(optionField) { | ||
this.queryObj.fields = optionField; | ||
this.queryObj._source = optionField; | ||
}; | ||
@@ -612,0 +612,0 @@ |
{ | ||
"name": "think_elasticsearch", | ||
"version": "1.0.7", | ||
"version": "1.0.8", | ||
"description": "基于elasticsearch.js的elasticsearch工具", | ||
@@ -5,0 +5,0 @@ "scripts": { |
@@ -472,3 +472,3 @@ /** | ||
builderFields(optionField) { | ||
this.queryObj.fields = optionField; | ||
this.queryObj._source = optionField; | ||
} | ||
@@ -475,0 +475,0 @@ |
@@ -29,4 +29,5 @@ /** | ||
.setIndex('apsystem_*') | ||
.field('goods,price') | ||
.select().then(res => { | ||
console.log(res.hits.hits) | ||
}) |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5146
685414