Re: simple questions
- From: Nagyon Almos <b17 freemail hu>
- To: dashboard-hackers <dashboard-hackers gnome org>
- Subject: Re: simple questions
- Date: Mon, 23 Apr 2007 21:35:56 +0200 (CEST)
>This should work. I never tried it but I will try it sometime and let
>you know. Do you see any specific error in the log files ? Are you
>sure those directories are added correctly - in log file of beagled,
>in the initial 50-60 lines, there should be a line saying "Adding root
>/...".
I did some experiments on this and:
- If there is symbolic link pointing to such a directory,
then beagle follows it and finds the results,
- if I just add them with AddRoot, then beagle says:
[...]
Debug: Adding root: /home/tarol/test_files
Debug: '' now seems to be called '/home/tarol/test_files'
Debug: Loading Beagle.Util.Conf DaemonConfig from daemon.xml
Debug: Loading Beagle.Util.Conf SearchingConfig from searching.xml
Debug: Loading Beagle.Util.Conf NetworkingConfig from networking.xml
Debug: Loading Beagle.Util.Conf WebServicesConfig from webservices.xml
Debug: Parsed query 'árv' as text_query
Debug: Parsed query 'árvíz' as text_query
Debug: Parsed query 'árvíz*' as text_query
Debug: Couldn't find path of file with name 'arvizstb.pdf' and parent 'CUJNP0ylXkSYY5ZqKOCVUw'
Debug: Couldn't find path of file with name 'arvizstb.sxw' and parent 'CUJNP0ylXkSYY5ZqKOCVUw'
[...]
Those files contains strings that match árvíz* .
>Also, as Stephan pointed out, you can use a static index to index such files.
I haven't tested static indices yet but
this way it should work in my oppinion.
> 2) I am trying to make some of my own filters hence
> I would like to specify the extensions (in the filter xml file)
> with egrep-style regular expressions. Is it possible?
I tried it too but this didnt work:
I specified
<filter>
<mimetype>text/x-vcard</mimetype>
<extension>.(vcf|vcard)</extension>
<command>cat</command>
<arguments>%s</arguments>
</filter>
in the xml file and then beagle said:
Debug: Saw event in '/home/user'
Debug: *** Add '/home/user' 'szilard.vcf' (file)
Debug: -file:///home/user/szilard.vcf
Debug: file:///home/user/szilard.vcf
Debug: No filter for /home/user/szilard.vcf (text/directory)
Thanks for your help.
Regards,
A.
"Diszlexiás a gyermekem?" - 25 kérdéses gyorsteszt (Hálás lesz utána, bármi is az eredmény!)
http://ad.adverticum.net/b/cl,1,6022,133103,204265/click.prm
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]