提交 0eaba078 编写于 作者: weixin_43283383's avatar weixin_43283383

Merge pull request #38 from wsk528/patch-1

wrong jason format of index docs in ch3.
...@@ -125,19 +125,19 @@ curl -XPOST http://localhost:9200/index/fulltext/_mapping -d' ...@@ -125,19 +125,19 @@ curl -XPOST http://localhost:9200/index/fulltext/_mapping -d'
<pre> <pre>
curl -XPOST http://localhost:9200/index/fulltext/1 -d' curl -XPOST http://localhost:9200/index/fulltext/1 -d'
{content:"美国留给伊拉克的是个烂摊子吗"} {"content":"美国留给伊拉克的是个烂摊子吗"}
' '
curl -XPOST http://localhost:9200/index/fulltext/2 -d' curl -XPOST http://localhost:9200/index/fulltext/2 -d'
{content:"公安部:各地校车将享最高路权"} {"content":"公安部:各地校车将享最高路权"}
' '
curl -XPOST http://localhost:9200/index/fulltext/3 -d' curl -XPOST http://localhost:9200/index/fulltext/3 -d'
{content:"中韩渔警冲突调查:韩警平均每天扣1艘中国渔船"} {"content":"中韩渔警冲突调查:韩警平均每天扣1艘中国渔船"}
' '
curl -XPOST http://localhost:9200/index/fulltext/4 -d' curl -XPOST http://localhost:9200/index/fulltext/4 -d'
{content:"中国驻洛杉矶领事馆遭亚裔男子枪击 嫌犯已自首"} {"content":"中国驻洛杉矶领事馆遭亚裔男子枪击 嫌犯已自首"}
' '
</pre> </pre>
...@@ -216,4 +216,4 @@ have fun. ...@@ -216,4 +216,4 @@ have fun.
常见问题: 常见问题:
------------- -------------
1.自定义词典为什么没有生效? 1.自定义词典为什么没有生效?
请确保你的扩展词典的文本格式为UTF8编码 请确保你的扩展词典的文本格式为UTF8编码
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册