Elastic Stackの紹介とOpenStackでの活用事例(Searchlightなど) - OpenStack最新情報セミナー 2016年5月VirtualTech Japan Inc.
Elastic Stackの紹介とOpenStackでの活用事例(Searchlightなど) - OpenStack最新情報セミナー 2016年5月VirtualTech Japan Inc.
ElasticsearchをDebianにインストール。 Pythonから操作してみました。 Elasticsearch 1.4をDebian 7にインストールする Elasticsearch 1.4にPythonから接続する 日本語ドキュメントを登録して検索してみます。 検索用のデータ こちらで登録した郵便番号データを検索してみます。 Elasticsearch + Pythonでバルクインサート(helpers.bulk) 登録用のソースはこんな感じでした。 # -*- coding:utf-8 -*-import zipfileimport cStringIOfrom elasticsearch import Elasticsearchfrom elasticsearch import helpersdef read_all(): """ 郵便番号辞書の読み込み """
忘備録 【OS】 今回はCentOS6.6_x86_64版を使用。詳細は以下を参照。 http://centos.server-manual.com/ 事前準備 セットアップに必要なパッケージを事前に設定しておく必要がある。以下を全て設定する。 システム変更が発生するので管理者権限が必須。rootにsuしておく事。 【YUMパッケージ管理】 yum -y install yum-plugin-fastestmirror yum -y update yum -y groupinstall "Base" "Development tools" "Japanese Support" [RPMforgeリポジトリ追加] rpm --import http://apt.sw.be/RPM-GPG-KEY.dag.txt rpm -ivh http://apt.sw.be/redhat/el6/en/
検索エンジン選びは大変です!現時点でnanapiではmroongaを使っていますが、もっと検索エンジンらしい機能がほしくなったりします。 またそれ以外にも今後拡張するだろう機能をカバーしきれないような予感が徐々にしているので、ゆるゆると検索エンジンを検証し始めています。 そんななか、elasticsearchがイケてるらしいという情報をキャッチしたので使ってみました。今回はelasticsearchを簡単に動かすまでのチュートリアル的なものを紹介します。 Free and Open Search: The Creators of Elasticsearch, ELK & Kibana | Elastic elasticsearchとは? Apache Lucene上で稼働する全文検索エンジンです。 特徴としては、REST APIをもちJSONですべてやり取りできるところです。このあたりから
(募集はダミーデータです) (参考: ドキュメント登録の流れについては Elasticsearch 入門 を参照すると良いです。) Analyzer 上記のデータを実際に入れる前に、index の作成と analyzer の設定をします。 以下のコマンドを実行することで analyzer の設定ができます。 下記で説明して行きます。 curl -XPUT 'http://localhost:9200/wantedly-demo' -d \ '{ "settings": { "analysis": { "filter": { "pos_filter": { "type": "kuromoji_part_of_speech", "stoptags": [ "助詞-格助詞-一般", "助詞-終助詞" ] }, "greek_lowercase_filter": { "type": "lowerc
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く