-
Notifications
You must be signed in to change notification settings - Fork 367
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
Elasticsearch Connector Technical Preview feedback #704
Comments
Elastic search connector is very useful and I started to use it immediately after available. Only thing I miss is the ability to modify request before sending to elastic search. It will help us implement complex query. Looks like it exist in App search and work place search connector. Having that would be really helpful. |
Hey @vinothdevelop Good to hear. Yes should be a straightforward addition. Created an issue here for this feature. #705 |
Thank you @joemcelroy, looks like the elastic connector is broken by latest version. Click events doesn't work due to error in track click action. Probably a change introduced to handle workplace search connector analytics broke it. _meta.id is not available in elastic search result object. I can send a PR but not sure if I can do it anytime soon. |
thanks @vinothdevelop - you're correct! a couple of changes within analytics intoduced in the workplace connector caused a regression within the elasticsearch connector. Good news is i've submitted a PR with the fix. Hopefully should be able to release soon #715 Also for 1.11.0 there has been a slight change in the API. We no longer pass in queryFields and we rely on |
Thank you for the quick response. We are upgrading to latest version now additional detail on the search field is really helpful. Looking forward to the #715 release. |
Thank you @joemcelroy, Analytics issue seems to be resolved with latest update. But looks like auto complete is broken. Rawhit is not available in autocomple query response but it is accessed here https://github.com/joemcelroy/search-ui/blob/2dc4c03a2ac3d8586e7250eb13741d825d598aac/packages/search-ui-elasticsearch-connector/src/handlers/common.ts#L25 |
thanks @vinothdevelop for the fix! This is now released under |
Brand new to ES, but I've found this connector very helpful in getting started! I'm wondering if there is any support for configuring this to use a query string query rather than a multi-match query? Or perhaps that would fall within the scope of #705 ? |
hey @jennifer122105, soon you will be able to modify the elasticsearch request query before its dispatched to elasticsearch. Just waiting for a release which will be next week :) Will feed this also back to the team to think about how we can make this more 1st class. |
Thanks for this nice connector!. I'm trying to run setFilter on a number field (range query) but the underlying query is still being a "term" query. Is this the way to do it?
Request query:
Thanks |
A suggestion would be to allow including the "track_total_hits" option to the elastic query |
hmm that looks like a bug @llermaly. Could you open up a ticket please? |
You can use the escape hatch function to adjust the elasticsearch request to add |
Thanks for this connector. We tested the Facet component with filterType="none". But it doesn't translate to a must_not filter in Elasticsearch query.
Resulting request query:
When we set a filter in config.filters the query uses must_not
Resulting request query:
|
thanks @rodeinator - i was hoping noone noticed this before I found a solution 😂. You're correct, it doesn't work for Thanks |
Any idea when this will get moved out of technical preview, or what steps need to occur before that happens? |
we are still discussing the plans for Search UI. The plan currently is for us to:
Hoping to get to this in next few months. If you wish to discuss your requirements too, im available on the community slack! https://ela.st/slack |
Thank you for using the Elasticsearch Connector for Search UI.
We have documentation on the connector and a tutorial to follow.
While the connector is in Technical Preview, we would appreciate feedback, suggestions, and bug reports.
Please use this issue to report any of the above.
The text was updated successfully, but these errors were encountered: