Re: backend implementations



Jamie Hillman wrote:

[snip...]
but haven't been able to find much about coding back-ends.
We are planning to update the wiki with more information of coding back-ends and filters.

Can a back end be written in a language other than C#
AFAIK,
	- backend needs to be a .Net dll.
- Backends derive from LuceneQueryable (if it queries/stores index from/in Lucene), in beagled/LuceneQueryable.cs, which is derived from the interface IQueryable (beagled/Iqueryable.cs).
	- They should listen to Inotify events, if applicable

You can look at GaimLogQueryable and LauncherQueryable, two of the simple backends in beagle.

and communicate exclusively over D-BUS?
Back-ends are integral part of the "beagle" daemon, which does the job of crawling, indexing and searching. D-Bus interface is for the external-application to query beagle and get results from it.

Hope this helps!!

V. Varadhan.



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