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

heimrichhannot / contao-utils-bundle / 38577605491
84%

Build:
DEFAULT BRANCH: v3
Ran 14 Oct 2026 02:07PM UTC
Jobs 1
Files 71
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

14 Oct 2026 02:06PM UTC coverage: 84.066% (+4.2%) from 79.825%
38577605491

push

github

web-flow
Add search vector field (#108)

* add search vector field

* remove build in stemmer, add preparation for snowball stemmer

* enhance tokenizer, info about default locate

* adjust comments

* update language loading

* add normalizer

* fix issues with contao 5.3

* drop 4.13 support

* make indexing async

* update test data

* apply rector

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* address review comments

- Declare an explicit ESCAPE '!' for the LIKE patterns, so escaped wildcards
  match literally on every platform, and test it against stored rows
- Add the missing imports to the README configuration example
- Complete the locale description of BuildSearchVectorEvent
- Replace Contao's internal LegacyLocaleSwitcher in the indexer test with a
  test double

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* move search vector field documentation to docs

Keep a short example in the README like for the other fields and move the
full documentation to docs/dca_fields/search_vector_field.md.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* add createCondition method

* reject several search vector fields per table

A second registration for the same table silently replaced the first one.
Now loading the DCA throws an exception that names the conflicting fields.
Loading a DCA several times in one process, each time registering the field
once, is still allowed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* address review comments on indexing

- Lock the record while its vector is rebuilt (SELECT ... FOR UPDATE in a
  transaction), so concurrent rebuilds cannot overwrite a newer vector;
  requires Doctrine DBAL 3.8
- Expand Contao 5.7 virtual fields before resolving the configured fields
- Reject invalid --id values in the rebuild command instead of rebuilding
  the whole table
- Replace the deprecated Connection::quoteIdentifier() with the platform's
  quoteSingleIdentifier() and report Doctrine deprecat... (continued)

392 of 407 new or added lines in 16 files covered. (96.31%)

1588 of 1889 relevant lines covered (84.07%)

8.9 hits per line

Uncovered Changes

Lines Coverage ∆ File
3
90.0
src/EventListener/DcaField/SearchVectorFieldListener.php
3
66.67
src/SearchVector/SearchVectorDataContainer.php
3
96.67
src/SearchVector/SearchVectorIndexer.php
3
90.32
src/SearchVector/SearchVectorLanguageSwitcher.php
1
75.0
src/Event/BuildSearchVectorEvent.php
1
66.67
src/SearchVector/LoadedLanguageFiles.php
1
80.0
src/SearchVector/Stemmer/SnowballStemmer.php
Jobs
ID Job ID Ran Files Coverage
1 38577605491.1 14 Oct 2026 02:07PM UTC 71
84.07
GitHub Action Run
Source Files on build 38577605491
  • Tree
  • List 71
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • be0b6e51 on github
  • Prev Build on v3 (#38409950718)
  • Next Build on v3 (#38578999371)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc