|
@@ -32,7 +32,7 @@ public class SearchV8ServiceImpl implements SearchService {
|
|
|
|
|
|
public static final String index = "winhc-company-v8";
|
|
|
public static final String type = "company";
|
|
|
- private static final String[] includes = new String[]{"cname", "legal_entity*", "estiblish_time", "reg_status_std", "company_type", "province_code", "reg_capital", "logo"};
|
|
|
+ private static final String[] includes = new String[]{"cname", "legal_entity*", "estiblish_time", "reg_status_std", "company_type", "province_code", "reg_capital", "logo", "new_cid"};
|
|
|
private static final FetchSourceContext fetchSourceContext = new FetchSourceContext(true, includes, null);
|
|
|
|
|
|
private static final String[] includes_tips = new String[]{"cname.show"};
|
|
@@ -70,7 +70,6 @@ public class SearchV8ServiceImpl implements SearchService {
|
|
|
return search;
|
|
|
}
|
|
|
|
|
|
-
|
|
|
private BoolQueryBuilder getBoolQuery(String content) {
|
|
|
BoolQueryBuilder boolQuery = QueryBuilders.boolQuery();
|
|
|
|