After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 338460 - Search results in yelp wit beagle are useless.
Search results in yelp wit beagle are useless.
Status: RESOLVED OBSOLETE
Product: yelp
Classification: Applications
Component: Search
2.14.x
Other Linux
: Normal normal
: ---
Assigned To: Yelp maintainers
Yelp maintainers
Depends on:
Blocks:
 
 
Reported: 2006-04-14 12:19 UTC by Sebastien Bacher
Modified: 2012-01-20 14:57 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Sebastien Bacher 2006-04-14 12:19:36 UTC
That bug has been opened on https://launchpad.net/distros/ubuntu/+source/yelp/+bug/39451

"If beagle is running, yelp will use beagle as a search backend. The search results retured are in the form of a list of uri's, and thus not userfriendly.

Example:

file:///usr/share/ubuntu-docs/ubuntu/packagingguide/C/ubuntu.xml
file:///usr/share/gnome/help/about-ubuntu/C/about-ubuntu.xml
file:///usr/share/ubuntu-docs/html/desktopguide/C/get-ubuntu.html
file:///usr/share/ubuntu-docs/html/desktopguide/C/about-ubuntu.html

This bug is not related to, but depenendt or in dependency to other bugs. I'll add a list of #'s when I've filed the other bugs."
Comment 1 Don Scorgie 2006-04-24 17:06:56 UTC
Hmmm.  ccing Joe Shaw.  Maybe he can help out.

From reading the code, it should be spitting out document title and snippet, provided Beagle suppied them.  Looks like a Beagle problem?  (My Beagle is still broken, so I can't really check whats happening)
Comment 2 Don Scorgie 2006-05-11 18:26:49 UTC
OK, on my system (beagle is finally working yay!), using the beagle backend results in a pretty list of filenames with not a uri in sight...
Comment 3 Sebastien Bacher 2006-05-13 15:14:13 UTC
From the Ubuntu bug:

"> Do you still have the issue? Could you make a screenshot of it?

searching yelp for 'extract' with beagle running
http://librarian.launchpad.net/2618242/yelp-extract-with-beagle.png

searching yelp for 'ubuntu' with beagle running
http://librarian.launchpad.net/2618244/yelp-ubuntu-with-beagle.png"
Comment 4 Brent Smith (smitten) 2006-05-27 04:46:36 UTC
Just a guess, but is this because beagle doesn't have any metadata about the title of DocBook files?  The mime/type for these should be detected properly and a simple sax parser can pull the title *really* quick.  Joe?

Also, it would be nice if we could limit the search results to that particular user's LANGUAGE.
Comment 5 Brent Smith (smitten) 2006-07-01 14:50:32 UTC
Can reproduce by searching for ubuntu.  This is because the call to beagle_snippet_response_get_snippet() returns NULL

yelp-search-pager.c:446: snippet_response empty

so really, I think there is just no metadata on these files...
Comment 6 Jean-François Fortin Tam 2011-06-07 14:35:08 UTC
Brent, does Yelp still use beagle/tracker/etc, is this bug still relevant?