[Xapian-tickets] [Xapian] #159: Should be possible to introspect on Query objects

Xapian nobody at xapian.org
Tue Nov 5 15:31:29 GMT 2013


#159: Should be possible to introspect on Query objects
-------------------------+------------------------------
 Reporter:  richard      |             Owner:  nobody
     Type:  enhancement  |            Status:  new
 Priority:  normal       |         Milestone:  1.3.x
Component:  Library API  |           Version:  SVN trunk
 Severity:  normal       |        Resolution:
 Keywords:               |        Blocked By:
 Blocking:               |  Operating System:  All
-------------------------+------------------------------
\
\
\
\
Changes (by olly):

 * milestone:   => 1.3.x

\
\
\

Comment:

 r17617 adds the start of an introspection interface - with what's there
 you can walk the query tree and get the type of each node.

 {{{Query::get_terms_begin()}}} allows you to read the term for a node
 which is a term - not sure if an additional method to get the termname
 directly is worthwhile or not.

 I've not yet added methods to allow introspection of all the details of
 all query types, and I've not yet added any test coverage (though it does
 at least work in informal testing).
\
\
\

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



More information about the Xapian-tickets mailing list