소스 검색

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

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 => {