Title: DB and space are not used consistent when using different name · Issue #8 · vearch/python-algorithm-plugin · GitHub
Open Graph Title: DB and space are not used consistent when using different name · Issue #8 · vearch/python-algorithm-plugin
X Title: DB and space are not used consistent when using different name · Issue #8 · vearch/python-algorithm-plugin
Description: Hello, I discovered that if you use a different name for DB and space, some APIs will return the wrong result. for example, get image by id. Which causes confusion. To reproduce the issue you can create a DB as "zerobox" and a space as "...
Open Graph Description: Hello, I discovered that if you use a different name for DB and space, some APIs will return the wrong result. for example, get image by id. Which causes confusion. To reproduce the issue you can c...
X Description: Hello, I discovered that if you use a different name for DB and space, some APIs will return the wrong result. for example, get image by id. Which causes confusion. To reproduce the issue you can c...
Opengraph URL: https://github.com/vearch/python-algorithm-plugin/issues/8
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"DB and space are not used consistent when using different name","articleBody":"Hello,\r\n\r\nI discovered that if you use a different name for DB and space, some APIs will return the wrong result. for example, get image by id. Which causes confusion.\r\n\r\nTo reproduce the issue you can create a DB as \"zerobox\" and a space as \"bottles\".\r\nThen insert an image into the space after that run API get image by id\r\n```\r\n# insert image\r\nPOST {{vearch_url}}/zerobox/bottles/black1\r\n\r\n{\r\n \"keyword\": \"Black Bottle\",\r\n \"url\": \"/images/test_black_1.jpg\",\r\n \"image\": {\r\n \"feature\": \"/images/test_black_1.jpg\"\r\n },\r\n \"tags\": [\r\n \"black\",\r\n \"straight\"\r\n ]\r\n}\r\n\r\n# get image by id\r\nGET {{vearch_url}}/zerobox/bottles/black1\r\n\r\n# the result is wrong, it should be found.\r\n{\"_index\":\"zerobox\",\"_type\":\"bottles\",\"_id\":\"black1\",\"found\":false}\r\n```\r\n\r\nIf this is an expected behaviour, it is better documented in README.\r\n\r\nThanks,\r\n\r\nRobin","author":{"url":"https://github.com/ziyunxiao","@type":"Person","name":"ziyunxiao"},"datePublished":"2021-03-15T14:49:34.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/8/python-algorithm-plugin/issues/8"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:867ec01c-e777-017d-842f-900eca5d805a |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D38A:3A8D90:35525C3:44D0B5B:6974BCF8 |
| html-safe-nonce | dcc5cb258ae47402ffb4d79fc27a39bbdf20c103c3cc69f5dbaa0d3822982cab |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMzhBOjNBOEQ5MDozNTUyNUMzOjQ0RDBCNUI6Njk3NEJDRjgiLCJ2aXNpdG9yX2lkIjoiNzMxMzUyMDU4MTY5NTI5MDYxNiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 3128c894c1e4256e095e45ae9ef6a8821b15fc7c7eab835d46b85c1f92a4a75d |
| hovercard-subject-tag | issue:831889233 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/vearch/python-algorithm-plugin/8/issue_layout |
| twitter:image | https://opengraph.githubassets.com/ffdaa78f89f6c25bc32a2412a244a287cd9a0f5654b7311a191854195ee320b5/vearch/python-algorithm-plugin/issues/8 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ffdaa78f89f6c25bc32a2412a244a287cd9a0f5654b7311a191854195ee320b5/vearch/python-algorithm-plugin/issues/8 |
| og:image:alt | Hello, I discovered that if you use a different name for DB and space, some APIs will return the wrong result. for example, get image by id. Which causes confusion. To reproduce the issue you can c... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ziyunxiao |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4a4bf5f4e28041a9d2e5c107d7d20b78b4294ba261cab243b28167c16a623a1f |
| turbo-cache-control | no-preview |
| go-import | github.com/vearch/python-algorithm-plugin git https://github.com/vearch/python-algorithm-plugin.git |
| octolytics-dimension-user_id | 40046182 |
| octolytics-dimension-user_login | vearch |
| octolytics-dimension-repository_id | 248474856 |
| octolytics-dimension-repository_nwo | vearch/python-algorithm-plugin |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 248474856 |
| octolytics-dimension-repository_network_root_nwo | vearch/python-algorithm-plugin |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 488b30e96dfd057fbbe44c6665ccbc030b729dde |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width