-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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 7 driver #440
Conversation
@peterpp any chance you could make this PR against https://github.com/adminerevo/adminerevo so it could become a part of a regular release? (Thank you! :-) |
Yes, I noticed activity around adminerevo and I'm happy that somebody is willing to do at least basic maintenance. I am quite busy right now, but I will prepare it. |
Signed-off-by: Roy-Orbison <[email protected]> (cherry picked from commit 2717333)
(cherry picked from commit fad4ce7)
(cherry picked from commit 496ab9a)
(cherry picked from commit 6024d73)
(cherry picked from commit 33fcfbc)
(cherry picked from commit 7338ead)
and fix a media query. Signed-off-by: Lucas Sandery <[email protected]> (cherry picked from commit 4b0b011)
- Allow only scheme, host and port in the server field. - Use proper default host and port in Elasticsearch and ClickHouse driver.
In Elasticsearch, only indexed fields are searchable.
In Elasticsearch, text fields are not sortable.
2e15434
to
515708c
Compare
- Allow to choose "must", "should", "must_not" condition. - Add system "_id" column to the field list. So it can be used in search condition.
- Allow to search only in fields with index.
Mapping types are still supported in version 6, but only one mapping type can be created. In version 7, mapping types are deprecated and there is only one system '_doc' mapping type. See: https://www.elastic.co/guide/en/elasticsearch/reference/6.0/removal-of-types.html
- Removed empty body from requests.
285c6b8
to
04ecf52
Compare
@standa My Elasticseach drivers are on the way to AdminerEvo. However, the process is slow. Feel free to check out my own fork of the original Adminer with bunch of other fixes 😉 |
In Elasticsearch 7, mapping types are deprecated and there is only one system '_doc' mapping type. It does not make sense to display it anymore. So the whole presentation of Elastic indices in Adminer can be much improved. Indices can be treated as SQL tables instead of databases.
As long as this new approach is completelly different, it would by complicated to handle it by conditions in the current Elastic driver. And I honestly don't want to bother with it. So I created a brand new driver
elastic7
as a plugin and use it happily.Note that this branch is rebased onto
field-priviliges
(#422) which is required for this driver to work corretly.