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

Xapian nobody at xapian.org
Wed Mar 20 01:03:37 GMT 2019


#777: Ruby API: no wrapper for metadata_keys_begin
--------------------+-------------------------
 Reporter:  do      |             Owner:  olly
     Type:  defect  |            Status:  new
 Priority:  normal  |         Milestone:
Component:  Other   |           Version:
 Severity:  normal  |        Resolution:
 Keywords:          |        Blocked By:
 Blocking:          |  Operating System:  All
--------------------+-------------------------
Description changed by do:

Old description:

> Hello, there is no wrapper for `metadata_keys_begin` for RUBY API. Please
> add!
>
> My version:
> ```
> def metadata(term)
>   Xapian._safelyIterate(self.metadata_keys_begin(term),
>                         self.metadata_keys_end(term)) { |item|
>           item.term
>   }
> end # postlist(term)
> ```

New description:

 Hello, there is no wrapper for `metadata_keys_begin` for RUBY API. Please
 add!

 My version:

 {{{
 def metadata(term)
   Xapian._safelyIterate(self.metadata_keys_begin(term),
                         self.metadata_keys_end(term)) { |item|
           item.term
   }
 end

 }}}

--

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



More information about the Xapian-tickets mailing list