Re: beagle problem

2007-12-14 Thread Joe Shaw
Hi,

On 12/13/07, Debajyoti Bera [EMAIL PROTECTED] wrote:
  I've made some other test, and I've seen that beagle-search does find
  files in the applications static index, but fails in the
  documentation static index. beagle-query and nautilus work fine.

 Oh ... beagle-search explicitly excludes documentation index while searching.
 The documentation index is used by yelp (gnome help browser). Apparently
 documentation results in beagle-search was confusing users and so it was
 blacklisted from general search.

I'm now of the mind that we should probably re-enable documentation as
a separate category in the search.  The UI can handle it reasonably
well, whereas Best definitely could not.

Joe
___
Dashboard-hackers mailing list
Dashboard-hackers@gnome.org
http://mail.gnome.org/mailman/listinfo/dashboard-hackers


Re: beagle problem

2007-12-14 Thread D Bera
  Oh ... beagle-search explicitly excludes documentation index while 
  searching.
  The documentation index is used by yelp (gnome help browser). Apparently
  documentation results in beagle-search was confusing users and so it was
  blacklisted from general search.

 I'm now of the mind that we should probably re-enable documentation as
 a separate category in the search.  The UI can handle it reasonably
 well, whereas Best definitely could not.

Ok. I filed a bug to track the progress. Up for grabs,
http://bugzilla.gnome.org/show_bug.cgi?id=503629

- dBera

-- 
-
Debajyoti Bera @ http://dtecht.blogspot.com
beagle / KDE fan
Mandriva / Inspiron-1100 user
___
Dashboard-hackers mailing list
Dashboard-hackers@gnome.org
http://mail.gnome.org/mailman/listinfo/dashboard-hackers


Re: beagle problem

2007-12-14 Thread Giuseppe Borzi
On Fri, 14 Dec 2007 12:00:12 -0500
Joe Shaw [EMAIL PROTECTED] wrote:

 Hi,
 
 
  Oh ... beagle-search explicitly excludes documentation index while
  searching. The documentation index is used by yelp (gnome help
  browser). Apparently documentation results in beagle-search was
  confusing users and so it was blacklisted from general search.
 
 I'm now of the mind that we should probably re-enable documentation as
 a separate category in the search.  The UI can handle it reasonably
 well, whereas Best definitely could not.
 
 Joe

Just a suggestion, you can make it optional for users, i.e. if someone
finds the Documentation results confusing can disable them. I've
noticed that yelp is not able to use beagle daemon, when a search is
launched it warns:

(yelp:11000): Yelp-WARNING **: beagled not running, using basic search
support.

but beagled is running.
This happens with beagle 0.3.1 and yelp 2.20.0 under Ubuntu 7.10.

Regards.

-- 
***
* Giuseppe Borzi, Assistant Professor at the  *
* University of Messina - Department of Civil Engineering *
* Address: Contrada di Dio, Messina, I-98166, Italy   *
* Tel: +390903977323  *
* Fax: +390903977480  *
* email:   [EMAIL PROTECTED]*
* url: http://www.webalice.it/gborzi1 *
***


signature.asc
Description: PGP signature
___
Dashboard-hackers mailing list
Dashboard-hackers@gnome.org
http://mail.gnome.org/mailman/listinfo/dashboard-hackers


useful tool beagle-dump-index

2007-12-14 Thread D Bera
Hi,

People don't seem to know much about beagle-dump-index. It can be used
to extract raw information from beagle index. E.g.

* to get all uris in FileSystemIndex
$ beagle-dump-index --dump-uris --index=FileSystemIndex

* to get extracted properties (or figure out if a file is already indexed)
$ beagle-dump-index -dump-properties --index=FileSystemIndex
file:///uri/of/file/directory

* to get all words in the index
$ beagle-dump-index --term-frequencies --index=FileSystemIndex

Its a very useful debugging tool.

- dBera

-- 
-
Debajyoti Bera @ http://dtecht.blogspot.com
beagle / KDE fan
Mandriva / Inspiron-1100 user
___
Dashboard-hackers mailing list
Dashboard-hackers@gnome.org
http://mail.gnome.org/mailman/listinfo/dashboard-hackers


Re: beagle problem

2007-12-14 Thread Debajyoti Bera
 noticed that yelp is not able to use beagle daemon, when a search is
 launched it warns:

 (yelp:11000): Yelp-WARNING **: beagled not running, using basic search
 support.

 but beagled is running.
 This happens with beagle 0.3.1 and yelp 2.20.0 under Ubuntu 7.10.

This is probably the same issue as libbeagle0 vs libbeagle1. yelp needs to be 
rebuilt with libbeagle1 [1].

- dBera

[1] Some distributions have patched yelp to build with libbeagle1 by 
commenting out 
beagle_query_add_source (query, documentation);
This is incorrect; the API was removed and should be *replaced* by (as 
described in 
http://mail.gnome.org/archives/dashboard-hackers/2007-December/msg4.html):
beagle_query_add_text (query, source:documentation);

-- 
-
Debajyoti Bera @ http://dtecht.blogspot.com
beagle / KDE fan
Mandriva / Inspiron-1100 user
___
Dashboard-hackers mailing list
Dashboard-hackers@gnome.org
http://mail.gnome.org/mailman/listinfo/dashboard-hackers