<br><br><div><span class="gmail_quote">2006/11/27, Joe Shaw <<a href="mailto:joeshaw@novell.com">joeshaw@novell.com</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br><br>On Thu, 2006-11-23 at 16:26 +0100, Mikkel Kamstrup Erlandsen wrote:<br>> The situation at hand is that we have a handful of desktop search<br>> engines, all implemented as daemons, both handling searches and
<br>> indexing.<br><br>Yeah, but this situation isn't realistic. The user should never be<br>running more than one search system at a time. When they type in<br>"vacation photos" they don't care which engine is being used underneath,
<br>they care about getting their vacation photos.</blockquote><div><br><br>Oh - In retrospect I see that I was a bit unclear. I did not not mean that the serach engines where *running*, I just meant that they where being *implemented* in parallel. Sorry :-)
<br> </div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">To ensure timely indexing of the user's data in the background, these<br>search engines really have to be started as part of the user's session
<br>and not on-demand. (Although a non-indexing searcher like "grep" would<br>be fine on-demand.) I want all of my vacation photos to be indexed by<br>the time I have to search for them.</blockquote><div><br><br>
Yeah, but I think that when to start the indexer is outside the Wasabi scope. I think we should leave that unspecified so that we can support non-daemon backends if the need arises (fx. grep as you say)<br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
> Having an extra daemon on top of that handling the query one extra<br>> time before passing it to the search subsystem seems overkill...<br>> Ideally I see the daemon/lib (or even executable) to only be used as a
<br>> means of obtaining a dbus object path given a dbus interface name ("<br>> org.freedesktop.search.simple").<br><br>I feel like I missed something in this thread thus far, but why is a<br>library or separate daemon necessary? Why would the engine not simply
<br>grab the "org.freedesktop.search.engine" (or whatever) name at startup<br>if it's available? If nothing has the name, you could activate a<br>grep-based fallback or something like that on-demand.</blockquote>
<div><br><br>There have been discussion about a org.freedesktop.search.manager interface which clients(=apps) use to obtain the object path of the dbus service for the search engine. Maybe my dbus-fu is to weak on this point, but I usually need an object path to hook up to a dbus interface..?
<br> <br><br></div>Cheers,<br>Mikkel<br></div>