<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>uggds</author_name>
  <author_url>https://blog.hatena.ne.jp/uggds/</author_url>
  <blog_title>UGA Boxxx</blog_title>
  <blog_url>https://uga-box.hatenablog.com/</blog_url>
  <categories>
    <anon>Elasticsearch</anon>
  </categories>
  <description>Elasticsearchのあるフィールドがnullであるものを検索したい つらいのが、そのフィールドにnull_valueを設定していないため、&quot;NULL&quot;という文字列で検索ができない null_value | Elasticsearch Guide [8.5] | Elastic そこで思いついたのが、existsを使う方法 以前、existsを使ってElasticsearchで不要なフィールドの削除しようとしたが、existsクエリはフィールドがnullかつnull_valueの設定をしていない場合、フィールドを持っていないと判断するため、ちょっと工夫が必要という記事を書いた qiita…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fuga-box.hatenablog.com%2Fentry%2F2022%2F12%2F22%2F000000&quot; title=&quot;【Elasticsearch】null_valueの設定をしていないフィールドがnullのものを検索したい - UGA Boxxx&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>2022-12-22 00:00:00</published>
  <title>【Elasticsearch】null_valueの設定をしていないフィールドがnullのものを検索したい</title>
  <type>rich</type>
  <url>https://uga-box.hatenablog.com/entry/2022/12/22/000000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
