-
Notifications
You must be signed in to change notification settings - Fork 24.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Highlight for Pinned Query not Working #53699
Labels
:Search Relevance/Highlighting
How a query matched a document
Team:Search Relevance
Meta label for the Search Relevance team in Elasticsearch
Comments
danielmitterdorfer
added
the
:Search Relevance/Highlighting
How a query matched a document
label
Mar 18, 2020
Pinging @elastic/es-search (:Search/Highlighting) |
I'll look into this. A workaround is to reiterate the organic part of the query in the highlight section like so:
|
markharwood
added a commit
that referenced
this issue
Mar 18, 2020
markharwood
added a commit
to markharwood/elasticsearch
that referenced
this issue
Mar 18, 2020
markharwood
added a commit
that referenced
this issue
Mar 18, 2020
Will be fixed in 7.7 onwards. Thanks for reporting @jesserobles |
Awesome! Thanks for the workaround, and for fixing it so quickly @markharwood . |
javanna
added
the
Team:Search Relevance
Meta label for the Search Relevance team in Elasticsearch
label
Jul 12, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
:Search Relevance/Highlighting
How a query matched a document
Team:Search Relevance
Meta label for the Search Relevance team in Elasticsearch
Elasticsearch version (
bin/elasticsearch --version
): 7.4.2, 7.6.1Plugins installed: repository-s3
JVM version (
java -version
):openjdk 13.0.2 2020-01-14 OpenJDK Runtime Environment AdoptOpenJDK (build 13.0.2+8) OpenJDK 64-Bit Server VM AdoptOpenJDK (build 13.0.2+8, mixed mode, sharing)
OS version (
uname -a
if on a Unix-like system):Docker (from docker.elastic.co):
Linux ce1452e52a27 4.19.76-linuxkit #1 SMP Thu Oct 17 19:31:58 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Description of the problem including expected versus actual behavior:
Highlighting does not work when wrapping queries using the Pinned query, even though the issue at #44074 describes pinned results as being highlight-able. At the very least, the organic results should be highlighted.
Steps to reproduce:
Please include a minimal but complete recreation of the problem, including
(e.g.) index creation, mappings, settings, query etc. The easier you make for
us to reproduce it, the more likely that somebody will take the time to look at it.
The text was updated successfully, but these errors were encountered: