Coder Social home page Coder Social logo

Comments (3)

sing1ee avatar sing1ee commented on May 20, 2024

@yyhjifeng 没明白,字就是term query,词就是phrase query

from elasticsearch-jieba-plugin.

yyhjifeng avatar yyhjifeng commented on May 20, 2024

就是我这边根据readme 到了 http://localhost:9200/jieba_index/fulltext/_search
{
"query" : { "match" : { "content" : "北京大学" }},

这一步, 得到结果和你写的不一致 。我这边 是
"**的伟《大》时代来临了,欢迎参观《北》《京》《大》《学》PKU"

第一个问题,这个结果好像是按字匹配。不是按词。和你文档写的结果不一致
第二个问题, 同义词好像失效。

我这边是按照你文档一步一步复制粘贴,按理没有问题的呢。why?

from elasticsearch-jieba-plugin.

yyhjifeng avatar yyhjifeng commented on May 20, 2024

没有执行mapping 这一步

from elasticsearch-jieba-plugin.

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.