Giter VIP home page Giter VIP logo

Comments (7)

jprante avatar jprante commented on August 20, 2024

I can not follow.

Can you give an example of the steps you do and what setting is not working for you?

from elasticsearch-langdetect.

vacuumisme avatar vacuumisme commented on August 20, 2024

yes, first i've tried 2.3.3 and installed plugin manually(i changed the es version in plugin-descriptor.properties). Next i've added some field definition in
"text":{ "term_vector":"yes", "type":"string", "include_in_all": false, "analyzer":"indexing_english", "fields":{ "lang":{ "type" : "langdetect", "store":true } } }
next I indexed documents. but when i query "exists" {"field":"text.lang"} or "aggs" with "terms" of that field, or even tried to return it with fields, i can't do it. I also tried es 2.3.1. and i tried separate field with "copy_to" from the first one. when i try endpoint it works. then i've tried to figure out what is diff and i find that ngrams map is not loaded i think it because of the difference in settings that are passed to constructor.
P.S. when I get mapping from elastic for that field it is
"lang" : { "type" : "langdetect", "analyzer" : "_keyword", "position_increment_gap" : 100 }

from elasticsearch-langdetect.

vacuumisme avatar vacuumisme commented on August 20, 2024

i also tried example from yuor tutorial, the query returns 0 hits

from elasticsearch-langdetect.

jprante avatar jprante commented on August 20, 2024

Thanks for your report.

Indeed, the examples did not work, there was a small flaw, the default languages were not set.

I fixed it in 2.3.3.0

from elasticsearch-langdetect.

vacuumisme avatar vacuumisme commented on August 20, 2024

Awesome, thank you, by the way 2.3.3 release zip still doesn't exist

from elasticsearch-langdetect.

vggg avatar vggg commented on August 20, 2024

+1 for 2.3.3.0 Release version

from elasticsearch-langdetect.

jprante avatar jprante commented on August 20, 2024

@vggg 2.3.3.0 has been uploaded since June 12 http://xbib.org/repository/org/xbib/elasticsearch/plugin/elasticsearch-langdetect/2.3.3.0/

from elasticsearch-langdetect.

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.