GNOME Bugzilla – Bug 338460
Search results in yelp wit beagle are useless.
Last modified: 2012-01-20 14:57:08 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."
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)
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...
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"
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.
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...
Brent, does Yelp still use beagle/tracker/etc, is this bug still relevant?