{"id":21421301,"url":"https://github.com/owenliang/elasticsearch-dsl-usage","last_synced_at":"2025-07-14T07:32:38.906Z","repository":{"id":81719453,"uuid":"129021304","full_name":"owenliang/elasticsearch-dsl-usage","owner":"owenliang","description":"使用elasticsearch-dsl库来更结构化的生成ES请求","archived":false,"fork":false,"pushed_at":"2018-04-18T03:12:05.000Z","size":1056,"stargazers_count":13,"open_issues_count":0,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-08T04:04:01.053Z","etag":null,"topics":["dsl","elasticsearch","elasticsearch-dsl","php"],"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/owenliang.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-04-11T02:17:52.000Z","updated_at":"2023-05-05T06:43:10.000Z","dependencies_parsed_at":null,"dependency_job_id":"d4304d68-08dc-4d9d-bcf4-e9245eea836a","html_url":"https://github.com/owenliang/elasticsearch-dsl-usage","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/owenliang/elasticsearch-dsl-usage","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/owenliang%2Felasticsearch-dsl-usage","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/owenliang%2Felasticsearch-dsl-usage/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/owenliang%2Felasticsearch-dsl-usage/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/owenliang%2Felasticsearch-dsl-usage/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/owenliang","download_url":"https://codeload.github.com/owenliang/elasticsearch-dsl-usage/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/owenliang%2Felasticsearch-dsl-usage/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265255274,"owners_count":23735222,"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":["dsl","elasticsearch","elasticsearch-dsl","php"],"created_at":"2024-11-22T20:33:15.305Z","updated_at":"2025-07-14T07:32:38.895Z","avatar_url":"https://github.com/owenliang.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# elasticsearch-dsl-usage\n\n## 背景\n\n原生PHP生成Elasticsearch查询的可读性很差，这个项目演示如何使用Elasticsearch-Dsl库结构化的生成查询请求。\n\n而且我发现DSL库对ES新手非常友好，可以快速的上手并加深对ES语法的理解，值得使用。\n\n## 说明\n\n* index.php：创建2条用于测试的数据\n* search.php：演示DSL库的使用","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fowenliang%2Felasticsearch-dsl-usage","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fowenliang%2Felasticsearch-dsl-usage","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fowenliang%2Felasticsearch-dsl-usage/lists"}