|
@@ -41,7 +41,7 @@ export class AccurateMatchingService {
|
|
|
// 由需求信息查询
|
|
|
async forSupplySearch(keyword: string, skip = 0, limit = 10, id) {
|
|
|
const fields = ['name', 'tags', 'brief'];
|
|
|
- const config = { index: ['demand', 'achievement'], fields };
|
|
|
+ const config = { index: ['demand'], fields };
|
|
|
const origin_index = 'supply';
|
|
|
return await this.manyIndexsSearch(keyword, config, skip, limit, origin_index, id);
|
|
|
}
|
|
@@ -175,7 +175,7 @@ export class AccurateMatchingService {
|
|
|
boost: 0.6,
|
|
|
},
|
|
|
},
|
|
|
- // min_score: 3,
|
|
|
+ min_score: 3,
|
|
|
size: limit,
|
|
|
from: skip,
|
|
|
explain: true,
|