Add debugging code for examining query strings.
authorCarl Worth <cworth@cworth.org>
Sun, 25 Oct 2009 05:18:20 +0000 (22:18 -0700)
committerCarl Worth <cworth@cworth.org>
Sun, 25 Oct 2009 05:18:20 +0000 (22:18 -0700)
commit526b7144f7d692e04ce950dfa7d0ee1bdf792cdc
tree25a73ced7064fe21b5095e62b7b2f659083fb622
parent144b2cbc5532e000c37b4d5ba7bb5d9ea113859f
Add debugging code for examining query strings.

It's nice that Xapian provides a little function to print a textual
representation of the entire query tree. So now, if you compile
like so:

make CFLAGS=-DDEBUG_QUERY

then you get a nice output of the query string received by the query
module, and the final query actually being sent to Xapian.
Makefile
query.cc