<table><tr><td style="">bruns created this revision.<br />bruns added reviewers: Baloo, ngraham.<br />Herald added projects: Frameworks, Baloo.<br />Herald added a subscriber: kde-frameworks-devel.<br />bruns requested review of this revision.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D29207">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>The name based mime type is inaccurate, so it should not be used to<br />
decide if a file should be indexed. In case a specific extension should<br />
be skipped this can still be done accurately by the name based filters,<br />
e.g.  instead of "image/png" "*.png" can be used, or the whole directory<br />
can be excluded.</p>

<p>This inaccuracy is also confusing for the user, as a file without<br />
extension will be added to the index, but adding an extension removes<br />
the file from the index. The file extension may also be ambiguous.</p>

<p>This also matches the current list of excluded mime types, which are<br />
source files for various languages. These blow up the full text index<br />
and thus should be excluded (by default), but just adding the file names<br />
increases the index size only marginally.</p>

<p>The 'inability' to find files is a recurring user complaint.</p>

<p>Depends on <a href="https://phabricator.kde.org/D28932" style="background-color: #e7e7e7;
          border-color: #e7e7e7;
          border-radius: 3px;
          padding: 0 4px;
          font-weight: bold;
          color: black;text-decoration: none;">D28932</a></p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R293 Baloo</div></div></div><br /><div><strong>BRANCH</strong><div><div>submit</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D29207">https://phabricator.kde.org/D29207</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>src/file/extractor/app.cpp<br />
src/file/firstrunindexer.cpp<br />
src/file/modifiedfileindexer.cpp<br />
src/file/newfileindexer.cpp<br />
src/file/unindexedfileiterator.cpp</div></div></div><br /><div><strong>To: </strong>bruns, Baloo, ngraham<br /><strong>Cc: </strong>kde-frameworks-devel, hurikhan77, lots0logs, LeGast00n, cblack, fbampaloukas, domson, ashaposhnikov, michaelh, astippich, spoorun, ngraham, bruns, abrahams<br /></div>