NI-Lab.

nilog:

← 前の日 2020-05-16 次の日 →
← 一年前 一年後 →
Twitter (2020-05-16)
"The Japanese (kuromoji) Analysis plugin integrates Lucene kuromoji analysis module into elasticsearch."

Japanese (kuromoji) Analysis Plugin | Elasticsearch Plugins and Integrations [7.7] | Elastic https://www.elastic.co/guide/en/elasticsearch/plugins/current/analysis-kuromoji.html
[t] 2020-05-16 22:15:03
関連するかも情報
こちらも参考に。

「Elasticsearch と日本語検索プラグイン「 kuromoji 」をインストールします」

はじめての Elasticsearch - Qiita https://qiita.com/nskydiving/items/1c2dc4e0b9c98d164329
[t] 2020-05-16 22:12:35
"The Japanese (kuromoji) Analysis plugin integrates Lucene kuromoji analysis module into elasticsearch."

Japanese (kuromoji) Analysis Plugin | Elasticsearch Plugins and Integrations [7.7] | Elastic https://www.elastic.co/guide/en/elasticsearch/plugins/current/analysis-kuromoji.html
[t] 2020-05-16 22:15:03
Elasticsearch を macOS にインストール。

$ tar -xzf elasticsearch-7.7.0-darwin-x86_64.tar.gz

$ cd elasticsearch-7.7.0/

$ ./bin/elasticsearch-plugin install analysis-kuromoji
[t] 2020-05-16 22:18:43
Elasticsearch を起動。

$ ./bin/elasticsearch
OpenJDK 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release.
[t] 2020-05-16 22:18:43
curl でアクセス。

$ curl http://localhost:9200/
{
"name" : "myFooBarMacBookAir.local",
"cluster_name" : "elasticsearch",
"cluster_uuid" : "ej_VZVBSTOuQnTP8z3VqYq",
"version" : {
"number" : "7.7.0",
"build_flavor" : "default",
"build_type" : "tar",
[t] 2020-05-16 22:19:33
"build_hash" : "81a1e9eda8e6183f5237786246f6dced26a10eaf",
"build_date" : "2020-05-12T02:01:37.602180Z",
"build_snapshot" : false,
"lucene_version" : "8.5.1",
"minimum_wire_compatibility_version" : "6.8.0",
[t] 2020-05-16 22:19:34
"minimum_index_compatibility_version" : "6.0.0-beta1"
},
"tagline" : "You Know, for Search"
}
[t] 2020-05-16 22:19:34
#nowplaying 恋する完全犯罪 - バンドじゃないもん! ♪
[t] 2020-05-16 22:23:57
【話題のキーワード】
1. ジェスター
2. 完全在宅Dreamer
3. アド街
4. エイトレンジャー
5. ルワンダ大虐殺
6. ロマンス劇場
7. 報道特集
8. マモ
9. 竹むら
https://search.yahoo.co.jp/realtime #buzzbot
[t] 2020-05-16 22:30:53
「Mac OS X上でGroongaをインストールする方法を説明します。 MacPorts か Homebrew を使ってインストールできます」
「MeCab をトークナイザーとして使いたいときは、 --with-mecab オプションを指定」

2.2. Mac OS X — Groonga v10.0.2ドキュメント https://groonga.org/ja/docs/install/mac_os_x.html
[t] 2020-05-16 22:40:53
$ brew install groonga

指定してないけど mecab と mecab-ipadic もインストールされたっぽい。

mecab-ipadic
To enable mecab-ipadic dictionary, add to /usr/local/etc/mecabrc:
dicdir = /usr/local/lib/mecab/dic/ipadic
[t] 2020-05-16 22:42:40
$ sed -i '' -e 's,dicrc.*=.*,dicrc = /usr/local/lib/mecab/dic/ipadic,g' /usr/local/etc/mecabrc
[t] 2020-05-16 22:43:28
groonga -n でDB作成。

「DB_PATHは、新しく作成するデータベースのパスを指定します。データベースは複数のファイルによって構成されるため、正確には、データベースの入り口となるファイルのパスとして使用されます」

4.1. 基本的な操作 — Groonga v10.0.2ドキュメント https://groonga.org/ja/docs/tutorial/introduction.html
[t] 2020-05-16 22:49:42
RT @nomorehole2:
花見を妥協する話です。 https://twitter.com/nomorehole2/status/1248826734054477824/photo/1
[t] 2020-05-16 23:38:05
2020年05年16日のnilogをすべて表示する

- NI-Lab.
- Mastodon (@nilab@mastodon-japan.net)
- Twitter (@nilab)
- Timelog (@nilab)
- はてなブックマーク (id:nilab)

Web Services by Yahoo! JAPAN