<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Houze</title>
    <description>The latest articles on DEV Community by Houze (@houze).</description>
    <link>https://dev.to/houze</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F931078%2F42b2dd6e-f6a6-4831-9f98-63f3cb375d61.png</url>
      <title>DEV Community: Houze</title>
      <link>https://dev.to/houze</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/houze"/>
    <language>en</language>
    <item>
      <title>apply search unicode by unaccent</title>
      <dc:creator>Houze</dc:creator>
      <pubDate>Fri, 23 Sep 2022 08:04:52 +0000</pubDate>
      <link>https://dev.to/houze/apply-search-unicode-by-unaccent-1hjd</link>
      <guid>https://dev.to/houze/apply-search-unicode-by-unaccent-1hjd</guid>
      <description>&lt;p&gt;Step 1 : Add extension unaccent for Postgres by run query &amp;gt; create extension unaccent &lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--frQ_0Rbp--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/jwdualliir8j0f4l7zwb.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--frQ_0Rbp--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/jwdualliir8j0f4l7zwb.png" alt="Image description" width="462" height="163"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Step 2 : Python/INSTALLED_APPS add &amp;gt; 'django.contrib.postgres'&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--m5YSo_Rz--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/sv6v9cendau3f6iykrjj.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--m5YSo_Rz--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/sv6v9cendau3f6iykrjj.png" alt="Image description" width="880" height="489"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Step 3 : Using unaccent in filter , &lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--l3ZZshRF--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/n1gw6liug7cvbrigifg0.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--l3ZZshRF--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/n1gw6liug7cvbrigifg0.png" alt="Image description" width="624" height="278"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Warning 1: unaccent lookups should perform fine in most use cases. However, queries using this filter will generally perform full table scans, which can be slow on large tables. In those cases, using dedicated full text indexing tools might be appropriate.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--8hHWCg5g--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/i36g4da8i5t4iq2ivxon.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--8hHWCg5g--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/i36g4da8i5t4iq2ivxon.png" alt="Image description" width="880" height="212"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--kVGTsfOn--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/57vhdm0xuhd3clran2zl.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--kVGTsfOn--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/57vhdm0xuhd3clran2zl.png" alt="Image description" width="880" height="287"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--eguj245---/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/k996sg4i8jgk089e70gh.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--eguj245---/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/k996sg4i8jgk089e70gh.png" alt="Image description" width="880" height="290"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>python</category>
      <category>postgres</category>
      <category>search</category>
    </item>
  </channel>
</rss>
