-
Notifications
You must be signed in to change notification settings - Fork 163
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
Support Highlight Query #85
Comments
We dont have this behavior ? |
I know about {
"query": ...,
"highlight": {
"fragment_size": 300,
"highlight_query": {"query_string": {"query": myQueryString}},
"fields": fields
},
} In elastic.js I would do (but can't) ejs.Request()
.query(ejs...)
.highlight(ejs.Highlight(fields)
.fragmentSize(300)
.query(ejs.QueryStringQuery(myQueryString))) // .query does not exist in elastic.js! |
So, right, does make sense :D |
+1 Please add the method that adds the |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add a
.query
method to theHighlight
class, to support thehighlight_query
field. http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/search-request-highlighting.html#_highlight_queryThe text was updated successfully, but these errors were encountered: