<?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>topic Re: Solr search result changes depending on browser used in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/solr-search-result-changes-depending-on-browser-used/m-p/121168#M33264</link>
    <description>&lt;P&gt;I have something similar long time ago and my solution was config &lt;A href="https://knowm.org/set-tomcats-default-locale/" target="_self" rel="nofollow noopener noreferrer"&gt;tomcat's locale&lt;/A&gt; and also being sure about the local of the database (this step depend on which datavase are you using).&lt;/P&gt;</description>
    <pubDate>Thu, 18 Feb 2021 09:15:50 GMT</pubDate>
    <dc:creator>cristinamr</dc:creator>
    <dc:date>2021-02-18T09:15:50Z</dc:date>
    <item>
      <title>Solr search result changes depending on browser used</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/solr-search-result-changes-depending-on-browser-used/m-p/121164#M33260</link>
      <description>&lt;P&gt;Just intalled a new instance of Alfresco 6.2...Loaded some documents into&lt;/P&gt;&lt;P&gt;With the same said running server, performing the test simultaneously with different devices:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;IF I perform a query from the laptop (ubuntu + Firefox 85.01) the rusult shows all the files CONTAINING that(those) word INSIDE&amp;nbsp; the document or in the filename&lt;/LI&gt;&lt;LI&gt;IF i perform a query from the laptop (ubuntu + Chrome&amp;nbsp; 88.0.4324.150) the result shows all the files that has the FILENAME containing that word&lt;/LI&gt;&lt;LI&gt;IF i perform a query from and Android tablet (Firefox or Chrome ) the result shows all the files that has the FILENAME containing that word&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;There are no error in catalina log&amp;nbsp; nor in solr log... ( well... actually firefox is getting the expected results...)&lt;/P&gt;&lt;P&gt;strange indeed...&lt;/P&gt;&lt;P&gt;Does this strange behaviour suggest what could be wrong in the solr/alfresco configuration ?&lt;/P&gt;&lt;P&gt;May the different user agent make Solr answer in a different way ?&lt;/P&gt;&lt;P&gt;Thanks in advance for your help...&lt;/P&gt;&lt;P&gt;Giuliano&lt;/P&gt;</description>
      <pubDate>Wed, 17 Feb 2021 20:33:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/solr-search-result-changes-depending-on-browser-used/m-p/121164#M33260</guid>
      <dc:creator>Giuliano</dc:creator>
      <dc:date>2021-02-17T20:33:44Z</dc:date>
    </item>
    <item>
      <title>Re: Solr search result changes depending on browser used</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/solr-search-result-changes-depending-on-browser-used/m-p/121165#M33261</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Please check your locale values,&lt;/P&gt;&lt;P&gt;&lt;EM&gt;# Data types that support cross locale/word splitting/token patterns if tokenised&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;alfresco.cross.locale.datatype.0={&lt;A href="http://www.alfresco.org/model/dictionary/1.0}text" target="_blank" rel="nofollow noopener noreferrer"&gt;http://www.alfresco.org/model/dictionary/1.0}text&lt;/A&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;alfresco.cross.locale.datatype.1={&lt;A href="http://www.alfresco.org/model/dictionary/1.0}content" target="_blank" rel="nofollow noopener noreferrer"&gt;http://www.alfresco.org/model/dictionary/1.0}content&lt;/A&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;alfresco.cross.locale.datatype.2={&lt;A href="http://www.alfresco.org/model/dictionary/1.0}mltext" target="_blank" rel="nofollow noopener noreferrer"&gt;http://www.alfresco.org/model/dictionary/1.0}mltext&lt;/A&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;A title="https://github.com/keensoft/alf-21940-repo" href="https://github.com/keensoft/alf-21940-repo" target="_blank" rel="nofollow noopener noreferrer"&gt;GitHub - keensoft/alf-21940-repo: Alfresco SOLR issue when using multiple locales&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Feb 2021 20:55:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/solr-search-result-changes-depending-on-browser-used/m-p/121165#M33261</guid>
      <dc:creator>arjunmony</dc:creator>
      <dc:date>2021-02-17T20:55:25Z</dc:date>
    </item>
    <item>
      <title>Re: Solr search result changes depending on browser used</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/solr-search-result-changes-depending-on-browser-used/m-p/121166#M33262</link>
      <description>&lt;P&gt;As arjunmony writes, it depends on different locales used. It does not depend on user agent but on a language that is set in your browser (most probably, you have different language set in tablet compared to laptop). So for example if you search in EN you can get different results compared to search in DE, but it will match filenames because for the name property cross locale is already enabled:&lt;/P&gt;&lt;PRE&gt;# Data types that support cross locale/word splitting/token patterns if tokenised
