[Xapian-tickets] [Xapian] #3: Replace Xapian::ErrorHandler
Xapian
nobody at xapian.org
Mon Mar 20 00:37:31 GMT 2023
#3: Replace Xapian::ErrorHandler
-------------------------+-------------------------------
Reporter: Olly Betts | Owner: Olly Betts
Type: enhancement | Status: assigned
Priority: lowest | Milestone: 2.0.0
Component: Library API | Version: git master
Severity: minor | Resolution:
Keywords: | Blocked By:
Blocking: | Operating System: All
-------------------------+-------------------------------
Changes (by Olly Betts):
* version: SVN trunk => git master
* milestone: 1.4.x => 2.0.0
Comment:
[2399442c690b7c032c7e165ec9e4b647d0cb0955] removed the `ErrorHandler`
class from git master (in 2017).
The original webtop motivation seems the main one here - i.e. when
searching several remote servers, have a way to present results from those
that respond even if one fails to. I struggle to see another realistic
use case.
I don't believe we've had user requests for such a feature since webtop,
which was over 20 years ago so I'm bumping the milestone for this.
The simplest way to handle this situation is just to retry the query - it
means a slow response when a server fails and means setting timeouts
appropriately matters, but it means the system always gives complete
results. Results excluding one server are problematic as (a) users may
notice if they fail to find a document they know is there and (b) further
search results where the bad server does respond may be inconsistent (for
example, narrowing the query by adding a term could return more results;
also if paging does another search then the paging may be inconsistent).
--
Ticket URL: <https://trac.xapian.org/ticket/3#comment:16>
Xapian <https://xapian.org/>
Xapian
More information about the Xapian-tickets
mailing list