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

apognu / motiva / 27405010049
90%

Build:
DEFAULT BRANCH: main
Ran 12 Jun 2026 08:47AM UTC
Jobs 1
Files 57
Run time 1min
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

12 Jun 2026 08:44AM UTC coverage: 90.643% (-0.03%) from 90.669%
27405010049

push

github

apognu
Always scope queries to their scope's index pattern, skip combining names if enough names already exist.

This is a performance commit:

 - A query's scope was only used to determine the dataset filter, but it still only targeted the overall
   alias, meaning performance was left on the table while other member indices were scanned, even though
   they would never yield any result.
   Now, we add an `_index` prefix filter to the query, which Elasticsearch is able to optimize to skip
   non-matching indices entirely.
 - We used to always create new names by combining name parts (first, second, middle, mother, father, last),
   which is useful for search entities that don't provide a lot of information.
   Yet, when full entities are used for search, the combinatorial explosion can get unwieldy (we found
   a case where 105k synthetic names were built, adding significantly to the latency, before even hitting
   Elasticsearch.
   This PR skips the name combination function if we already have more than 20 name-like properties.

12 of 15 new or added lines in 2 files covered. (80.0%)

4020 of 4435 relevant lines covered (90.64%)

1171.71 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
86.4
-0.04% crates/libmotiva/src/index/elastic/queries.rs
1
97.59
-0.25% crates/libmotiva/src/model.rs
Jobs
ID Job ID Ran Files Coverage
1 27405010049.1 12 Jun 2026 08:47AM UTC 57
90.64
GitHub Action Run
Source Files on build 27405010049
  • Tree
  • List 57
  • Changed 3
  • Source Changed 3
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #27405010049
  • e3c1253f on github
  • Prev Build on main (#27009292367)
  • Next Build on main (#27414200998)
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