1. medoc
  2. recoll
  3. Issues
Issue #114 resolved

[python] query to expose the full xapian string after execution

created an issue

It would be nice if python api exposed the full xapian query string. This would allow better highlighting of results.

Comments (9)

  1. medoc repo owner

    I can only agree. If you want to have a go, I'm quite ready to provide info on the C++ side (there would be a very simple method to add to the RclQuery class, and then its Python interface).

  2. medoc repo owner

    What data would you want to access precisely ? The Xapian query description string (as displayed for example in the "show query" link from the GUI) may not be that easy to parse and the terms may not be exact matches for what is found in the source text (because of accents mostly).

  3. koniu reporter

    good point. indeed the "show query" string would require some stripping of brackets and the such. i don't really follow the problem with accents is but i don't think that it would be too much of a problem

  4. medoc repo owner

    Would you mind contacting me by email at jf@dockes.org ? If you intend to publish your work on a web UI for Recoll, I'd be quite ready to collaborate actively, as this function has been requested a number of times in the past.

  5. Log in to comment