<?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 can I make fulltext search accent insensitive? in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/how-can-i-make-fulltext-search-accent-insensitive/m-p/313356#M357</link>
    <description>&lt;P&gt;I would like to have the same search result when I type either 'Hôtel' or 'Hotel'.&lt;/P&gt;</description>
    <pubDate>Tue, 02 Aug 2011 14:21:31 GMT</pubDate>
    <dc:creator>Laurent_Doguin</dc:creator>
    <dc:date>2011-08-02T14:21:31Z</dc:date>
    <item>
      <title>How can I make fulltext search accent insensitive?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-can-i-make-fulltext-search-accent-insensitive/m-p/313356#M357</link>
      <description>&lt;P&gt;I would like to have the same search result when I type either 'Hôtel' or 'Hotel'.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Aug 2011 14:21:31 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-can-i-make-fulltext-search-accent-insensitive/m-p/313356#M357</guid>
      <dc:creator>Laurent_Doguin</dc:creator>
      <dc:date>2011-08-02T14:21:31Z</dc:date>
    </item>
    <item>
      <title>Re: How can I make fulltext search accent insensitive?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-can-i-make-fulltext-search-accent-insensitive/m-p/313357#M358</link>
      <description>&lt;P&gt;This can be achieved easily if you are using PostgreSQL 9.0 and above through the &lt;EM&gt;unaccent&lt;/EM&gt; contribution (&lt;A href="http://www.postgresql.org/docs/9.0/static/unaccent.html"&gt;http://www.postgresql.org/docs/9.0/static/unaccent.html&lt;/A&gt;).&lt;/P&gt;
&lt;P&gt;Install the unaccent contribution by running the &lt;CODE&gt;unaccent.sql&lt;/CODE&gt; script.
For Ubuntu users, this file is located at &lt;CODE&gt;/usr/share/postgresql/9.0/contrib/unaccent.sql&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;Connect to your database and run the following instructions:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;CREATE TEXT SEARCH CONFIGURATION fr ( COPY = french );
ALTER TEXT SEARCH CONFIGURATION fr
    ALTER MAPPING FOR asciihword, asciiword, hword_asciipart, hword, hword_part, word
    WITH unaccent, french_stem;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Then replace in your &lt;CODE&gt;default-repository-config.xml&lt;/CODE&gt; file the &lt;CODE&gt;french&lt;/CODE&gt; analyzer by the one you just defined (&lt;CODE&gt;fr&lt;/CODE&gt; in this example).&lt;/P&gt;</description>
      <pubDate>Tue, 02 Aug 2011 14:33:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-can-i-make-fulltext-search-accent-insensitive/m-p/313357#M358</guid>
      <dc:creator>Laurent_Doguin</dc:creator>
      <dc:date>2011-08-02T14:33:12Z</dc:date>
    </item>
    <item>
      <title>Re: How can I make fulltext search accent insensitive?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-can-i-make-fulltext-search-accent-insensitive/m-p/313358#M359</link>
      <description>&lt;P&gt;If using Postgres 8.4, you can find in the documentation the instructions to build the unaccent module:
&lt;A href="http://doc.nuxeo.com/x/fwQz#ConfiguringPostgreSQL-Accentinsensitivefulltextsearch"&gt;http://doc.nuxeo.com/display/ADMINDOC/Configuring+PostgreSQL#ConfiguringPostgreSQL-Accentinsensitivefulltextsearch&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Feb 2012 17:50:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-can-i-make-fulltext-search-accent-insensitive/m-p/313358#M359</guid>
      <dc:creator>Sun_Seng_David_</dc:creator>
      <dc:date>2012-02-22T17:50:24Z</dc:date>
    </item>
  </channel>
</rss>

