Giter Site home page Giter Site logo

Comments (8)

shi-yuan avatar shi-yuan commented on June 14, 2024

可以写ESTestCase,进行测试

from elasticsearch-analysis-ansj.

shi-yuan avatar shi-yuan commented on June 14, 2024

可以看看Testing

from elasticsearch-analysis-ansj.

hotchwong avatar hotchwong commented on June 14, 2024

IDE用intellij ,现在是把es和ansj插件都下载下来,es可以单独启动,ansj插件不知道怎么放到es里,按maven模块做了依赖,也是没起来,提示es依赖的jar找不到类,劳烦指导下
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/cli/CommandLineParser

from elasticsearch-analysis-ansj.

shi-yuan avatar shi-yuan commented on June 14, 2024

您是用intellij直接run的elasticsearch,没起来,报的这个错吗?

from elasticsearch-analysis-ansj.

hotchwong avatar hotchwong commented on June 14, 2024

嗯,把插件做为子模块了,我把代码都拷到es里直接运行,现在可以了。
ps:我是想实现分词的时候每个用户都用自己的用户字典进行分词,看插件代码没找到入口,这个是需要改es源码(索引和查询的时候),还是ansj插件这块就可解决呢?

from elasticsearch-analysis-ansj.

ansjsun avatar ansjsun commented on June 14, 2024

同问

发自我的 iPhone

在 2016年11月23日,14:13,kaka [email protected] 写道:

嗯,把插件做为子模块了,我把代码都拷到es里直接运行,现在可以了。
ps:我是想实现分词的时候每个用户都用自己的用户字典进行分词,看插件代码没找到入口,这个是需要改es源码,还是ansj插件这块就可解决呢?


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

from elasticsearch-analysis-ansj.

shi-yuan avatar shi-yuan commented on June 14, 2024

每个用户都用自己的用户字典进行分词,意思是配置不同分析器,每个分词器加载自己的词典吗?

目前,插件配置的词典是全局生效的,暂不支持配置不同分析器,每个分词器加载自己的词典

from elasticsearch-analysis-ansj.

ansjsun avatar ansjsun commented on June 14, 2024

这个需求也是咱们的需求之一!

所以要做 思考题! 不难

发自我的 iPhone

在 2016年11月23日,22:15,shiyuan [email protected] 写道:

每个用户都用自己的用户字典进行分词,意思是配置不同分析器,每个分词器加载自己的词典吗?

目前,插件配置的词典是全局生效的,暂不支持配置不同分析器,每个分词器加载自己的词典


You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

from elasticsearch-analysis-ansj.

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.