<?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 How to use another Lucene's Analyser (eg : French Analyser) in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/how-to-use-another-lucene-s-analyser-eg-french-analyser/m-p/22438#M10750</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 am evaluating Alfresco, and I found that the search engine has poor results when searching for french documents.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;For exemple, searching for a document which contain the word "l'accent" with the keyword "accent" (without the article) does'nt fetch any results. Of course, when I try with "l'accent" I got my document.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So I investigate a little, and I found that it was possible to change the lucene analyser, and there was different possible analyser inluding a french analyser. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So is it possible to change the default alfresco analyser ? Just a parameter or I need to change the code ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance for your response !&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Samuel&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 27 Feb 2006 09:31:22 GMT</pubDate>
    <dc:creator>sam69</dc:creator>
    <dc:date>2006-02-27T09:31:22Z</dc:date>
    <item>
      <title>How to use another Lucene's Analyser (eg : French Analyser)</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-use-another-lucene-s-analyser-eg-french-analyser/m-p/22438#M10750</link>
      <description>Hello !I am evaluating Alfresco, and I found that the search engine has poor results when searching for french documents.For exemple, searching for a document which contain the word "l'accent" with the keyword "accent" (without the article) does'nt fetch any results. Of course, when I try with "l'ac</description>
      <pubDate>Mon, 27 Feb 2006 09:31:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-use-another-lucene-s-analyser-eg-french-analyser/m-p/22438#M10750</guid>
      <dc:creator>sam69</dc:creator>
      <dc:date>2006-02-27T09:31:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to use another Lucene's Analyser (eg : French Analyser)</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-use-another-lucene-s-analyser-eg-french-analyser/m-p/22439#M10751</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; I'm also trying to use alternative Analyzer (JapaneseAnalyzer and CJKAnalyzer).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; 1. Copy jar files of those Analyzer (in fact, we need some other works for Japanese one, such as setting System Property. I did it anyway)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; 2. Create dataTypeAnalyzers_ja_JP (for testing purpose, I replaced all standard.StandarAnalyzer with ja.JapaneseAnlyzer in that file)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; 3. Restart Alfresco and import/create documents.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; But I couldn't find any document with Japanese keywords. English words worked for the same documents. (for filename and some metadata, Japanese query is working actually)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; I saw someone reported similar issue for Chinese and they seemed to succeed to make index with Chinese charactors finally, in topic "chinese document". But so far I haven't done it for my case (Japanese).&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Mar 2006 16:11:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-use-another-lucene-s-analyser-eg-french-analyser/m-p/22439#M10751</guid>
      <dc:creator>akinori</dc:creator>
      <dc:date>2006-03-02T16:11:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to use another Lucene's Analyser (eg : French Analyser)</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-use-another-lucene-s-analyser-eg-french-analyser/m-p/22440#M10752</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for your response akinori !&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I did what you say, and more exactly :&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- copyFrenchAnalyzer.class, FrenchStemFilter.class, FrenchStemmer.class into the lucene.jar (more precisely in org\apache\lucene\analysis\fr)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(I know this method is not really good, I should create a new jar or someting…)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- copy the lucene.jar which include the FrenchAnalyser) in :&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;\alfresco\WEB-INF\lib&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- create dataTypeAnalyzers_fr_FR.properties from the dataTypeAnalyzers.properties in&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;alfresco\WEB-INF\classes\alfresco\model&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;and replace standard.StandarAnalyzer by fr.FrenchAnlyzer where it's appropriate.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- restart Alfresco and import/create documents.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The French Analyser seems to be used but, when I test the full-text search, it's look like it's still the DefaultAnalyser…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I hope that you will manage to make alfresco work with the Japanese Analyser !&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;PS : this thread continue at : &lt;/SPAN&gt;&lt;A href="http://www.alfresco.org/forums/viewtopic.php?t=150&amp;amp;postdays=0&amp;amp;postorder=asc&amp;amp;start=45" rel="nofollow noopener noreferrer"&gt;http://www.alfresco.org/forums/viewtopic.php?t=150&amp;amp;postdays=0&amp;amp;postorder=asc&amp;amp;start=45&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Mar 2006 12:51:09 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-use-another-lucene-s-analyser-eg-french-analyser/m-p/22440#M10752</guid>
      <dc:creator>sam69</dc:creator>
      <dc:date>2006-03-03T12:51:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to use another Lucene's Analyser (eg : French Analyser)</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-use-another-lucene-s-analyser-eg-french-analyser/m-p/22441#M10753</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you Sam69&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; You seem to be in almost same situation as mine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; I guess it's better to trace how lucene and its analyzer work on our environment. But so far I haven't found out what I can do for that.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; Anyway, I'll follow the topic, too. Thanx.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Akinori&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 04 Mar 2006 09:40:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-use-another-lucene-s-analyser-eg-french-analyser/m-p/22441#M10753</guid>
      <dc:creator>akinori</dc:creator>
      <dc:date>2006-03-04T09:40:26Z</dc:date>
    </item>
  </channel>
</rss>

