Toggle navigation
Toggle navigation
This project
Loading...
Sign in
yoho-search
/
yohomars-search-service
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
wangnan
2016-11-14 16:59:19 +0800
Commit
2ba81a5e45d8a0f69c8ecc101f2e8e9f0b29dd1b
1 parent
b7d6353b
修改suggest字段的分词器
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
4 deletions
yohomars-search-core/src/main/resources/esmapping/bizarea.json
yohomars-search-core/src/main/resources/esmapping/line.json
yohomars-search-core/src/main/resources/esmapping/store.json
yohomars-search-core/src/main/resources/esmapping/topic.json
yohomars-search-core/src/main/resources/esmapping/bizarea.json
View file @
2ba81a5
@@ -49,7 +49,7 @@
@@ -49,7 +49,7 @@
49
},
49
},
50
"suggest"
:
{
50
"suggest"
:
{
51
"type"
:
"string"
,
51
"type"
:
"string"
,
52
-
"analyzer"
:
"
ik_max_word_syno
"
52
+
"analyzer"
:
"
keyword
"
53
}
53
}
54
}
54
}
55
}
55
}
yohomars-search-core/src/main/resources/esmapping/line.json
View file @
2ba81a5
@@ -49,7 +49,7 @@
@@ -49,7 +49,7 @@
49
},
49
},
50
"suggest"
:
{
50
"suggest"
:
{
51
"type"
:
"string"
,
51
"type"
:
"string"
,
52
-
"analyzer"
:
"
ik_max_word_syno
"
52
+
"analyzer"
:
"
keyword
"
53
}
53
}
54
}
54
}
55
}
55
}
yohomars-search-core/src/main/resources/esmapping/store.json
View file @
2ba81a5
@@ -72,7 +72,7 @@
@@ -72,7 +72,7 @@
72
},
72
},
73
"suggest"
:
{
73
"suggest"
:
{
74
"type"
:
"string"
,
74
"type"
:
"string"
,
75
-
"analyzer"
:
"
ik_max_word_syno
"
75
+
"analyzer"
:
"
keyword
"
76
},
76
},
77
"address_full"
:
{
77
"address_full"
:
{
78
"type"
:
"string"
,
78
"type"
:
"string"
,
yohomars-search-core/src/main/resources/esmapping/topic.json
View file @
2ba81a5
@@ -48,7 +48,7 @@
@@ -48,7 +48,7 @@
48
},
48
},
49
"suggest"
:
{
49
"suggest"
:
{
50
"type"
:
"string"
,
50
"type"
:
"string"
,
51
-
"analyzer"
:
"
ik_max_word_syno
"
51
+
"analyzer"
:
"
keyword
"
52
}
52
}
53
}
53
}
54
}
54
}
Please
register
or
login
to post a comment