@@ -62,7 +62,6 @@ export class SearchService {
* @returns
*/
async oneIndexSearch(keyword: string, index: string, fields: Array<string>, skip: number, limit: number, params: object = {}) {
- const filter = [{ term: { is_use: '0' } }];
const must: any = [];
if (keyword) {
const obj = {
@@ -87,7 +86,6 @@ export class SearchService {
query: {
bool: {
must,
- filter,
},
size: limit,