[Xapian-tickets] [Xapian] #790: Operators |= and &= with Xapian::Query{}
Xapian
nobody at xapian.org
Wed Jul 17 03:56:59 BST 2019
#790: Operators |= and &= with Xapian::Query{}
-------------------------+---------------------------
Reporter: dpa-xapian | Owner: olly
Type: defect | Status: closed
Priority: normal | Milestone: 1.4.12
Component: Library API | Version: 1.4.11
Severity: normal | Resolution: fixed
Keywords: | Blocked By:
Blocking: | Operating System: All
-------------------------+---------------------------
Changes (by olly):
* status: assigned => closed
* resolution: => fixed
Comment:
I've made a lot of improvements to the Query class API docs in
[00f69cf3928b44a756ddafcde248610f72babf62] (backported for 1.4.12 in
[976ea09888503b9c2dc188c9b8111f928b3c19d4]).
I think that addresses all the issues raised here, so I'm going to close
this. It wouldn't be feasible to change how `Query()` or a query
constructed from an empty iterator pair works at this point as it would
force an incompatible change on existing code using the API.
We could perhaps make `Query(OP_INVALID)` behave like you expected
`Query()` to - if you or somebody else thinks that would be beneficial, we
could try it and see how it looks in various situations, and whether it's
actually helpful or just confusing.
--
Ticket URL: <https://trac.xapian.org/ticket/790#comment:4>
Xapian <https://xapian.org/>
Xapian
More information about the Xapian-tickets
mailing list