Closed karthikv29 closed 1 month ago
Hey @karthikv29, I'll add this in the next release 👍
Hi @karthikv29 , if you update to the latest release (v2.0.2) then you'll gave the toDsl()/toSql()
method available to you.
Docs: https://opensearch.pdphilip.com/os-specific#to-dsl
All the best
Thanks a lot
On Fri, Aug 2, 2024 at 7:50 AM David Philip @.***> wrote:
Hi @karthikv29 https://github.com/karthikv29 , if you update to the latest release (v2.0.2) then you'll gave the toDsl()/toSql() method available to you.
Docs: https://opensearch.pdphilip.com/os-specific#to-dsl
All the best
— Reply to this email directly, view it on GitHub https://github.com/pdphilip/laravel-opensearch/issues/2#issuecomment-2265189194, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFHZTU4XHKFIN6XMSLTY4ALZPNW6RAVCNFSM6AAAAABKQRHYYSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENRVGE4DSMJZGQ . You are receiving this because you were mentioned.Message ID: @.***>
Hello @pdphilip , Is there a way to log the raw query sent to OpenSearch? The ToSQL() outputs the sql version of the query passed, is there a way to output the OpenSearch query that has been passed to the cluster