Skip to content

Conversation

@loeffe1
Copy link

@loeffe1 loeffe1 commented Jul 24, 2024

What this pr does

Use BreakIteratorBoundaryScanner instead of SimpleBoundaryScanner

This is a basic proof of concept for english and german cores

How to test

Enable highlighting

Fixes: #4091

@dkd-kaehm
Copy link
Collaborator

dkd-kaehm commented Jan 29, 2025

Apache Solr can't boot up fully, therefore no integration tests possible...
Configured for HL-BS cores only can boot:

...
Caused by: org.apache.solr.common.SolrException: No system property or default value specified for hl.bs.language value:
...

See attached log:
solr.log

@loeffe1
Could you please attach remaining cores as well, or temporary disable all cores except following, which are required for tests.

  • de
  • da
  • en

AVAILABLE_CORES=(
"core_de"
"core_en"
"core_ar"
"core_hy"
"core_eu"
"core_ptbr"
"core_my"
"core_ca"
"core_zh"
"core_cs"
"core_da"
"core_nl"
"core_fi"
"core_fr"
"core_gl"
"core_el"
"core_hi"
"core_hu"
"core_id"
"core_it"
"core_ja"
"core_km"
"core_ko"
"core_lo"
"core_no"
"core_fa"
"core_pl"
"core_pt"
"core_ro"
"core_ru"
"core_es"
"core_sv"
"core_th"
"core_tr"
"core_uk"
"core_rs"
"core_ie"
"core_lv"
)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] Prevent word truncation with enabled resultsHighlighting

2 participants