<?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 Lucene search result language-dependent in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/lucene-search-result-language-dependent/m-p/166153#M119774</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;I use alfresco as portlet in Liferay. I have a single-sign-on soultion for this and display only the space that belongs to the community in Liferay.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Therefore I set the currentNodeId in NavigationBean to the value of the corresponding space. To get the nodeID I have to get the space. To get this I use the "SearchService"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;StoreRef storeRef = new StoreRef(StoreRef.PROTOCOL_WORKSPACE,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "SpacesStore");&lt;BR /&gt;&lt;BR /&gt;ResultSet resultSet = searchService.query(storeRef,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SearchService.LANGUAGE_LUCENE, "PATH:\"/app:company_home\"");&lt;BR /&gt;&lt;BR /&gt;StoreRef companyHome = resultSet.getNodeRef(0).getStoreRef();&lt;BR /&gt;&lt;BR /&gt;resultSet = searchService.query(companyHome,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SearchService.LANGUAGE_LUCENE, "@cm\\:name:\"" + groupName + "\"");&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;/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;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;groupname is retrieved from Liferay. The "funny" thing is that the result of the search depends on the user language of the current user, and the language of the user which created the space.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does anyone know a way to search independant from the language?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Many thanks in advance…&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 Aug 2008 12:46:14 GMT</pubDate>
    <dc:creator>tobias_amon</dc:creator>
    <dc:date>2008-08-11T12:46:14Z</dc:date>
    <item>
      <title>Lucene search result language-dependent</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/lucene-search-result-language-dependent/m-p/166153#M119774</link>
      <description>Hello all,I use alfresco as portlet in Liferay. I have a single-sign-on soultion for this and display only the space that belongs to the community in Liferay.Therefore I set the currentNodeId in NavigationBean to the value of the corresponding space. To get the nodeID I have to get the space. To get</description>
      <pubDate>Mon, 11 Aug 2008 12:46:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/lucene-search-result-language-dependent/m-p/166153#M119774</guid>
      <dc:creator>tobias_amon</dc:creator>
      <dc:date>2008-08-11T12:46:14Z</dc:date>
    </item>
    <item>
      <title>Re: Lucene search result language-dependent</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/lucene-search-result-language-dependent/m-p/166154#M119775</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have the same problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Has someone have the solution or some idea to find a solution ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Sep 2008 08:42:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/lucene-search-result-language-dependent/m-p/166154#M119775</guid>
      <dc:creator>maxenced</dc:creator>
      <dc:date>2008-09-17T08:42:55Z</dc:date>
    </item>
  </channel>
</rss>

