SV: Indexing zip files / gnome vfs



Hey,

In beagle/Util/Archive.cs there is a start for supporting archives generic
style. Personally, I think it would be best to use this approach and work on
that, using the Archive.cs code in both the FileSystemQueryable (creating
and ArchiveCrawler) and other places where it's useful (attachment indexing
etc.) Using GnomeVFS might present problems when we take Beagle to other
platforms as well as the above drawback of not supporting archive indexing
in other backends.

/F

-----Ursprungligt meddelande-----
Från: dashboard-hackers-bounces gnome org
[mailto:dashboard-hackers-bounces gnome org] För Adam Lofts
Skickat: den 8 januari 2005 22:07
Till: dashboard-hackers gnome org
Ämne: Indexing zip files / gnome vfs

Hello,

I've been investigating how to index zip files with Beagle, and there
seems (to me) to be 3 options:

1) Implement a filter for zip files which hacks a custom
IIndexableGenerator into the scheduler. If it gets modified it will be
reindexed - not sure how it knows when it's deleted.

2) Change FileSystemQueryable to be aware of zip files.

3) Implement a new Files backend "GnomeVFSQueryable" which knows about
zip files.

I am in favour of option (3), it is the cleanest solution. (2) involves
changing all path's to uri's and making it aware that not all files
exist as objects on disk - eg they are within a zip file. (1) is a hack.

Also (3) has the benefit of enabling beagle to index ftp:// smb:// and
whatever else gnome-vfs supports.

Any comments / suggestions?

Adam
_______________________________________________
Dashboard-hackers mailing list
Dashboard-hackers gnome org
http://mail.gnome.org/mailman/listinfo/dashboard-hackers




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]