Re: Beagle and its startup



> ok so i know that about the gaim backend, thanks for that info :)
> Unfortunatly i didn't find any info how to check if a file is indexed by
> beagle. is there a way apart of using the normal search?

Not really; the only real interface into the index is to search.  Would
you just want to be able to say "beagle-indexed foo.rpm" and have it try
to find that file in the index?  That should be as simple as turning
"foo.rpm" into "file:///home/joe/mydirectory/foo.rpm" and doing a search
on it.

Hi Andreas,
 I thought I replied to your question, but looking at the Joe's reply
I dont think I did. Though there isnt any well-documented way to find
out if a file is indexed by beagle, there is a debugging tool which
can be used for that.
 $ beagle-dump-index /path/to/file
will print the indexed metadata of the file; if the file isnt indexed,
it will say so. beagle-dump-index is a debugging aid and I dont think
it is distributed with the package; it is available in the CVS
checkout. But let me be clear that simply searching for foo.rpm should
be enough in most cases (read: almost all cases) and that is the
recommended way of doing it.

- dBera



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