<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>gfx</author_name>
  <author_url>https://blog.hatena.ne.jp/gfx/</author_url>
  <blog_title>Islands in the byte stream</blog_title>
  <blog_url>https://gfx.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>環境: Elasticsearch 1.7.3, elasticsearch-rails 0.1.8 ドキュメントごとにフィールドがどうanalyzeされて格納するかを管理画面に表示したいのだけど、そういう便利APIはないみたい。 そこでmappingの設定を読んで一つ一つ _analyze するユーティリティを定義することにした。 ついでに _source も表示することにした。 module Searchable included do include Elasticsearch::Model # ... def es_perform_request(method, path, param…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fgfx.hatenablog.com%2Fentry%2F2016%2F01%2F07%2F150234&quot; title=&quot;Elasticsearch+Railsでフィールドがどうanalyzeされるかをドキュメントごとに見る - Islands in the byte stream&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2016-01-07 15:02:34</published>
  <title>Elasticsearch+Railsでフィールドがどうanalyzeされるかをドキュメントごとに見る</title>
  <type>rich</type>
  <url>https://gfx.hatenablog.com/entry/2016/01/07/150234</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
