[Xapian-tickets] [Xapian] #416: php bindings - get_values for ValueCountMatchSpy return resource

Xapian nobody at xapian.org
Thu Dec 3 06:46:21 GMT 2009


#416: php bindings - get_values for ValueCountMatchSpy return resource
-----------------------------+----------------------------------------------
 Reporter:  overgroove       |       Owner:  olly     
     Type:  defect           |      Status:  new      
 Priority:  normal           |   Milestone:  1.1.4    
Component:  Xapian-bindings  |     Version:  SVN trunk
 Severity:  normal           |    Keywords:           
Blockedby:                   |    Platform:  All      
 Blocking:                   |  
-----------------------------+----------------------------------------------

Comment(by overgroove):

 Cool, thanks for the cleanup.  Maybe I'll messing around and try creating
 some situation where add_assoc_long would fail and seeing how it actually
 behaves.  Also, I read somewhere from--an unreliable source I'm sure--that
 add_assoc_long is just an alias to add_assoc_long_ex.  Although, if you
 were looking at the source and didn't see that, then said source must be
 wrong, outdated, or both.

 In regards to having this work for me, it did work for me.  One thing I'd
 mention is that is that I get an empty array back when the std::map is
 empty.  This is expected but I'm not sure what your preference is for what
 to return in that situation.  An empty array works fine for me.

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



More information about the Xapian-tickets mailing list