GithubHelp home page GithubHelp logo

Comments (8)

medcl avatar medcl commented on June 11, 2024

有case吗?发一下/

from elasticsearch-analysis-pinyin.

i6448038 avatar i6448038 commented on June 11, 2024

给的例子,我又加入了一个数据:“name:黄大海”,结果我搜索“hdh”的时候,还是出现“刘德华”
curl http://localhost:9200/medcl/folks/_search?q=name:hdh
{"took":4,"timed_out":false,"_shards":{"total":5,"successful":5,"failed":0},"hits":{"total":1,"max_score":1.4957824,"hits":[{"_index":"medcl","_type":"folks","_id":"andy","_score":1.4957824,"_source":{"name":"刘德华"}}]}}

from elasticsearch-analysis-pinyin.

medcl avatar medcl commented on June 11, 2024

nGram是会匹配上的,不是完整匹配,dh命中的

from elasticsearch-analysis-pinyin.

i6448038 avatar i6448038 commented on June 11, 2024

我按照步骤一步一步写,结果总是结果都匹配不上
image
image
image
image

from elasticsearch-analysis-pinyin.

medcl avatar medcl commented on June 11, 2024

你字段都没指定啊,用这个字段:zname.name_pinyin

from elasticsearch-analysis-pinyin.

i6448038 avatar i6448038 commented on June 11, 2024

感谢您的来信!添加什么字段?是添加搜索字段吗?
image
image
但是搜索汉字:“黄大海”就可以
image
image

from elasticsearch-analysis-pinyin.

i6448038 avatar i6448038 commented on June 11, 2024

大神,我发现了你插件的一个问题,在查询的时候,如果url中的冒号":"是中文字符,就可以查到数据
image
image
但是如果冒号是英文字符”:“,就会出现这个问题:
image

from elasticsearch-analysis-pinyin.

medcl avatar medcl commented on June 11, 2024

太旧了,关闭了,有问题重新开

from elasticsearch-analysis-pinyin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.