{"id":19267221,"url":"https://github.com/scriptscat/dz_recommend","last_synced_at":"2025-07-09T06:05:40.126Z","repository":{"id":44542837,"uuid":"512819249","full_name":"scriptscat/dz_recommend","owner":"scriptscat","description":"油猴中文网用文章相似推荐","archived":false,"fork":false,"pushed_at":"2025-04-23T06:40:04.000Z","size":747,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-03T14:51:39.125Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://bbs.tampermonkey.net.cn/","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/scriptscat.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null}},"created_at":"2022-07-11T15:51:13.000Z","updated_at":"2025-04-23T06:40:08.000Z","dependencies_parsed_at":"2025-01-05T12:12:38.371Z","dependency_job_id":"a124e427-2f6d-4653-bb22-8fbd6e6f80d1","html_url":"https://github.com/scriptscat/dz_recommend","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/scriptscat/dz_recommend","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scriptscat%2Fdz_recommend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scriptscat%2Fdz_recommend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scriptscat%2Fdz_recommend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scriptscat%2Fdz_recommend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/scriptscat","download_url":"https://codeload.github.com/scriptscat/dz_recommend/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scriptscat%2Fdz_recommend/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264403794,"owners_count":23602620,"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":[],"created_at":"2024-11-09T20:11:09.448Z","updated_at":"2025-07-09T06:05:40.082Z","avatar_url":"https://github.com/scriptscat.png","language":"PHP","readme":"# dz_recommend\n\n油猴中文网用文章相似推荐\n\n## 开发配置\n启动docker后,在runtime/config/config_global.php文件后加入\n```php\n$_config['plugindeveloper'] = 2;\n```\n\n## es 索引模板\n\n```\nPUT _index_template/dz.forum_thread\n{\n  \"template\": {\n    \"mappings\": {\n      \"properties\": {\n        \"tid\": {\n          \"type\": \"long\"\n        },\n        \"fid\": {\n          \"type\": \"long\"\n        },\n        \"title\": {\n          \"type\": \"text\",\n          \"index\": true,\n          \"analyzer\": \"ik_max_word\",\n          \"eager_global_ordinals\": false,\n          \"index_phrases\": false,\n          \"norms\": true,\n          \"fielddata\": false,\n          \"store\": false,\n          \"index_options\": \"positions\",\n          \"search_analyzer\": \"ik_smart\"\n        },\n        \"content\": {\n          \"type\": \"text\",\n          \"index\": true,\n          \"analyzer\": \"ik_max_word\",\n          \"eager_global_ordinals\": false,\n          \"index_phrases\": false,\n          \"norms\": true,\n          \"fielddata\": false,\n          \"store\": false,\n          \"index_options\": \"positions\",\n          \"search_analyzer\": \"ik_smart\"\n        }\n      }\n    }\n  },\n  \"index_patterns\": [\n    \"dz.forum_thread\"\n  ]\n}\n```","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscriptscat%2Fdz_recommend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fscriptscat%2Fdz_recommend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscriptscat%2Fdz_recommend/lists"}