{"id":20237163,"url":"https://github.com/santik/sqlelasticsearchqueryconverter","last_synced_at":"2025-09-16T10:08:33.806Z","repository":{"id":53778232,"uuid":"100988671","full_name":"santik/SqlElasticSearchQueryConverter","owner":"santik","description":"Converts AND OR SQL like query to Elastic Search query","archived":false,"fork":false,"pushed_at":"2017-11-29T20:38:45.000Z","size":5,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-24T16:52:38.888Z","etag":null,"topics":["andor","elasticsearch","php","query","query-builder","query-parser","querystring","sql"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/santik.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-08-21T20:11:07.000Z","updated_at":"2019-08-01T11:08:15.000Z","dependencies_parsed_at":"2022-09-17T17:30:21.178Z","dependency_job_id":null,"html_url":"https://github.com/santik/SqlElasticSearchQueryConverter","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/santik%2FSqlElasticSearchQueryConverter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/santik%2FSqlElasticSearchQueryConverter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/santik%2FSqlElasticSearchQueryConverter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/santik%2FSqlElasticSearchQueryConverter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/santik","download_url":"https://codeload.github.com/santik/SqlElasticSearchQueryConverter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248279717,"owners_count":21077408,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["andor","elasticsearch","php","query","query-builder","query-parser","querystring","sql"],"created_at":"2024-11-14T08:25:14.226Z","updated_at":"2025-09-16T10:08:28.774Z","avatar_url":"https://github.com/santik.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SqlElasticSearchQueryConverter\nConverts AND OR SQL like query to Elastic Search query\n\n\n\n`\n(((\"query1 query 2\" OR query3) OR query4) AND (query5 OR query6)) AND query7\n`\n\nTO\n\n`\n{\"bool\":{\"must\":[{\"bool\":{\"must\":[{\"bool\":{\"should\":[{\"bool\":{\"should\":[{\"match_phrase\":{\"field\":\"query1 query 2\"}},{\"match\":{\"field\":\"query3\"}}]}},{\"match\":{\"field\":\"query4\"}}]}},{\"bool\":{\"should\":[{\"match\":{\"field\":\"query5\"}},{\"match\":{\"field\":\"query6\"}}]}}]}},{\"match\":{\"field\":\"query7\"}}]}}\n`\n\n\n# Installation\n\n```console\n$ composer require santik/sql-elasticsearch-query-converter\n```\n# Usage\n\nLook at examples/example1.php","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsantik%2Fsqlelasticsearchqueryconverter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsantik%2Fsqlelasticsearchqueryconverter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsantik%2Fsqlelasticsearchqueryconverter/lists"}