Bugzilla – Bug 137770
Beagle Snippet Support Broken/Incomplete
Last modified: 2005-12-22 15:59:05 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.
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.
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?
Reopening until a fixed rpm is available in STABLE that CODE10 apps can use.
Closing as it's in the submission queue and working. :-)