<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>visasq_developers</author_name>
  <author_url>https://blog.hatena.ne.jp/visasq_developers/</author_url>
  <blog_title>VISASQ Dev Blog</blog_title>
  <blog_url>https://tech.visasq.com/</blog_url>
  <categories>
    <anon>技術記事</anon>
  </categories>
  <description>こんにちは、検索チームのよこやまです。 最近単語の位置を考慮した検索について調べる機会があり、ElasticsearchのIntervalsクエリを確認していたため、調べた一部をご紹介できればと思います。Intervalsクエリは意外と使用している例が見つかりづらく、パッと見挙動も分かりづらいため、ここでご紹介した内容がお役に立てれば幸いです。 ※ Intervalsクエリは「単語の位置」ではなく「トークンの位置」を考慮しますが、この記事では以下の前提で述べるように英文に対してstandard analyzerを適用するため、単語とトークンを同じものとして表記します 前提 Elasticsea…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftech.visasq.com%2Felasticsearch-intervals-query%2F&quot; title=&quot;ElasticsearchのIntervalsクエリで単語間の位置を考慮した検索を行う - VISASQ Dev Blog&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.user.blog.st-hatena.com/default_entry_og_image/158653763/1648720817550755</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2021-10-06 13:39:12</published>
  <title>ElasticsearchのIntervalsクエリで単語間の位置を考慮した検索を行う</title>
  <type>rich</type>
  <url>https://tech.visasq.com/elasticsearch-intervals-query/</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
