Posts

Showing posts from October, 2018

Get token elasticsearch

Image
GET /categories/category/1/_termvectors { "fields" : ["name"], "offsets" : true, "payloads" : true, "positions" : true, "term_statistics" : true, "field_statistics" : true } POST _search { "query" : { "term" : { "user" : "Kimchy" } } }

Build elastic search vietnamese plugin

How to build Elasticsearch Vietnamese Analysis Plugin APR 21, 2017  on  Elasticsearch Recently, I’ve received many requests to build the Vietnamese Analysis plugin when a new version of Elasticsearch is released but sometimes I’m not available to do it immediately. In case of urgent, you can build the plugin yourself with following steps. Step 1: Install Java, Maven & Git The plugin is written in Java and built with Maven, so you have to install them first. Here is the instructions for installing  Java ,  Maven  and  Git . If you are using Mac, just use these commands: brew cask install java brew install maven brew install git Step 2: Build the VnTokenizer The plugin is based on the VNTokenizer library, you have to build it before building the plugin git clone https://github.com/duydo/vn-nlp-libraries.git cd vn-nlp-libraries/nlp-parent mvn install Step 3: Build the plugin Clone the plugin’s source code: git clone https://github.com...

vietnam data json

https://github.com/madnh/hanhchinhvn