Bug 137770

Summary: Beagle Snippet Support Broken/Incomplete
Product: [openSUSE] SUSE Linux 10.1 Reporter: Stephan Binner <stbinner>
Component: GNOMEAssignee: E-mail List <gnome-bugs>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Major    
Priority: P5 - None CC: coolo
Version: Alpha 3plus   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Found By: Development Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Stephan Binner 2005-12-09 11:10:42 UTC
A commit to SnippetFu.cs disabled with a "#if false" block the stemming of snippet request terms. Obviously Best was adapted to this but not beagle-query (1), the libbeagle/beagle/test-client.c example (2) and libbeagle implementation is incomplete (3,4) to work-around this at all.

(1) tools/Query.cs#75 needs to use query.StemmedText instead of query.Text

(2) test-client.c#42 needs to add stemmed query terms

(3) beagle_snippet_request_set_query_terms_from_query() is not implemented

(4) there is no BeagleSearchTermRequest defined and the response is not handled in beagle_query_response

Summary: currently it's not possible for a non-Mono application to reliable request snippets and also not all Mono applications were adapted to above mentioned change.
Comment 1 Joe Shaw 2005-12-09 19:06:25 UTC
In the future, can you file general beagle bugs at bugzilla.gnome.org?  That's the canonical location for them.  We use b.n.c for SUSE- or Novell-specific bugs.

I just checked in a fix for this.  On the C# side, SnippetRequest now takes a Query, rather than text.  I made an analogous change on the libbeagle side, so you just call beagle_snippet_request_set_query() and it'll pull the stemmed text transparently.
Comment 2 Stephan Binner 2005-12-12 08:59:06 UTC
Thanks for the quick fix. Can you give an estimation when a Beagle version with it will be released? Or can you please add the patch to our beagle.rpm?
Comment 3 Stephan Binner 2005-12-14 10:41:45 UTC
Reopening until a fixed rpm is available in STABLE that CODE10 apps can use.
Comment 4 Stephan Binner 2005-12-22 15:59:05 UTC
Closing as it's in the submission queue and working. :-)