Open jedihe opened 7 years ago
Does it still work this way? We've got serious problems with ES5.x although i included your changes.
@jviele this patch is currently being used in a project that queries an Elasticsearch 5.x instance (5.1.x). Search queries work just fine. Make sure to check the request payload and verify it includes the top-level "post_filter" entry.
@jedihe thanks a lot. i really appreciate your help. After adding the changes from filter to post_filter it works :-) Had another problem during migration from ES2 to ES5 and access rules. Therefore i'll open another request...
Sorry to tell you: Its just working with a migrated ES2_to_ES5 index. When i try to catch a new ES5 built index, elasticUI shows nothing but a console error message:
"Quellübergreifende (Cross-Origin) Anfrage blockiert: Die Gleiche-Quelle-Regel verbietet das Lesen der externen Ressource auf https://someserver/someindex/_search?size=10&from=0. (Grund: CORS-Kopfzeile 'Access-Control-Allow-Origin' fehlt)." although we think we added Cross-Origin rules :-(
Why does it work with old ES Version 2 built index? Why not with freshly built ES Version 5? Strange...
Very hackish for now, just missing proper upstreaming of the update to elastic.js and doing a proper build of elasticui (both unminified and minified).