<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body>
    <p>If you're using the schema.xml that came with ArchivesSpace 3.0.1
      in your external Solr 8.11, then it will still define the
      "sort_icu" fieldType as an instance of the solr.TextField class.
      If you look below that, there is a commented-out alternative
      fieldType definition which is an instance of
      solr.ICUCollationField. ArchivesSpace 3.2.0 has changed to that
      (because it no longer has to support the previously-built-in Solr
      4.10) but you don't need to upgrade to it, you can just edit your
      schema.xml, then reload the Solr core. See the link in my previous
      email for help on how to set that up to be optimized for Japanese
      characters.</p>
    <p>Andrew.</p>
    <p><br>
    </p>
    <div class="moz-cite-prefix">On 28/04/2022 09:44, 松山 ひとみ wrote:<br>
    </div>
    <blockquote type="cite" cite="mid:OS3P286MB12397DD80751D07B3496D143C5FD9@OS3P286MB1239.JPNP286.PROD.OUTLOOK.COM">
      
      <meta name="Generator" content="Microsoft Word 15 (filtered
        medium)">
      <style>@font-face
        {font-family:"MS ゴシック";
        panose-1:2 11 6 9 7 2 5 8 2 4;}@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}@font-face
        {font-family:游ゴシック;
        panose-1:2 11 4 0 0 0 0 0 0 0;}@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}@font-face
        {font-family:"MS Pゴシック";
        panose-1:2 11 6 0 7 2 5 8 2 4;}@font-face
        {font-family:"\@游ゴシック";
        panose-1:2 11 4 0 0 0 0 0 0 0;}@font-face
        {font-family:"\@MS Pゴシック";}@font-face
        {font-family:"\@MS ゴシック";
        panose-1:2 11 6 9 7 2 5 8 2 4;}p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0mm;
        text-align:justify;
        text-justify:inter-ideograph;
        font-size:10.5pt;
        font-family:游ゴシック;}a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}pre
        {mso-style-priority:99;
        mso-style-link:"HTML 書式付き \(文字\)";
        margin:0mm;
        text-align:left;
        font-size:12.0pt;
        font-family:"MS ゴシック";}span.HTML
        {mso-style-name:"HTML 書式付き \(文字\)";
        mso-style-priority:99;
        mso-style-link:"HTML 書式付き";
        font-family:"Courier New";}.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}div.WordSection1
        {page:WordSection1;}</style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026">
<v:textbox inset="5.85pt,.7pt,5.85pt,.7pt" />
</o:shapedefaults></xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
      <div class="WordSection1">
        <p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif" lang="EN-US">Thank you Andrew!<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif" lang="EN-US"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif" lang="EN-US">Our IT says we’ve already been using an
            external Solr 8.11 with ArchivesSpace 3.0.1, not the one
            built-in.<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif" lang="EN-US">We’re thinking of upgrading our AS to 3.2.0. Do
            you think we will get a better result?
            <o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif" lang="EN-US"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif" lang="EN-US">Hitomi<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif" lang="EN-US"><o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt" lang="EN-US"><o:p> </o:p></span></p>
        <div>
          <div style="border:none;border-top:solid #E1E1E1
            1.0pt;padding:3.0pt 0mm 0mm 0mm">
            <p class="MsoNormal" style="text-align:left" align="left"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif" lang="EN-US">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif" lang="EN-US">
                <a class="moz-txt-link-abbreviated" href="mailto:archivesspace_users_group-bounces@lyralists.lyrasis.org">archivesspace_users_group-bounces@lyralists.lyrasis.org</a>
