• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

hypothesis / h / 7949 / 1
66%
master: 97%

Build:
Build:
LAST BUILD BRANCH: realtime-update-v1-h-only-1
DEFAULT BRANCH: master
Ran 15 Sep 2015 02:05PM UTC
Files 83
Run time 2min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

15 Sep 2015 01:58PM UTC coverage: 65.628%. Remained the same
7949.1

push

travis-ci

nickstenning
Improve factoring of search/filtering

Testing and changing the the `h.api.query.build` function was getting
somewhat unwieldy.

This commit refactors the query builder into a class, `query.Builder`,
the behaviour of which can be extended by filters and matchers.

Filters return match conditions for an Elasticsearch filter which
restrict the search results to ONLY those matching the returned filter
object.

Matchers return match conditions for an Elasticsearch query, and form
part of a match clause in which annotations SHOULD match the filter to
be returned from the query.

Both filters and matchers are defined to be callables which accept the
query parameters only.

2253 of 3433 relevant lines covered (65.63%)

0.66 hits per line

Source Files on job 7949.1
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 7949
  • Travis Job 7949.1
  • d6aea6b0 on github
  • Prev Job for on refactor-search (#7948.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc