productindex索引中对于standard只需要copy_to名称字段
Showing
1 changed file
with
2 additions
and
3 deletions
@@ -684,15 +684,14 @@ | @@ -684,15 +684,14 @@ | ||
684 | }, | 684 | }, |
685 | "standardNames": { | 685 | "standardNames": { |
686 | "type": "string", | 686 | "type": "string", |
687 | - "analyzer":"comma_spliter", | ||
688 | - "copy_to": ["searchField","searchField_ansj"] | 687 | + "analyzer":"comma_spliter" |
689 | }, | 688 | }, |
690 | "standardOnlyNames": { | 689 | "standardOnlyNames": { |
691 | "fields": { | 690 | "fields": { |
692 | "standardOnlyNames": { | 691 | "standardOnlyNames": { |
693 | "type": "string", | 692 | "type": "string", |
694 | "index": "not_analyzed", | 693 | "index": "not_analyzed", |
695 | - "copy_to": "searchField_ansj" | 694 | + "copy_to": ["searchField","searchField_ansj"] |
696 | }, | 695 | }, |
697 | "standardOnlyNames_ansj": { | 696 | "standardOnlyNames_ansj": { |
698 | "type": "string", | 697 | "type": "string", |
-
Please register or login to post a comment