<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>nainaistar</author_name>
  <author_url>https://blog.hatena.ne.jp/nainaistar/</author_url>
  <blog_title>きり丸の技術日記</blog_title>
  <blog_url>https://nainaistar.hatenablog.com/</blog_url>
  <categories>
    <anon>ElasticSearch</anon>
    <anon>技術</anon>
  </categories>
  <description>Qiitaで書いた記事を微妙に書き直して、はてなブログに移行させます。 「ElasticSearchで正規表現やワイルドカード検索がしたい！」 という顧客要望に応えるため、何とかできないか試したときのメモ。 環境 ElasticSearch 結論 データ型がkeywordのフィールドに対しては、正規表現検索は有効 データ型がtextのフィールドに対しては、意図に沿わないことが多い 書かないこと 正規表現検索で劣化する性能の具体的な値 原因 データ型がkeywordはアナライザによる単語分割が行われないため、正規表現で目的の単語がヒットしやすいです。 データ型がtextのフィールドはアナライザに…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnainaistar.hatenablog.com%2Fentry%2F2020%2F11%2F13%2F083000&quot; title=&quot;ElasticSearchの「正規表現」「ワイルドカード検索」は性能的にも業務的にもメリットが薄かった - きり丸の技術日記&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>https://cdn-ak.f.st-hatena.com/images/fotolife/n/nainaistar/20201112/20201112231220.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2020-11-13 08:30:00</published>
  <title>ElasticSearchの「正規表現」「ワイルドカード検索」は性能的にも業務的にもメリットが薄かった</title>
  <type>rich</type>
  <url>https://nainaistar.hatenablog.com/entry/2020/11/13/083000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
