[Owncloud] Trackerd based server side search app

Jörn Friedrich Dreyer jfd at butonic.de
Sun Apr 8 13:45:12 UTC 2012


Am 08.04.2012 11:14 schrieb "Frank Karlitschek" <frank at owncloud.org>:
> The problem is, of course, that it has external dependencies like tracker
obviously but it can still be very useful for power users who have tracerd
running. So this is a nice optional feature imho.
Indeed, running trackerd requires shell access to the server and will sadly
not be useable out of the box. I looked at the scanning code of the gallery
but did not find a nicer way, yet.

> The challenge is that indexing has to be done through ownCloud because
this is the only way to access encrypted, shared and remote files.
I feared you might ask something like this ;)

> Do you think tracer can access the ownCloud files via WebDAB? or do we
have to provide a different interface?
To be honest, I don't think it makes much sense to introduce another layer
like davfs2 to let trackerd index the content via a webdav share. The setup
is fragile as it is, but works for my personal use case where I do not need
encryption on the server side. Nevertheless, I understand the requirement
for full text search of encrypted files. I would argue that the extracted
index itself reveals a lot of information about the encrypted content, thus
it kind of defeats the purpose.
While my heart as a software engineer is bleeding even thinking about it, I
fear the best way to provide full text search for ownCloud is to port the
indexing algorithm to PHP:
- It will get rid of external dependencies.
- Index and meta information can be updated upon access via webdav or the
webfrontend.
- Searching can take file permissions into consideration (other than just
filtering the results by path...)

I'll think on this till the developer meeting.

So long

Jörn
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/owncloud/attachments/20120408/b8d1bd71/attachment.html>


More information about the Owncloud mailing list