smarter beagle configuration for excluding items

Bug #115289 reported by Nicolò Chieffo
2
Affects Status Importance Assigned to Milestone
beagle (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: beagle

beagle could have a smarter configuration by default.
most of the time is spent by trying to index files which does not have a filter. Remember that beagled tries to index them at every startup, so it will waste lots of time!

in my opinion it can safely exclude from indexing these type of files:
.exe
.dll
.db (windows thumbnail cache)
.bin
.dat
.class
.lnk (windows shortcuts)
.o (and other C, C++ binary stuff that might be in the user home directory)

A real better solution might be to try to index again the files that have been failed, only when new index filters are available

Nicolò Chieffo (yelo3)
description: updated
Revision history for this message
dBera (dbera-web) wrote :

exe, dll, .o etc binary files are already ignored. Are you seeing them appearing in the log file ?

The last suggestion in already in place upstream.

Revision history for this message
Nicolò Chieffo (yelo3) wrote : Re: [Bug 115289] Re: smarter beagle configuration for excluding items

I think they are not ignored, but the log file doesn't show which file
is indexed.

for sure when building static indexes they are not ignored: this log
appears every time

Debug: No filter for
file:///media/Dati/yelo3/Documents/Varie/Documenti Identità/Thumbs.db
(/media/Dati/yelo3/Documents/Varie/Documenti Identità/Thumbs.db)
[application/x-ole-storage]

Revision history for this message
Nicolò Chieffo (yelo3) wrote :

ok confirming that beagled does not skip them too. In the search box
if you search for *.db you are getting results under the label
"Documents"

I don't really know if skipping those files is a good idea, but for
sure the great idea is to not try to parse them every time, and just
add the place where they are stored in the index.

where is the discussion upstream?

Revision history for this message
dBera (dbera-web) wrote :

This is upstream commit http://svn.gnome.org/viewcvs/beagle?rev=3736&view=rev

Beagle ignores a lot of patterns, but "*.db" was not among them, I added it it.
http://svn.gnome.org/viewcvs/beagle?rev=3747&view=rev

Nicolò Chieffo (yelo3)
Changed in beagle:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.