Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
elasticsearch_connector
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
elasticsearch_connector
Merge requests
!73
Issue
#3077596
: Support Elasticsearch server highlighting
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Issue
#3077596
: Support Elasticsearch server highlighting
issue/elasticsearch_connector-3077596:3077596-highlighting-support
into
8.0.x
Overview
0
Commits
19
Pipelines
18
Changes
12
Merged
M Parker
requested to merge
issue/elasticsearch_connector-3077596:3077596-highlighting-support
into
8.0.x
5 months ago
Overview
0
Commits
19
Pipelines
18
Changes
12
Expand
Closes
#3077596
0
0
Merge request reports
Compare
8.0.x
version 16
cef45597
2 months ago
version 15
eacf7608
2 months ago
version 14
250ec3ed
2 months ago
version 13
64755af8
2 months ago
version 12
297a0641
2 months ago
version 11
c682a85e
2 months ago
version 10
93eac458
2 months ago
version 9
9691d7c9
4 months ago
version 8
1b9505a7
4 months ago
version 7
09f31925
5 months ago
version 6
797b1065
5 months ago
version 5
24bd3276
5 months ago
version 4
d8bc4af8
5 months ago
version 3
e1273458
5 months ago
version 2
3c5f0d3f
5 months ago
version 1
41dae1a7
5 months ago
8.0.x (base)
and
latest version
latest version
290528e4
19 commits,
2 months ago
version 16
cef45597
18 commits,
2 months ago
version 15
eacf7608
17 commits,
2 months ago
version 14
250ec3ed
17 commits,
2 months ago
version 13
64755af8
17 commits,
2 months ago
version 12
297a0641
16 commits,
2 months ago
version 11
c682a85e
15 commits,
2 months ago
version 10
93eac458
14 commits,
2 months ago
version 9
9691d7c9
14 commits,
4 months ago
version 8
1b9505a7
12 commits,
4 months ago
version 7
09f31925
11 commits,
5 months ago
version 6
797b1065
9 commits,
5 months ago
version 5
24bd3276
6 commits,
5 months ago
version 4
d8bc4af8
5 commits,
5 months ago
version 3
e1273458
4 commits,
5 months ago
version 2
3c5f0d3f
3 commits,
5 months ago
version 1
41dae1a7
1 commit,
5 months ago
12 files
+
1653
−
6
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
12
Search (e.g. *.vue) (Ctrl+P)
config/schema/elasticsearch_connector.processor.schema.yml
0 → 100644
+
98
−
0
Options
plugin.plugin_configuration.search_api_processor.elasticsearch_highlight
:
type
:
search_api.default_processor_configuration
label
:
'
Elasticsearch
Highlight
processor
configuration'
mapping
:
boundary_scanner
:
type
:
string
label
:
'
Boundary
scanner'
constraints
:
Choice
:
-
chars
-
sentence
-
word
boundary_scanner_locale
:
type
:
langcode
label
:
'
Boundary
scanner
locale'
encoder
:
type
:
string
label
:
'
Snippet
encoder'
constraints
:
Choice
:
-
default
-
html
fields
:
requiredKey
:
false
type
:
sequence
label
:
'
Fields
to
highlight'
orderby
:
value
sequence
:
type
:
machine_name
label
:
'
Field
name'
constraints
:
NotBlank
:
message
:
"
Enable
at
least
one
field,
otherwise
disable
the
ElasticSearch
Highlight
processor."
fragment_size
:
type
:
integer
label
:
'
Snippet
size'
constraints
:
NotBlank
:
{
}
Range
:
min
:
0
# See PHP_INT_MAX.
max
:
2147483647
fragmenter
:
type
:
string
label
:
'
Fragmenter'
constraints
:
Choice
:
-
simple
-
span
no_match_size
:
type
:
integer
label
:
'
Snippet
size
when
there
is
no
match'
constraints
:
NotBlank
:
{
}
Range
:
min
:
0
# See PHP_INT_MAX.
max
:
2147483647
number_of_fragments
:
type
:
integer
label
:
'
Maximum
number
of
snippets
per
field'
constraints
:
NotBlank
:
{
}
Range
:
min
:
0
# See PHP_INT_MAX.
max
:
2147483647
order
:
type
:
string
label
:
'
Snippet
order'
constraints
:
Choice
:
-
none
-
score
pre_tag
:
type
:
string
label
:
'
Highlight
opening
tag'
constraints
:
Regex
:
# Forbid any kind of control character.
# @see https://stackoverflow.com/a/66587087
pattern
:
'
/([^\PC])/u'
match
:
false
message
:
'
Highlight
tags
are
not
allowed
to
span
multiple
lines
or
contain
control
characters.'
require_field_match
:
type
:
boolean
label
:
'
Only
show
snippets
from
fields
that
match
the
query'
snippet_joiner
:
type
:
label
label
:
'
Snippet-joiner'
type
:
type
:
string
label
:
'
Highlighter
type'
constraints
:
Choice
:
-
unified
-
plain
-
fvh
Loading