浏览代码

修改索引,不能用太多的内容做索引

ruifeng_liu 3 年之前
父节点
当前提交
960efd7670
共有 1 个文件被更改,包括 0 次插入5 次删除
  1. 0 5
      app/model/patent/patentinfo.js

+ 0 - 5
app/model/patent/patentinfo.js

@@ -53,24 +53,19 @@ schema.index({ term: 1 });
 schema.index({ type: 1 });
 schema.index({ agent_personal: 1 });
 schema.index({ agent: 1 });
-schema.index({ abstract: 1 });
 schema.index({ origin: 1 });
 schema.index({ status: 1 });
 schema.index({ trans_status: 1 });
 schema.index({ nationality: 1 });
 schema.index({ ipc_type: 1 });
 schema.index({ onlegal_status: 1 });
-schema.index({ legal_status: 1 });
 schema.index({ law_date: 1 });
 schema.index({ on_obligee: 1 });
-schema.index({ apply_address: 1 });
-schema.index({ apply_other: 1 });
 schema.index({ law_num: 1 });
 schema.index({ first_opendate: 1 });
 schema.index({ empower_date: 1 });
 schema.index({ lose_date: 1 });
 schema.index({ examine_date: 1 });
-schema.index({ invention_design: 1 });
 schema.index({ 'meta.createdAt': 1 });
 schema.plugin(metaPlugin);
 module.exports = app => {