<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Solr - avoid 'multi-valued field can't be sorted' issue? in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Solr-avoid-multi-valued-field-can-t-be-sorted-issue/m-p/94685#M7971</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;The use case is a Banana dashboard working with a SolrCloud instance/cluster. If we follow default steps we end up using the 'data_driven_schema' in Solr, which makes it easy for it to accept any random data and try index it.&lt;/P&gt;&lt;P&gt;However, the problem is down the line. Banana &lt;EM&gt;table&lt;/EM&gt; widget can't sort on many columns as Solr complains about those fields being multi-valued. In fact, they are not, and unique (checked via admin section), but rather declared multi-valued.&lt;/P&gt;&lt;P&gt;What is the approach to address this? Ideally, without having to specify a complete new schema for a Solr index. Can one have a benefit of flexible fields, but default to non-multi-valued maybe?&lt;/P&gt;</description>
    <pubDate>Thu, 01 Oct 2015 20:46:09 GMT</pubDate>
    <dc:creator>andrewg</dc:creator>
    <dc:date>2015-10-01T20:46:09Z</dc:date>
    <item>
      <title>Solr - avoid 'multi-valued field can't be sorted' issue?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Solr-avoid-multi-valued-field-can-t-be-sorted-issue/m-p/94685#M7971</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;The use case is a Banana dashboard working with a SolrCloud instance/cluster. If we follow default steps we end up using the 'data_driven_schema' in Solr, which makes it easy for it to accept any random data and try index it.&lt;/P&gt;&lt;P&gt;However, the problem is down the line. Banana &lt;EM&gt;table&lt;/EM&gt; widget can't sort on many columns as Solr complains about those fields being multi-valued. In fact, they are not, and unique (checked via admin section), but rather declared multi-valued.&lt;/P&gt;&lt;P&gt;What is the approach to address this? Ideally, without having to specify a complete new schema for a Solr index. Can one have a benefit of flexible fields, but default to non-multi-valued maybe?&lt;/P&gt;</description>
      <pubDate>Thu, 01 Oct 2015 20:46:09 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Solr-avoid-multi-valued-field-can-t-be-sorted-issue/m-p/94685#M7971</guid>
      <dc:creator>andrewg</dc:creator>
      <dc:date>2015-10-01T20:46:09Z</dc:date>
    </item>
    <item>
      <title>Re: Solr - avoid 'multi-valued field can't be sorted' issue?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Solr-avoid-multi-valued-field-can-t-be-sorted-issue/m-p/94686#M7972</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/238/gbraccialli.html" nodeid="238"&gt;@Guilherme Braccialli&lt;/A&gt; &lt;/P&gt;</description>
      <pubDate>Sat, 05 Dec 2015 05:02:35 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Solr-avoid-multi-valued-field-can-t-be-sorted-issue/m-p/94686#M7972</guid>
      <dc:creator>nsabharwal</dc:creator>
      <dc:date>2015-12-05T05:02:35Z</dc:date>
    </item>
    <item>
      <title>Re: Solr - avoid 'multi-valued field can't be sorted' issue?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Solr-avoid-multi-valued-field-can-t-be-sorted-issue/m-p/94687#M7973</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/173/agrande.html" nodeid="173" target="_blank"&gt;@Andrew Grande&lt;/A&gt; are you using field name suffix? &lt;/P&gt;&lt;P&gt;I'm running &lt;A rel="user" href="https://community.cloudera.com/users/132/abajwa.html" nodeid="132" target="_blank"&gt;@Ali Bajwa&lt;/A&gt; twitter demo in Solr Cloud mode (hdp search 2.3.2 default rpm), using data_drive_schema and it seems to be working. Please see image below, only "tag_ss" field is multi-valued, other fields are not. I can sort on all the fields except tag_ss.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="631-screen-shot-2015-12-07-at-152223.png" style="width: 1996px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/24062i16E7DA234E695B7F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="631-screen-shot-2015-12-07-at-152223.png" alt="631-screen-shot-2015-12-07-at-152223.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Can you give some more details about your issue?&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2019 13:00:14 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Solr-avoid-multi-valued-field-can-t-be-sorted-issue/m-p/94687#M7973</guid>
      <dc:creator>gbraccialli3</dc:creator>
      <dc:date>2019-08-19T13:00:14Z</dc:date>
    </item>
    <item>
      <title>Re: Solr - avoid 'multi-valued field can't be sorted' issue?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Solr-avoid-multi-valued-field-can-t-be-sorted-issue/m-p/94688#M7974</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/173/agrande.html" nodeid="173"&gt;@Andrew Grande&lt;/A&gt; pinging to close this &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Feb 2016 10:19:48 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Solr-avoid-multi-valued-field-can-t-be-sorted-issue/m-p/94688#M7974</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2016-02-03T10:19:48Z</dc:date>
    </item>
  </channel>
</rss>