alfresco.cross.locale.property.0={http://www.alfresco.org/model/content/1.0}name
alfresco.cross.locale.property.1={http://www.alfresco.org/model/content/1.0}lockOwner&lt;/PRE&gt;&lt;P&gt;&lt;A href="https://docs.alfresco.com/search-community/concepts/solr-shared-properties.html" target="_self" rel="nofollow noopener noreferrer"&gt;https://docs.alfresco.com/search-community/concepts/solr-shared-properties.html&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Feb 2021 21:55:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/solr-search-result-changes-depending-on-browser-used/m-p/121166#M33262</guid>
      <dc:creator>sufo</dc:creator>
      <dc:date>2021-02-17T21:55:12Z</dc:date>
    </item>
    <item>
      <title>Re: Solr search result changes depending on browser used</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/solr-search-result-changes-depending-on-browser-used/m-p/121167#M33263</link>
      <description>&lt;P&gt;Hi&lt;BR /&gt;followed (... or I believe !) your hints, but still NO SUCCESS &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;premise&lt;/STRONG&gt;:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;When installing the server, I DID SET the current SERVER LOCALE to italian, as in my github extension to &lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/70191"&gt;@jpotts&lt;/A&gt; ansible scritp (thanks jpotts for sharing the scripts !)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;A href="https://github.com/Giuliano69/ansible-alfresco/blob/master/ans_mngd_node.sh" target="_blank" rel="nofollow noopener noreferrer"&gt;https://github.com/Giuliano69/ansible-alfresco/blob/master/ans_mngd_node.sh&lt;/A&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;See &lt;SPAN class="pl-k"&gt;function&lt;/SPAN&gt; &lt;SPAN class="pl-en"&gt;system_configuration()&lt;/SPAN&gt; {.....&amp;nbsp; sudo locale-gen &lt;SPAN class="pl-s"&gt;&lt;SPAN class="pl-pds"&gt;"&lt;/SPAN&gt;&lt;SPAN class="pl-smi"&gt;$LOCALESUPPORT&lt;/SPAN&gt;&lt;SPAN class="pl-pds"&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt; .... )&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;So i "believe" Alfresco is "aware" of the local server language...&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;I tooke the suggestion to set set the server locale for alfresco, following&amp;nbsp; &lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/56462"&gt;@loftux&lt;/A&gt;&amp;nbsp; scritp &lt;A href="https://github.com/loftuxab/alfresco-ubuntu-install" target="_blank" rel="nofollow noopener noreferrer"&gt;https://github.com/loftuxab/alfresco-ubuntu-install&lt;/A&gt; , made for ACS 6.1&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Procedure operatad following your hint (hope I understood correctly!)&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;1- changed ..../solrhome/conf/shared.properties as follows&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;DIV class="lia-spoiler-container"&gt;&lt;A class="lia-spoiler-link" href="#" rel="nofollow noopener noreferrer"&gt;Spoiler&lt;/A&gt;&lt;NOSCRIPT&gt; (Highlight to read)&lt;/NOSCRIPT&gt;&lt;DIV class="lia-spoiler-border"&gt;&lt;DIV class="lia-spoiler-content"&gt;&lt;P&gt;# Shared Properties file&lt;/P&gt;&lt;P&gt;#Host details an external client would use to connect to Solr&lt;BR /&gt;solr.host=localhost&lt;BR /&gt;#If not set then solr.port will be the jetty.port&lt;BR /&gt;#solr.port=8983&lt;BR /&gt;solr.baseurl=/solr&lt;BR /&gt;solr.content.dir=/opt/alfresco/alf_data/solr6&lt;/P&gt;&lt;P&gt;# Properties treated as identifiers when indexed&lt;/P&gt;&lt;P&gt;alfresco.identifier.property.0={&lt;A href="http://www.alfresco.org/model/content/1.0}creator" target="_blank" rel="nofollow noopener noreferrer"&gt;http://www.alfresco.org/model/content/1.0}creator&lt;/A&gt;&lt;BR /&gt;alfresco.identifier.property.1={&lt;A href="http://www.alfresco.org/model/content/1.0}modifier" target="_blank" rel="nofollow noopener noreferrer"&gt;http://www.alfresco.org/model/content/1.0}modifier&lt;/A&gt;&lt;BR /&gt;alfresco.identifier.property.2={&lt;A href="http://www.alfresco.org/model/content/1.0}userName" target="_blank" rel="nofollow noopener noreferrer"&gt;http://www.alfresco.org/model/content/1.0}userName&lt;/A&gt;&lt;BR /&gt;alfresco.identifier.property.3={&lt;A href="http://www.alfresco.org/model/content/1.0}authorityName" target="_blank" rel="nofollow noopener noreferrer"&gt;http://www.alfresco.org/model/content/1.0}authorityName&lt;/A&gt;&lt;BR /&gt;alfresco.identifier.property.4={&lt;A href="http://www.alfresco.org/model/content/1.0}lockOwner" target="_blank" rel="nofollow noopener noreferrer"&gt;http://www.alfresco.org/model/content/1.0}lockOwner&lt;/A&gt;&lt;/P&gt;&lt;P&gt;# Suggestable Propeties&lt;BR /&gt;#alfresco.suggestable.property.0={&lt;A href="http://www.alfresco.org/model/content/1.0}name" target="_blank" rel="nofollow noopener noreferrer"&gt;http://www.alfresco.org/model/content/1.0}name&lt;/A&gt;&lt;BR /&gt;#alfresco.suggestable.property.1={&lt;A href="http://www.alfresco.org/model/content/1.0}title" target="_blank" rel="nofollow noopener noreferrer"&gt;http://www.alfresco.org/model/content/1.0}title&lt;/A&gt;&lt;BR /&gt;#alfresco.suggestable.property.2={&lt;A href="http://www.alfresco.org/model/content/1.0}description" target="_blank" rel="nofollow noopener noreferrer"&gt;http://www.alfresco.org/model/content/1.0}description&lt;/A&gt;&lt;BR /&gt;#alfresco.suggestable.property.3={&lt;A href="http://www.alfresco.org/model/content/1.0}content" target="_blank" rel="nofollow noopener noreferrer"&gt;http://www.alfresco.org/model/content/1.0}content&lt;/A&gt;&lt;/P&gt;&lt;P&gt;# Data types that support cross locale/word splitting/token patterns if tokenised&lt;BR /&gt;alfresco.cross.locale.property.0={&lt;A href="http://www.alfresco.org/model/content/1.0}name" target="_blank" rel="nofollow noopener noreferrer"&gt;http://www.alfresco.org/model/content/1.0}name&lt;/A&gt;&lt;BR /&gt;alfresco.cross.locale.property.1={&lt;A href="http://www.alfresco.org/model/content/1.0}lockOwner" target="_blank" rel="nofollow noopener noreferrer"&gt;http://www.alfresco.org/model/content/1.0}lockOwner&lt;/A&gt;&lt;/P&gt;&lt;P&gt;# Data types that support cross locale/word splitting/token patterns if tokenised&lt;BR /&gt;alfresco.cross.locale.datatype.0={&lt;A href="http://www.alfresco.org/model/dictionary/1.0}text" target="_blank" rel="nofollow noopener noreferrer"&gt;http://www.alfresco.org/model/dictionary/1.0}text&lt;/A&gt;&lt;BR /&gt;alfresco.cross.locale.datatype.1={&lt;A href="http://www.alfresco.org/model/dictionary/1.0}content" target="_blank" rel="nofollow noopener noreferrer"&gt;http://www.alfresco.org/model/dictionary/1.0}content&lt;/A&gt;&lt;BR /&gt;alfresco.cross.locale.datatype.2={&lt;A href="http://www.alfresco.org/model/dictionary/1.0}mltext" target="_blank" rel="nofollow noopener noreferrer"&gt;http://www.alfresco.org/model/dictionary/1.0}mltext&lt;/A&gt;&lt;/P&gt;&lt;P&gt;alfresco.model.tracker.cron=0/10 * * * * ? *&lt;/P&gt;&lt;/DIV&gt;&lt;NOSCRIPT&gt;&lt;DIV class="lia-spoiler-noscript-container"&gt;&lt;DIV class="lia-spoiler-noscript-content"&gt;# Shared Properties file#Host details an external client would use to connect to Solrsolr.host=localhost#If not set then solr.port will be the jetty.port#solr.port=8983solr.baseurl=/solrsolr.content.dir=/opt/alfresco/alf_data/solr6# Properties treated as identifiers when indexedalfresco.identifier.property.0={http://www.alfresco.org/model/content/1.0}creatoralfresco.identifier.property.1={http://www.alfresco.org/model/content/1.0}modifieralfresco.identifier.property.2={http://www.alfresco.org/model/content/1.0}userNamealfresco.identifier.property.3={http://www.alfresco.org/model/content/1.0}authorityNamealfresco.identifier.property.4={http://www.alfresco.org/model/content/1.0}lockOwner# Suggestable Propeties#alfresco.suggestable.property.0={http://www.alfresco.org/model/content/1.0}name#alfresco.suggestable.property.1={http://www.alfresco.org/model/content/1.0}title#alfresco.suggestable.property.2={http://www.alfresco.org/model/content/1.0}description#alfresco.suggestable.property.3={http://www.alfresco.org/model/content/1.0}content# Data types that support cross locale/word splitting/token patterns if tokenisedalfresco.cross.locale.property.0={http://www.alfresco.org/model/content/1.0}namealfresco.cross.locale.property.1={http://www.alfresco.org/model/content/1.0}lockOwner# Data types that support cross locale/word splitting/token patterns if tokenisedalfresco.cross.locale.datatype.0={http://www.alfresco.org/model/dictionary/1.0}textalfresco.cross.locale.datatype.1={http://www.alfresco.org/model/dictionary/1.0}contentalfresco.cross.locale.datatype.2={http://www.alfresco.org/model/dictionary/1.0}mltextalfresco.model.tracker.cron=0/10 * * * * ? *&lt;/DIV&gt;&lt;/DIV&gt;&lt;/NOSCRIPT&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;UL&gt;&lt;LI&gt;2- removed solr alfresco/archive index as @jpotts script&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;BR /&gt;&lt;A href="https://github.com/jpotts/ansible-alfresco/blob/master/removeSolrIndexMetadata.yml" target="_blank" rel="nofollow noopener noreferrer"&gt;https://github.com/jpotts/ansible-alfresco/blob/master/removeSolrIndexMetadata.yml&lt;/A&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;3- reindexed&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;as suggested from&amp;nbsp;@arjunmony&amp;nbsp; in the&amp;nbsp; @keensoft repo &lt;A href="https://github.com/keensoft/alf-21940-repo" target="_blank" rel="nofollow noopener noreferrer"&gt;https://github.com/keensoft/alf-21940-repo&lt;/A&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;4 - Test search &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Tried accessing form laptop-Firefox in anonymous mode, ... and&amp;nbsp;everything works.&lt;/P&gt;&lt;P&gt;But fails from laptop+chrome or tablet+firefox/chrome&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Open QUESTIONS on locale problem:&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;a-DID I perform the CORRECT procedure you intended to do to fix the locale sol6 problem ?&lt;/LI&gt;&lt;LI&gt;b -how can I check WHICH is the CURRENT LOCALE used by SOLR?&lt;/LI&gt;&lt;LI&gt;c- how can I check (and SET) WHICH is current LOCALE in BROWSERS&amp;nbsp; to&amp;nbsp;match solr6 expectations ?&lt;/LI&gt;&lt;LI&gt;d- IF I would activate suggestable properties, should I reindex AGAIN the solr6 index, or is it not necessary ?&lt;/LI&gt;&lt;LI&gt;e - IS the setting of server locale (used in ACS 6.1) still needed/suggested in ACS 6.2&amp;nbsp; ?&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Thanks again for your precious help !&lt;/P&gt;</description>
      <pubDate>Thu, 18 Feb 2021 08:06:21 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/solr-search-result-changes-depending-on-browser-used/m-p/121167#M33263</guid>
      <dc:creator>Giuliano</dc:creator>
      <dc:date>2021-02-18T08:06:21Z</dc:date>
    </item>
    <item>
      <title>Re: Solr search result changes depending on browser used</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/solr-search-result-changes-depending-on-browser-used/m-p/121168#M33264</link>
      <description>&lt;P&gt;I have something similar long time ago and my solution was config &lt;A href="https://knowm.org/set-tomcats-default-locale/" target="_self" rel="nofollow noopener noreferrer"&gt;tomcat's locale&lt;/A&gt; and also being sure about the local of the database (this step depend on which datavase are you using).&lt;/P&gt;</description>
      <pubDate>Thu, 18 Feb 2021 09:15:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/solr-search-result-changes-depending-on-browser-used/m-p/121168#M33264</guid>
      <dc:creator>cristinamr</dc:creator>
      <dc:date>2021-02-18T09:15:50Z</dc:date>
    </item>
  </channel>
</rss>

