[Xapian-tickets] [Xapian] #777: Ruby API: no wrapper for metadata_keys_begin

Xapian nobody at xapian.org
Thu Jul 18 01:48:50 BST 2019


#777: Ruby API: no wrapper for metadata_keys_begin
------------------------------------+-----------------------------
 Reporter:  do                      |             Owner:  olly
     Type:  defect                  |            Status:  assigned
 Priority:  normal                  |         Milestone:  1.4.12
Component:  Xapian-bindings (Ruby)  |           Version:  1.4.11
 Severity:  normal                  |        Resolution:
 Keywords:                          |        Blocked By:
 Blocking:                          |  Operating System:  All
------------------------------------+-----------------------------

Comment (by olly):

 There are several other begin/end iterator methods which appear not to be
 handled:

 {{{
 $ grep 'rb_define_method.*[a-zA-Z0-9]_begin"' xapian_wrap.cc|grep -v
 _dangerous_
   rb_define_method(SwigClassQuery.klass, "get_unique_terms_begin",
 VALUEFUNC(_wrap_Query_get_unique_terms_begin), -1);
   rb_define_method(SwigClassQueryParser.klass, "stoplist_begin",
 VALUEFUNC(_wrap_QueryParser_stoplist_begin), -1);
   rb_define_method(SwigClassQueryParser.klass, "unstem_begin",
 VALUEFUNC(_wrap_QueryParser_unstem_begin), -1);
   rb_define_method(SwigClassDatabase.klass, "spellings_begin",
 VALUEFUNC(_wrap_Database_spellings_begin), -1);
   rb_define_method(SwigClassDatabase.klass, "synonyms_begin",
 VALUEFUNC(_wrap_Database_synonyms_begin), -1);
   rb_define_method(SwigClassDatabase.klass, "synonym_keys_begin",
 VALUEFUNC(_wrap_Database_synonym_keys_begin), -1);
   rb_define_method(SwigClassDatabase.klass, "metadata_keys_begin",
 VALUEFUNC(_wrap_Database_metadata_keys_begin), -1);
 }}}

--
Ticket URL: <https://trac.xapian.org/ticket/777#comment:3>
Xapian <https://xapian.org/>
Xapian



More information about the Xapian-tickets mailing list