GithubHelp home page GithubHelp logo

Comments (24)

wa-ooo avatar wa-ooo commented on June 14, 2024 4

你好 ,请问怎么在不停止服务更新词典,我试了下替换词典,reopen index 词典貌似不生效

from elasticsearch-jieba-plugin.

sing1ee avatar sing1ee commented on June 14, 2024 2

@wa-ooo @nuass @leafney 最新的master分支和7.7.0的分支都支持字典的热更新了。具体使用见在线更新字段说明

from elasticsearch-jieba-plugin.

jerry-00 avatar jerry-00 commented on June 14, 2024 2

还有7.6.2的版本么?

from elasticsearch-jieba-plugin.

wangyifaer avatar wangyifaer commented on June 14, 2024

es集成jieba分词做全文检索的时候,es的高亮显示会发生偏移。原因是jieba记载postion的方式和es不融洽。我做了修改,问题已经解决,发现效果很好。
https://github.com/wangyifaer/esplugins-jieba

from elasticsearch-jieba-plugin.

wangyifaer avatar wangyifaer commented on June 14, 2024

您好还有一个问题,es结成jieba后,一旦加入自定义分词,就会导致所有es索引自动关闭,原因应该是读取自定义词典失败

from elasticsearch-jieba-plugin.

sing1ee avatar sing1ee commented on June 14, 2024

from elasticsearch-jieba-plugin.

nuass avatar nuass commented on June 14, 2024

jieba字典怎么热更新?

from elasticsearch-jieba-plugin.

leafney avatar leafney commented on June 14, 2024

jieba字典怎么热更新?

同问

from elasticsearch-jieba-plugin.

yataosu avatar yataosu commented on June 14, 2024

能否加入对自定义词典的热更新功能, 每次重启服务太伤了

from elasticsearch-jieba-plugin.

sing1ee avatar sing1ee commented on June 14, 2024

from elasticsearch-jieba-plugin.

sing1ee avatar sing1ee commented on June 14, 2024

@nuass @leafney @Old-Su
字典的热更新可以加,不过有一个疑问:更新字典,总是需要重建索引的。

from elasticsearch-jieba-plugin.

iwaitu avatar iwaitu commented on June 14, 2024

什么时候能跟上es 的官方版本呀,7.70 了

from elasticsearch-jieba-plugin.

sing1ee avatar sing1ee commented on June 14, 2024

@iwaitu OK了

from elasticsearch-jieba-plugin.

sing1ee avatar sing1ee commented on June 14, 2024

还有7.6.2的版本么?

这个改一下版本号,自己打包即可。

from elasticsearch-jieba-plugin.

icelighting avatar icelighting commented on June 14, 2024

为啥我用7.7.0版本改6.8.0版本也没有热更新

from elasticsearch-jieba-plugin.

phpsxg avatar phpsxg commented on June 14, 2024

我使用的es是7.9.2,下载源码后,修改build.gradle,plugin-descriptor.properties文件对应的版本后执行gradle pz,报如下错误

  • What went wrong:
    Could not determine the dependencies of task ':pz'.

Could not resolve all task dependencies for configuration ':distJars'.
Could not resolve project :jieba-analysis.
Required by:
project :
> Project : declares a dependency from configuration 'compile' to configuration 'default' which is not declared in the descriptor for project :jieba-analysis.

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

from elasticsearch-jieba-plugin.

phpsxg avatar phpsxg commented on June 14, 2024

还有7.6.2的版本么?

这个改一下版本号,自己打包即可。

你那边打包正常吗,我这边打包报错如下:
Downloading https://services.gradle.org/distributions/gradle-4.4.1-bin.zip

Exception in thread "main" java.net.ConnectException: Connection timed out (Connection timed out)

from elasticsearch-jieba-plugin.

sing1ee avatar sing1ee commented on June 14, 2024

from elasticsearch-jieba-plugin.

phpsxg avatar phpsxg commented on June 14, 2024

网络得问题,想想办法 孙晓光 @.***> 于2021年4月8日周四 上午8:47写道:

还有7.6.2的版本么? 这个改一下版本号,自己打包即可。 你那边打包正常吗,我这边打包报错如下: Downloading https://services.gradle.org/distributions/gradle-4.4.1-bin.zip Exception in thread "main" java.net.ConnectException: Connection timed out (Connection timed out) — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub <#40 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAICIWXI3K4DHTTOCVI3TKLTHT4JVANCNFSM4IIZ2UEQ .
执行gradel pz报如下错误,你遇到过吗

root@DESKTOP-LAKGMPD:/mnt/f/STHG/install/ElasticSearch/aaa/elasticsearch-jieba-plugin-7.7.1# gradle pz

FAILURE: Build failed with an exception.

* What went wrong:
Could not determine the dependencies of task ':pz'.
> Could not resolve all task dependencies for configuration ':distJars'.
   > Could not resolve project :jieba-analysis.
     Required by:
         project :
      > Project : declares a dependency from configuration 'compile' to configuration 'default' which is not declared in the descriptor for project :jieba-analysis.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 1s
root@DESKTOP-LAKGMPD:/mnt/f/STHG/install/ElasticSearch/aaa/elasticsearch-jieba-plugin-7.7.1#

from elasticsearch-jieba-plugin.

hezhiqiang avatar hezhiqiang commented on June 14, 2024

es集成jieba分词做全文检索的时候,es的高亮显示会发生偏移。原因是jieba记载postion的方式和es不融洽。我做了修改,问题已经解决,发现效果很好。 https://github.com/wangyifaer/esplugins-jieba

高亮问题具体要怎么改?能说说吗?我也碰到这个问题了

from elasticsearch-jieba-plugin.

hezhiqiang avatar hezhiqiang commented on June 14, 2024

能否加自定义分词功能,用户可以配置,比如:说客英语 => 说客英语 , 说客,这个说客英语就被分词为说客英语和说客

from elasticsearch-jieba-plugin.

sing1ee avatar sing1ee commented on June 14, 2024

高亮问题具体要怎么改?能说说吗?我也碰到这个问题了

这个问题,我来看一下。具体给我个例子吧

from elasticsearch-jieba-plugin.

wangyifaer avatar wangyifaer commented on June 14, 2024

es集成jieba分词做全文检索的时候,es的高亮显示会发生偏移。原因是jieba记载postion的方式和es不融洽。我做了修改,问题已经解决,发现效果很好。 https://github.com/wangyifaer/esplugins-jieba

高亮问题具体要怎么改?能说说吗?我也碰到这个问题了

注意一下高亮那块的代码是否有问题,或者升级es最新版本试试,有可能是分词器和es兼容导致的。如果还不行,就自己修改一下es源码里的position定位那块内容

from elasticsearch-jieba-plugin.

zyokia avatar zyokia commented on June 14, 2024

现在有版本可以支持动态删除词库吗,我看只有新加词库

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.