If you're purely processing internal logs on an internal service, you're probably good.
If you're exposing an API or a UI to paying customers which calls Elastic search to run a query, then it's maybe not great.
Everything needs to be caveated with "maybe" or "possibly", because nobody knows how it'd go in court.
But you really like the lucene natural language search functionality, so you copy your database into a lucene database for searching. But hey, elasticsearch takes care of a bunch of tedious problems, so instead of using raw lucene, you use elasticsearch...
So, you've got a PHP web application that queries this cache of the catalog stored in elasticsearch; what's your legal liability?
This will be a nightmare if ever tried in court.