[Xapian-tickets] [Xapian] #754: Exception in generate_sample with 0 as sample size
Xapian
nobody at xapian.org
Mon Apr 2 23:23:20 BST 2018
#754: Exception in generate_sample with 0 as sample size
--------------------------+--------------------------
Reporter: samuelharden | Owner: olly
Type: defect | Status: new
Priority: normal | Milestone: 1.4.6
Component: Omega | Version: 1.4.5
Severity: normal | Resolution:
Keywords: GoodFirstBug | Blocked By:
Blocking: | Operating System: All
--------------------------+--------------------------
Comment (by olly):
> It'd be good to check that the dynamic snippet code in core handles this
case sensibly too.
I don't see anything in `xapian-core/tests/api_snippets.cc` testing what
happens if the requested snippet length is 0 or a sufficiently small value
that there's no useful snippet to show, so that would be a useful addition
still.
--
Ticket URL: <https://trac.xapian.org/ticket/754#comment:5>
Xapian <https://xapian.org/>
Xapian
More information about the Xapian-tickets
mailing list