<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>noterr0001</author_name>
  <author_url>https://blog.hatena.ne.jp/noterr0001/</author_url>
  <blog_title>のえら</blog_title>
  <blog_url>https://noterr0001.hateblo.jp/</blog_url>
  <categories>
    <anon>プログラミング</anon>
    <anon>rails</anon>
  </categories>
  <description>solrでfacetを使うと、指定したカラムごとにまとめた結果を取得することができる。 results = User.search do facet(:hoge_ids, :foo_ids) end results.facet(:hoge_ids).rows これはhoge_idsとfoo_idsでまとめて、facet(:hoge_ids).rowsでhoge_idsの結果を取得している。 このとき、まとめた件数が100件以上あっても上限が100件になってしまう。 # return 100 results.facet(:foo_ids).rows.count max100件の設定も指定もしてな…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnoterr0001.hateblo.jp%2Fentry%2F20161020%2F1476942604&quot; title=&quot;【rails】solrのfacetでカラムごとにまとめたときの件数が100しか取得できない - のえら&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-10-20 14:50:04</published>
  <title>【rails】solrのfacetでカラムごとにまとめたときの件数が100しか取得できない</title>
  <type>rich</type>
  <url>https://noterr0001.hateblo.jp/entry/20161020/1476942604</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
