<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>yomon8</author_name>
  <author_url>https://blog.hatena.ne.jp/yomon8/</author_url>
  <blog_title>YOMON8.NET</blog_title>
  <blog_url>https://yomon.hatenablog.com/</blog_url>
  <categories>
    <anon>Lucene.Solr</anon>
  </categories>
  <description>Solrで大量のAND条件でクエリ投げた場合などに以下のようなエラーが発生する場合があります。これを調査しました。 org.apache.lucene.search.BooleanQuery$TooManyClauses: maxClauseCount is set to 1024 BooleanQueryの制限値があるというエラーなのですが、 solrconfig.xmlのこの値、確かに1024なのでこれ調整すればいけそうです。 &lt;query&gt; &lt;!-- Maximum number of clauses in a boolean query... in the past, this aff…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyomon.hatenablog.com%2Fentry%2F2017%2F09%2F04%2F101954&quot; title=&quot;【Solrエラー対応】TooManyClauses: maxClauseCount is set to 1024 - YOMON8.NET&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>2017-09-04 10:19:54</published>
  <title>【Solrエラー対応】TooManyClauses: maxClauseCount is set to 1024</title>
  <type>rich</type>
  <url>https://yomon.hatenablog.com/entry/2017/09/04/101954</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
