<p>J’ai trouble getting Windows Search to index the contents of a text fichier that have a <code>.sql</code> extension. Is there quelque chose I’m doing wrong?</p>
<h2><a name="p-27999-contexte-1" class="anchor" href="#p-27999-contexte-1" aria-label="Heading link"></a>Contexte:</h2>
<p>I use a programme at work called <em>Navicat</em> which helps me to work avec our MySQL database. When I use Navicat to edit and save queries, it stores them in <code>.sql</code> fichiers which are located in Navicat’s répertoire in Program Files.</p>
<p>Depuis Windows Search ne index fichiers within Program Files par défaut, I added it vers le list of indexed locations, as shown dans le picture below:</p>
<p>J’ai aussi went invers le advanced section and added the <code>.sql</code> fichier extension and sélectionner the <code>Index Properties and File Contents</code> option. This sets the filter description to be <code>Plain Text Filter</code>:</p>
<p>Cependant, whenever I do a search for text that I would expect to find within a <code>.sql</code> fichier, such as <code>saw_order.Wo type:sql</code>, it ne return any fichiers. The search <strong>is</strong> successful if I’m searching for part du <em>name</em> of a fichier, but jamais its contents avec <code>.sql</code> fichiers.</p>
<p>The <code>.sql</code> fichiers are plain text fichiers that can be easily opened and edited avec notepad. Navicat simply adds some intellisense and a organization fonctionnalités, but other than that, c’est plain text.</p>
<p>Pourquoi ne puis-je pas Windows Search see the contents duse fichiers?</p>
<p>Do J’ai besoin of add some special plug-in to Windows search for it to recognize these files?</p>
<p><em>NOTE: Je suis using Windows Search 4.0 and Windows XP SP3.</em></p>
<hr>
<p><em>Source : <a href="http://social.msdn.microsoft.com/Forums/en-IE/windowsdesktopsearchhelp/thread/30abcfe7-7891-4793-9f03-c6fed4f1f99b" rel="noopener nofollow ugc">Super User</a></em></p>