@cool-digital-solutions/interferir-models 1.0.88 → 1.0.89

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -100,4 +100,8 @@ portiaArticleSchema.pre('findOneAndUpdate', function (next) {
100
100
  this._update.updatedBy = user._id;
101
101
  next();
102
102
  });
103
+ portiaArticleSchema.index({
104
+ title: -1,
105
+ 'analysisResult.summary': -1,
106
+ });
103
107
  exports.default = portiaArticleSchema;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cool-digital-solutions/interferir-models",
3
- "version": "1.0.88",
3
+ "version": "1.0.89",
4
4
  "main": "./dist/index.js",
5
5
  "files": [
6
6
  "dist/**/*"