<a class="moz-txt-link-rfc2396E" href="mailto:archivesspace_users_group-bounces@lyralists.lyrasis.org"><archivesspace_users_group-bounces@lyralists.lyrasis.org></a> <b>On
                  Behalf Of </b>Andrew Morrison<br>
                <b>Sent:</b> Thursday, April 28, 2022 4:47 PM<br>
                <b>To:</b>
                <a class="moz-txt-link-abbreviated" href="mailto:archivesspace_users_group@lyralists.lyrasis.org">archivesspace_users_group@lyralists.lyrasis.org</a><br>
                <b>Subject:</b> Re: [Archivesspace_Users_Group] PUI
                Ordering and Sorting Issue<o:p></o:p></span></p>
          </div>
        </div>
        <p class="MsoNormal" style="text-align:left" align="left"><span lang="EN-US"><o:p> </o:p></span></p>
        <p><span lang="EN-US">Are you using the built-in Solr search
            engine that comes with ArchivesSpace 3.0.1? If so, your
            sorting problems could be because it uses a very old
            version, because newer ones aren't compatible with the
            method of embedding it in a bigger application. But there is
            the option to configure ArchivesSpace to use an external
            Solr service:</span><span style="font-size:12.0pt" lang="EN-US"><o:p></o:p></span></p>
        <p><span lang="EN-US"><a href="https://archivesspace.github.io/tech-docs/provisioning/solr.html" moz-do-not-send="true" class="moz-txt-link-freetext">https://archivesspace.github.io/tech-docs/provisioning/solr.html</a><o:p></o:p></span></p>
        <p><span lang="EN-US">That allows you to run a more up-to-date
            version, which would enable use of the
            solr.ICUCollationField class for sort fields. That can be
            adjusted to sort different languages according to their own
            sorting rules, as described here:<o:p></o:p></span></p>
        <p><span lang="EN-US"><a href="https://solr.apache.org/guide/8_11/language-analysis.html#unicode-collation" moz-do-not-send="true" class="moz-txt-link-freetext">https://solr.apache.org/guide/8_11/language-analysis.html#unicode-collation</a><o:p></o:p></span></p>
        <p><span lang="EN-US">ArchivesSpace 3.2.0 removes the built-in
            Solr, so running an external Solr service will be necessary
            if you upgrade in the future.<o:p></o:p></span></p>
        <p><span lang="EN-US">As for adding the option to sort on
            identifiers, I don't think there is a configuration option
            or simple interface for adding them. But it would probably
            be possible to develop a plug-in to override certain Ruby
            methods in the core code to do it.<o:p></o:p></span></p>
        <p><span lang="EN-US">Andrew.<o:p></o:p></span></p>
        <p><span lang="EN-US"><o:p> </o:p></span></p>
        <div>
          <p class="MsoNormal"><span lang="EN-US">On 27/04/2022 11:04, </span>松山
            ひとみ<span lang="EN-US"> wrote:<o:p></o:p></span></p>
        </div>
        <blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
          <p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif" lang="EN-US">Hello all,</span><span lang="EN-US"><o:p></o:p></span></p>
          <p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif" lang="EN-US"> </span><span lang="EN-US"><o:p></o:p></span></p>
          <p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif" lang="EN-US">We’ve been stuck in the “ordering and
              sorting” issue in [~/repositories/resources]. Our AS is
              version 3.0.1.</span><span lang="EN-US"><o:p></o:p></span></p>
          <p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif" lang="EN-US">Presumably, because we use Japanese
              Character, our resource list cannot be displayed in a
              right, alphabetical order when sorted by Title.</span><span lang="EN-US"><o:p></o:p></span></p>
          <p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif" lang="EN-US"> </span><span lang="EN-US"><o:p></o:p></span></p>
          <p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif" lang="EN-US">Could we add Identifier to the category of
              sorting; Relevance/Title(Asc/Desc)/Year(Asc/Desc), as
              alternative?</span><span lang="EN-US"><o:p></o:p></span></p>
          <p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif" lang="EN-US">We’d very much appreciate you helping solve
              our issue!
            </span><span lang="EN-US"><o:p></o:p></span></p>
          <p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif" lang="EN-US"> </span><span lang="EN-US"><o:p></o:p></span></p>
          <p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif" lang="EN-US"> </span><span lang="EN-US"><o:p></o:p></span></p>
          <p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif" lang="EN-US">All the best,</span><span lang="EN-US"><o:p></o:p></span></p>
          <p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif" lang="EN-US">Hitomi Matsuyama, Audiovisual Archivist</span><span lang="EN-US"><o:p></o:p></span></p>
          <p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif" lang="EN-US"> </span><span lang="EN-US"><o:p></o:p></span></p>
          <p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif" lang="EN-US">Nakanoshima Museum of Art, Osaka</span><span lang="EN-US"><o:p></o:p></span></p>
          <p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif" lang="EN-US">4-3-1 Nakanoshima, Kita-ku</span><span lang="EN-US"><o:p></o:p></span></p>
          <p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif" lang="EN-US">Osaka 530-0005 JAPAN</span><span lang="EN-US"><o:p></o:p></span></p>
          <p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif" lang="EN-US">tel. +81 (0)6 64 79 05 58</span><span lang="EN-US"><o:p></o:p></span></p>
          <p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif" lang="EN-US">email.
              <a href="mailto:matsuyama-h@nakka-art.jp" moz-do-not-send="true"><span style="color:#0563C1">matsuyama-h@nakka-art.jp</span></a></span><span lang="EN-US"><o:p></o:p></span></p>
          <p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif" lang="EN-US"> </span><span lang="EN-US"><o:p></o:p></span></p>
          <p class="MsoNormal"><span lang="EN-US"> <o:p></o:p></span></p>
          <p class="MsoNormal" style="text-align:left" align="left"><span style="font-size:12.0pt;font-family:"MS Pゴシック"" lang="EN-US"><br>
              <br>
              <o:p></o:p></span></p>
          <pre><span lang="EN-US">_______________________________________________<o:p></o:p></span></pre>
          <pre><span lang="EN-US">Archivesspace_Users_Group mailing list<o:p></o:p></span></pre>
          <pre><span lang="EN-US"><a href="mailto:Archivesspace_Users_Group@lyralists.lyrasis.org" moz-do-not-send="true" class="moz-txt-link-freetext">Archivesspace_Users_Group@lyralists.lyrasis.org</a><o:p></o:p></span></pre>
          <pre><span lang="EN-US"><a href="http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group" moz-do-not-send="true" class="moz-txt-link-freetext">http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group</a><o:p></o:p></span></pre>
        </blockquote>
      </div>
      <br>
      <fieldset class="moz-mime-attachment-header"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
Archivesspace_Users_Group mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Archivesspace_Users_Group@lyralists.lyrasis.org">Archivesspace_Users_Group@lyralists.lyrasis.org</a>
<a class="moz-txt-link-freetext" href="http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group">http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group</a>
</pre>
    </blockquote>
  </body>
</html>