Authored by Gino Zhang

修改conversion索引中mapping的问题

... ... @@ -7,14 +7,14 @@
"enabled": true
},
"properties": {
"keyword": {
"source": {
"type": "string",
"index": "ik_complex",
"analyzer": "ik_complex",
"search_analyzer": "ik_complex"
},
"dest": {
"type": "string",
"index": "ik_complex",
"analyzer": "ik_complex",
"search_analyzer": "ik_complex"
}
}
... ...
... ... @@ -8,15 +8,15 @@ public class ConversionBO implements Serializable {
private Integer id;
private String keyword;
private String source;
private String dest;
public ConversionBO(){}
public ConversionBO(Integer id, String keyword, String dest){
public ConversionBO(Integer id, String source, String dest){
this.id = id;
this.keyword = keyword;
this.source = source;
this.dest = dest;
}
... ... @@ -28,12 +28,12 @@ public class ConversionBO implements Serializable {
this.id = id;
}
public String getKeyword() {
return keyword;
public String getSource() {
return source;
}
public void setKeyword(String keyword) {
this.keyword = keyword;
public void setSource(String source) {
this.source = source;
}
public String getDest() {
... ...