<?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 Search result dependant on Explorer's interface language? in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/search-result-dependant-on-explorer-s-interface-language/m-p/215836#M168966</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello all,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;While evaluating Alfresco 3, we noticed that the full text search results within Alfresco Explorer Web Client depend on the language its interface is set to: it displays only documents whose locale matches the one of the interface.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is this a configuration problem, a known bug or a feature?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We expected Alfresco to return all documents, independently of the language Alfresco Explorer's interface is set to when searching.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Within the user profile settings, the &lt;/SPAN&gt;&lt;EM&gt;Content language filter&lt;/EM&gt;&lt;SPAN&gt; being set to &lt;/SPAN&gt;&lt;EM&gt;All languages&lt;/EM&gt;&lt;SPAN&gt;. We observed the same behaviour with Firefox 3 and Internet Explorer 7.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Some details&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What I call the «interface language» is determined by the &lt;/SPAN&gt;&lt;EM&gt;Accept-Language&lt;/EM&gt;&lt;SPAN&gt; header sent by the browser. If we change the browser options to accept &lt;/SPAN&gt;&lt;EM&gt;en, fr&lt;/EM&gt;&lt;SPAN&gt; (&lt;/SPAN&gt;&lt;EM&gt;en&lt;/EM&gt;&lt;SPAN&gt; first), we get the Alfresco Explorer interface is english. If we set the header to &lt;/SPAN&gt;&lt;EM&gt;fr, en&lt;/EM&gt;&lt;SPAN&gt;, we get the Explorer's interface in french.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And what I name the «document language» can be observed on the &lt;/SPAN&gt;&lt;EM&gt;content&lt;/EM&gt;&lt;SPAN&gt; property of our document nodes, within the Node Browser. For instance, &lt;/SPAN&gt;&lt;EM&gt;contentUrl=store://2009/4/24/18/1/5dd40ccd-02b7-4a4e-9726-b6c50246a1e0.bin|mimetype=text/plain|size=294|encoding=UTF-8|locale=fr_CH_&lt;/EM&gt;&lt;SPAN&gt; shows the document's locale is &lt;/SPAN&gt;&lt;EM&gt;fr_CH&lt;/EM&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I came to the conclusion that if these locale do not match, documents are omitted in the results.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Steps to reproduce the above mentioned case&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;OL style="list-style-type:decimal;"&gt;&lt;LI&gt;set the browser &lt;EM&gt;Accept-Language&lt;/EM&gt; option to &lt;EM&gt;fr,en&lt;/EM&gt;&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;reload Alfresco Explorer within the browser; the language of its interface switches to &lt;EM&gt;french&lt;/EM&gt;&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;upload a new document with the Alfresco Explorer, for instance a Word document or a text document&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;search for some terms know to be present in these documents, they should be listed in the results&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;set the browser &lt;EM&gt;Accept-Language&lt;/EM&gt; option to &lt;EM&gt;en,fr&lt;/EM&gt;&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;reload Alfresco Explorer within the browser; the language of its interface switches to &lt;EM&gt;english&lt;/EM&gt;&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;do the same search as above, for some terms know to be present in these documents&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;they do not show up in the search results anymore&lt;/LI&gt;&lt;/OL&gt;&lt;SPAN&gt;We first noticed this problem while uploading documents thru a CIFS network attached drive, the documents' locale being automatically set to &lt;/SPAN&gt;&lt;EM&gt;en_US&lt;/EM&gt;&lt;SPAN&gt; in our case. Doing a full text search from the Alfresco Explorer interface set in french didn't return these documents; when set to english, all results were displayed. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sorry for the long explanation. I hope I'm not too confuse.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Olivier&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 May 2009 15:15:38 GMT</pubDate>
    <dc:creator>olange</dc:creator>
    <dc:date>2009-05-20T15:15:38Z</dc:date>
    <item>
      <title>Search result dependant on Explorer's interface language?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/search-result-dependant-on-explorer-s-interface-language/m-p/215836#M168966</link>
      <description>Hello all,While evaluating Alfresco 3, we noticed that the full text search results within Alfresco Explorer Web Client depend on the language its interface is set to: it displays only documents whose locale matches the one of the interface.Is this a configuration problem, a known bug or a feature?W</description>
      <pubDate>Wed, 20 May 2009 15:15:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/search-result-dependant-on-explorer-s-interface-language/m-p/215836#M168966</guid>
      <dc:creator>olange</dc:creator>
      <dc:date>2009-05-20T15:15:38Z</dc:date>
    </item>
    <item>
      <title>Re: Search result dependant on Explorer's interface language?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/search-result-dependant-on-explorer-s-interface-language/m-p/215837#M168967</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi all,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Rebuilding the indexes solved this issue: we added index.recovery.mode=FULL to custom-repository.properties and stopped/restarted Alfresco. Now all documents appear in the search results and these are not filtered anymore by Alfresco Explorer's interface language.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Olivier&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 May 2009 10:17:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/search-result-dependant-on-explorer-s-interface-language/m-p/215837#M168967</guid>
      <dc:creator>olange</dc:creator>
      <dc:date>2009-05-25T10:17:28Z</dc:date>
    </item>
    <item>
      <title>Re: Search result dependant on Explorer's interface language?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/search-result-dependant-on-explorer-s-interface-language/m-p/215838#M168968</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;A quick update, there is more to this point. I forgot to mention that we are testing with Alfresco Enterprise 3.0.1. At first glance, I observed that fully rebuilding the indexes solved the above described issue, but it was a mistake with my testcase, because it did'nt: our results where still dependant upon the language of our browser. To solve it, we also had to change the analyser class that Lucene uses to index content &lt;/SPAN&gt;&lt;EM&gt;in french&lt;/EM&gt;&lt;SPAN&gt;. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This involved the following change within the properties file &lt;/SPAN&gt;&lt;EM&gt;WEB-INF/classes/alfresco/mode/dataTypeAnalyzers_fr.properties&lt;/EM&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;d_dictionary.datatype.d_text.analyzer=org.alfresco.repo.search.impl.lucene.analysis.AlfrescoStandardAnalyser&lt;BR /&gt;d_dictionary.datatype.d_content.analyzer=org.alfresco.repo.search.impl.lucene.analysis.AlfrescoStandardAnalyser&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;instead of:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;# d_dictionary.datatype.d_text.analyzer=org.alfresco.repo.search.impl.lucene.analysis.FrenchAnalyser&lt;BR /&gt;# d_dictionary.datatype.d_content.analyzer=org.alfresco.repo.search.impl.lucene.analysis.FrenchAnalyser&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;and then rebuild the indexes (setting &lt;/SPAN&gt;&lt;EM&gt;index.recovery.mode=FULL&lt;/EM&gt;&lt;SPAN&gt; within our &lt;/SPAN&gt;&lt;EM&gt;custom-repository.properties&lt;/EM&gt;&lt;SPAN&gt; and stopping/restarting Alfresco).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Many thanks to Sylvain Perrot/SmartWave, our Alfresco Partner, as well as Philippe Dubois/Alfresco, that helped us to solve that issue.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Olivier&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 May 2009 16:58:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/search-result-dependant-on-explorer-s-interface-language/m-p/215838#M168968</guid>
      <dc:creator>olange</dc:creator>
      <dc:date>2009-05-27T16:58:52Z</dc:date>
    </item>
    <item>
      <title>Re: Search result dependant on Explorer's interface language?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/search-result-dependant-on-explorer-s-interface-language/m-p/215839#M168969</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Very thanks Olivier, for putting here the solution to your problem, which helped to solve mine.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 03 Jan 2010 13:51:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/search-result-dependant-on-explorer-s-interface-language/m-p/215839#M168969</guid>
      <dc:creator>zoao</dc:creator>
      <dc:date>2010-01-03T13:51:19Z</dc:date>
    </item>
  </channel>
</rss>

