{"id":5278,"date":"2025-09-12T11:02:11","date_gmt":"2025-09-12T11:02:11","guid":{"rendered":"https:\/\/pokecon.jp\/job\/?p=5278"},"modified":"2025-09-12T11:02:11","modified_gmt":"2025-09-12T11:02:11","slug":"%e3%83%99%e3%82%af%e3%83%88%e3%83%ab%e6%a4%9c%e7%b4%a2%e3%81%a0%e3%81%91%e3%81%98%e3%82%83%e8%b6%b3%e3%82%8a%e3%81%aa%e3%81%84%ef%bc%9fqdrant%e3%81%a7%e7%b2%be%e5%ba%a6%e3%82%92%e9%ab%98%e3%82%81","status":"publish","type":"post","link":"https:\/\/pokecon.jp\/job\/5278\/","title":{"rendered":"\u30d9\u30af\u30c8\u30eb\u691c\u7d22\u3060\u3051\u3058\u3083\u8db3\u308a\u306a\u3044\uff1fQdrant\u3067\u7cbe\u5ea6\u3092\u9ad8\u3081\u308b\u30cf\u30a4\u30d6\u30ea\u30c3\u30c9\u691c\u7d22 &#8211; RAKUS Developers Blog"},"content":{"rendered":"\n<\/p>\n<div>\n<p><span itemscope=\"\" itemtype=\"http:\/\/schema.org\/Photograph\"><img decoding=\"async\" src=\"https:\/\/cdn-ak.f.st-hatena.com\/images\/fotolife\/t\/tech-rakus\/20250911\/20250911160639.png\" width=\"1200\" height=\"630\" loading=\"lazy\" title=\"\" class=\"hatena-fotolife\" itemprop=\"image\"\/><\/span><\/p>\n<p>\u3053\u3093\u306b\u3061\u306f\u3002\u30e1\u30fc\u30eb\u30c7\u30a3\u30fc\u30e9\u30fcAI\u958b\u767a\u8ab2\u306emarron\u3067\u3059\u3002\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0\u521d\u6295\u7a3f\u3068\u306a\u308a\u307e\u3059\u3002\u3088\u308d\u3057\u304f\u304a\u9858\u3044\u3057\u307e\u3059\u3002<\/p>\n<p>\u79c1\u304c\u6240\u5c5e\u3057\u3066\u3044\u308b\u30e1\u30fc\u30eb\u30c7\u30a3\u30fc\u30e9\u30fcAI\u958b\u767a\u8ab2\u3067\u306f\u3001\u4e3b\u306b\u30e1\u30fc\u30eb\u30c7\u30a3\u30fc\u30e9\u30fc\u306b\u642d\u8f09\u3055\u308c\u308bAI\u6a5f\u80fd\u306e\u958b\u767a\u3092\u62c5\u5f53\u3057\u3066\u3044\u307e\u3059\u3002<br \/>\u73fe\u5728\u306f10\u6708\u306b\u30ea\u30ea\u30fc\u30b9\u4e88\u5b9a\u306e\u56de\u7b54\u81ea\u52d5\u751f\u6210\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u306e\u958b\u767a\u3092\u9032\u3081\u3066\u3044\u307e\u3059\u3002<br \/>\u3053\u306e\u6a5f\u80fd\u3092\u958b\u767a\u3059\u308b\u306b\u3042\u305f\u3063\u3066\u3001\u65b0\u305f\u306b\u30d9\u30af\u30c8\u30ebDB\u3092\u5229\u7528\u3057\u305f\u30ca\u30ec\u30c3\u30b8\u306e\u691c\u7d22\u6a5f\u80fd\u304c\u5fc5\u8981\u3068\u306a\u308a\u307e\u3057\u305f\u3002<br \/>\u672c\u8a18\u4e8b\u3067\u306f\u3001\u30d9\u30af\u30c8\u30ebDB\u3067\u306e\u691c\u7d22\u7cbe\u5ea6\u3092\u4e0a\u3052\u308b\u305f\u3081\u306b\u5c0e\u5165\u3057\u305f\u30cf\u30a4\u30d6\u30ea\u30c3\u30c9\u691c\u7d22\u306b\u3064\u3044\u3066\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n<h2 id=\"\u30d9\u30af\u30c8\u30ebDB\u3068\u306f\">\u30d9\u30af\u30c8\u30ebDB\u3068\u306f<\/h2>\n<p>\u305d\u3082\u305d\u3082\u300c\u30d9\u30af\u30c8\u30ebDB\u3068\u306f\u306a\u3093\u305e\u3084\u300d\u3068\u3044\u3046\u65b9\u3082\u3044\u3089\u3063\u3057\u3083\u308b\u3068\u601d\u3044\u307e\u3059\u306e\u3067\u3001\u7c21\u5358\u306b\u8aac\u660e\u3055\u305b\u3066\u3044\u305f\u3060\u304d\u307e\u3059\u3002<br \/>\u958b\u767a\u4e2d\u306e\u6a5f\u80fd\u3067\u306f\u3001\u904e\u53bb\u306e\u5bfe\u5fdc\u5c65\u6b74\u3084FAQ\u3092\u3082\u3068\u306b\u4f5c\u6210\u3057\u305f\u30ca\u30ec\u30c3\u30b8\u304b\u3089\u554f\u3044\u5408\u308f\u305b\u306e\u56de\u7b54\u306b\u5fc5\u8981\u3068\u306a\u308b\u60c5\u5831\u3092\u691c\u7d22\u3057\u307e\u3059\u3002<br \/>\u30ca\u30ec\u30c3\u30b8\u306e\u691c\u7d22\u306b\u306f\u5168\u6587\u691c\u7d22\u3092\u5229\u7528\u3057\u305f\u30ad\u30fc\u30ef\u30fc\u30c9\u691c\u7d22\u3092\u7528\u3044\u3066\u3082\u826f\u3044\u306e\u3067\u3059\u304c\u3001\u30ad\u30fc\u30ef\u30fc\u30c9\u691c\u7d22\u306e\u5834\u5408\u306f\u554f\u3044\u5408\u308f\u305b\u306b\u542b\u307e\u308c\u308b\u30ad\u30fc\u30ef\u30fc\u30c9\u304c\u30ca\u30ec\u30c3\u30b8\u306b\u542b\u307e\u308c\u308b\u30ad\u30fc\u30ef\u30fc\u30c9\u3068\u5c11\u3057\u3067\u3082\u7570\u306a\u308b\u3068\u60c5\u5831\u304c\u30d2\u30c3\u30c8\u3057\u307e\u305b\u3093\u3002<br \/>\u3053\u306e\u554f\u984c\u3092\u89e3\u6c7a\u3059\u308b\u305f\u3081\u306b\u3001\u30ca\u30ec\u30c3\u30b8\u3084\u554f\u3044\u5408\u308f\u305b\u3092\u6570\u5024\u30d9\u30af\u30c8\u30eb\u5316\u3057\u3066\u30d9\u30af\u30c8\u30eb\u306e\u8fd1\u3055\u306b\u3088\u308b\u691c\u7d22\u3092\u884c\u3044\u307e\u3059\u3002\u3053\u306e\u6570\u5024\u30d9\u30af\u30c8\u30eb\u306f\u3001\u6587\u7ae0\u5168\u4f53\u304c\u3069\u3046\u3044\u3063\u305f\u610f\u5473\u3092\u793a\u3057\u3066\u3044\u308b\u304b\u3092\u591a\u6b21\u5143\u3067\u8868\u3057\u305f\u3082\u306e\u306b\u306a\u308a\u307e\u3059\u3002<br \/>\u691c\u7d22\u6642\u306f\u30d9\u30af\u30c8\u30eb\u540c\u58eb\u306e\u8ddd\u96e2\u3092\u6e2c\u308b\u3053\u3068\u3067\u3001\u8ddd\u96e2\u304c\u8fd1\u3044 = \u610f\u5473\u304c\u4f3c\u3066\u3044\u308b\u30c7\u30fc\u30bf\u3092\u898b\u3064\u3051\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u30d9\u30af\u30c8\u30eb\u5316\uff08\u57cb\u3081\u8fbc\u307f\u8868\u73fe\uff09\u306b\u3064\u3044\u3066\u306f\u53c2\u8003\u6587\u732e\u3082\u3054\u53c2\u7167\u304f\u3060\u3055\u3044\u3002<br \/>\u3053\u306e\u30d9\u30af\u30c8\u30eb\u30c7\u30fc\u30bf\u3092\u4fdd\u5b58\u3059\u308b\u306e\u306b\u5229\u7528\u3059\u308b\u306e\u304c\u30d9\u30af\u30c8\u30ebDB\u306b\u306a\u308a\u307e\u3059\u3002\u30d9\u30af\u30c8\u30ebDB\u306f\u30d9\u30af\u30c8\u30eb\u30c7\u30fc\u30bf\u3092\u4fdd\u5b58\u3059\u308b\u3053\u3068\u306b\u7279\u5316\u3057\u3066\u304a\u308a\u3001\u81a8\u5927\u306a\u30d9\u30af\u30c8\u30eb\u30c7\u30fc\u30bf\u540c\u58eb\u306e\u8ddd\u96e2\u8a08\u7b97\u3092\u52b9\u7387\u3088\u304f\u9ad8\u901f\u306b\u884c\u3063\u3066\u304f\u308c\u308b\u3082\u306e\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<h2 id=\"\u30e1\u30fc\u30eb\u30c7\u30a3\u30fc\u30e9\u30fc\u3067\u63a1\u7528\u3057\u305f\u30d9\u30af\u30c8\u30ebDB\">\u30e1\u30fc\u30eb\u30c7\u30a3\u30fc\u30e9\u30fc\u3067\u63a1\u7528\u3057\u305f\u30d9\u30af\u30c8\u30ebDB<\/h2>\n<p>\u30e1\u30fc\u30eb\u30c7\u30a3\u30fc\u30e9\u30fc\u3067\u30d9\u30af\u30c8\u30ebDB\u3092\u5229\u7528\u3059\u308b\u306e\u306f2\u56de\u76ee\u306a\u306e\u3067\u3059\u304c\u3001\u524d\u56de\u63a1\u7528\u3057\u305fChromaDB\u3067\u306f\u4eca\u56de\u306e\u6a5f\u80fd\u3092\u63d0\u4f9b\u3059\u308b\u306b\u3042\u305f\u3063\u3066\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u9762\u3067\u4e0d\u5b89\u304c\u3042\u308a\u307e\u3057\u305f\u3002<br \/>\u305d\u306e\u305f\u3081\u3001\u5225\u9014\u30d9\u30af\u30c8\u30ebDB\u5c02\u7528\u306e\u30b5\u30fc\u30d0\u3092\u69cb\u7bc9\u3059\u308b\u3053\u3068\u306b\u3057\u307e\u3057\u305f\u3002<br \/>\u5229\u7528\u3059\u308bDB\u3092\u9078\u5b9a\u3059\u308b\u305f\u3081\u306b\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u6761\u4ef6\u3092\u6e80\u305f\u3059\u88fd\u54c1\u3092\u63a2\u3059\u3053\u3068\u306b\u3057\u307e\u3057\u305f\u3002<\/p>\n<ul>\n<li>\u30aa\u30f3\u30d7\u30ec\u30df\u30b9\u74b0\u5883\u3067\u52d5\u4f5c\u3059\u308b\u3053\u3068<\/li>\n<li>\u30de\u30eb\u30c1\u30c6\u30ca\u30f3\u30c8\u69cb\u6210\u306b\u5bfe\u5fdc\u3067\u304d\u308b\u3053\u3068<\/li>\n<li>\u8907\u6570\u53f0\u30b5\u30fc\u30d0\u3092\u7528\u3044\u305f\u8ca0\u8377\u5206\u6563\u304c\u884c\u3048\u308b\u3053\u3068<\/li>\n<\/ul>\n<p>\u3053\u306e\u6761\u4ef6\u3092\u6e80\u305f\u3059\u88fd\u54c1\u3068\u3057\u3066\u300cMilvus\u300d\u300cQdrant\u300d\u300cPGVector\u300d\u3092\u5019\u88dc\u3068\u3057\u3066\u3001\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u3084\u4f7f\u3044\u3084\u3059\u3055\u3092\u6bd4\u8f03\u3057\u307e\u3057\u305f\u3002<br \/>\u7d50\u8ad6\u3068\u3057\u3066\u306f\u30bf\u30a4\u30c8\u30eb\u306b\u3082\u3042\u308b\u901a\u308a\u3001Qdrant\u3092\u63a1\u7528\u3059\u308b\u3053\u3068\u306b\u3057\u307e\u3057\u305f\u3002\u7406\u7531\u306f\u4e0b\u8a18\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n<ul>\n<li>Rust\u88fd\u3067\u3001\u9ad8\u901f\u306b\u691c\u7d22\u304c\u884c\u3048\u308b\u3053\u3068\u3092\u8b33\u3063\u3066\u3044\u308b<\/li>\n<li>Docker\u30b3\u30f3\u30c6\u30ca\u3060\u3051\u3067\u306a\u304f\u3001\u5358\u4f53\u30d0\u30a4\u30ca\u30ea\u3068\u3057\u3066\u3082\u914d\u5e03\u3055\u308c\u3066\u304a\u308a\u3001\u30aa\u30f3\u30d7\u30ec\u30df\u30b9\u306e\u30b5\u30fc\u30d0\u306b\u5c0e\u5165\u3057\u3084\u3059\u3044<\/li>\n<li>\u30de\u30eb\u30c1\u30c6\u30ca\u30f3\u30c8\u3067\u306e\u904b\u7528\u65b9\u6cd5\u304c\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u306b\u8a18\u8f09\u3055\u308c\u3066\u304a\u308a\u3001\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u306e\u6700\u9069\u5316\u65b9\u6cd5\u307e\u3067\u8a18\u8f09\u3055\u308c\u3066\u3044\u308b<\/li>\n<li>\u7c21\u5358\u306a\u8a2d\u5b9a\u3067\u5206\u6563\u74b0\u5883\u3092\u69cb\u7bc9\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u308b<\/li>\n<\/ul>\n<p>\u5229\u7528\u3059\u308b\u30d9\u30af\u30c8\u30ebDB\u304c\u6c7a\u5b9a\u3057\u305f\u306e\u3067\u3001\u5b9f\u969b\u306b\u5229\u7528\u3057\u3066\u307f\u307e\u3059\u3002<\/p>\n<h2 id=\"Qdrant\u3067\u306e\u5bc6\u30d9\u30af\u30c8\u30eb\u691c\u7d22\">Qdrant\u3067\u306e\u5bc6\u30d9\u30af\u30c8\u30eb\u691c\u7d22<\/h2>\n<p>\u6700\u521d\u306b\u8aac\u660e\u3057\u305f\u6587\u7ae0\u5168\u4f53\u306e\u610f\u5473\u5408\u3044\u3092\u793a\u3057\u305f\u30d9\u30af\u30c8\u30eb\u30c7\u30fc\u30bf\u3092\u5bc6\u30d9\u30af\u30c8\u30eb\uff08Dense Vector\uff09\u3068\u547c\u3073\u307e\u3059\u3002\u307e\u305a\u306f\u3053\u306e\u5bc6\u30d9\u30af\u30c8\u30eb\u3092\u5229\u7528\u3057\u305f\u691c\u7d22\u3092\u884c\u3063\u3066\u307f\u307e\u3059\u3002<\/p>\n<p>\u30d9\u30af\u30c8\u30eb\u30c7\u30fc\u30bf\u3092\u6295\u5165\u3059\u308b\u305f\u3081\u306bQdrant\u4e0a\u306b\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u3092\u6e96\u5099\u3057\u307e\u3059\u3002<br \/>\u4eca\u56de\u306e\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u306f\u3059\u3079\u3066Python\u3067\u8a18\u8f09\u3057\u3066\u3044\u307e\u3059\u3002\u307e\u305f\u3001Qdrant\u516c\u5f0f\u306eDocker\u30a4\u30e1\u30fc\u30b8\u3092\u5229\u7528\u3057\u3066\u74b0\u5883\u3092\u69cb\u7bc9\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<pre class=\"code lang-python\" data-lang=\"python\" data-unlink=\"\"><span class=\"synPreProc\">from<\/span> qdrant_client <span class=\"synPreProc\">import<\/span> QdrantClient, models\n\nqdrant = QdrantClient(url=<span class=\"synConstant\">\"http:\/\/localhost:6333\"<\/span>)\nqdrant.create_collection(\n    collection_name=<span class=\"synConstant\">\"dense_collection\"<\/span>,\n    vectors_config=models.VectorParams(size=<span class=\"synConstant\">1536<\/span>, distance=models.Distance.COSINE)\n)\n<\/pre>\n<p><code>size<\/code>\u306b\u306f\u30d9\u30af\u30c8\u30eb\u30c7\u30fc\u30bf\u306e\u6b21\u5143\u6570\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002\u4eca\u56de\u306fOpenAI\u306eEmbeddings API\u306b\u3088\u308b\u30d9\u30af\u30c8\u30eb\u5316\u3092\u884c\u3044\u3001\u30e2\u30c7\u30eb\u306b<code>text-embedding-3-small<\/code>\u3092\u5229\u7528\u3059\u308b\u305f\u3081\u30011536\u6b21\u5143\u3092\u6307\u5b9a\u3057\u3066\u3044\u307e\u3059\u3002<br \/><code>distance<\/code>\u306b\u306f\u30d9\u30af\u30c8\u30eb\u30c7\u30fc\u30bf\u306e\u8ddd\u96e2\u8a08\u7b97\u306b\u5229\u7528\u3059\u308b\u65b9\u5f0f\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002\u4eca\u56de\u306f\u30c6\u30ad\u30b9\u30c8\u306e\u985e\u4f3c\u5ea6\u3092\u8abf\u3079\u308b\u306e\u306b\u6700\u9069\u3068\u3055\u308c\u308b\u30b3\u30b5\u30a4\u30f3\u985e\u4f3c\u5ea6\u3092\u6307\u5b9a\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u304c\u4f5c\u6210\u51fa\u6765\u305f\u3089\u3001\u691c\u7d22\u5bfe\u8c61\u306e\u30c7\u30fc\u30bf\u3092\u4fdd\u5b58\u3057\u307e\u3059\u3002\u4eca\u56de\u306fChatGPT\u3092\u5229\u7528\u3057\u3066\u30015\u3064\u306e\u732b\u7a2e\u306e\u7279\u5fb4\u309220\u4ef6\u305a\u3064\u6587\u7ae0\u306b\u3057\u3066\u3082\u3089\u3044\u3001\u8a08100\u4ef6\u306e\u30c7\u30fc\u30bf\u3092\u6295\u5165\u3057\u307e\u3057\u305f\u3002<\/p>\n<pre class=\"code\" data-lang=\"\" data-unlink=\"\">\u30a2\u30e1\u30ea\u30ab\u30f3\u30b7\u30e7\u30fc\u30c8\u30d8\u30a2\u306f\u7b4b\u8089\u8cea\u3067\u3042\u308b\u3002\n\u30b9\u30b3\u30c6\u30a3\u30c3\u30b7\u30e5\u30d5\u30a9\u30fc\u30eb\u30c9\u306f\u8033\u304c\u6298\u308c\u3066\u3044\u308b\u732b\u3067\u3042\u308b\u3002\n\u30e1\u30a4\u30f3\u30af\u30fc\u30f3\u306f\u4e16\u754c\u6700\u5927\u7d1a\u306e\u732b\u3067\u3042\u308b\u3002\n\u30b7\u30e3\u30e0\u306f\u793e\u4ea4\u7684\u306a\u732b\u3067\u3042\u308b\u3002\n\u30da\u30eb\u30b7\u30e3\u306f\u9577\u6bdb\u306e\u732b\u3067\u3042\u308b\u3002\n...<\/pre>\n<pre class=\"code lang-python\" data-lang=\"python\" data-unlink=\"\"><span class=\"synPreProc\">from<\/span> qdrant_client <span class=\"synPreProc\">import<\/span> QdrantClient, models\n<span class=\"synPreProc\">from<\/span> openai <span class=\"synPreProc\">import<\/span> OpenAI\n\nqdrant = QdrantClient(<span class=\"synConstant\">\"http:\/\/localhost:6333\"<\/span>)\nopenai = OpenAI()\n\n<span class=\"synStatement\">with<\/span> <span class=\"synIdentifier\">open<\/span>(<span class=\"synConstant\">\"cat.txt\"<\/span>, <span class=\"synConstant\">\"r\"<\/span>, encoding=<span class=\"synConstant\">\"utf-8\"<\/span>) <span class=\"synStatement\">as<\/span> f:\n    <span class=\"synStatement\">for<\/span> idx, line <span class=\"synStatement\">in<\/span> <span class=\"synIdentifier\">enumerate<\/span>(f):\n        line = line.strip()\n        response = openai.embeddings.create(\n            <span class=\"synIdentifier\">input<\/span>=line,\n            model=<span class=\"synConstant\">\"text-embedding-3-small\"<\/span>\n        )\n        vector = response.data[<span class=\"synConstant\">0<\/span>].embedding\n        qdrant.upsert(\n            collection_name=<span class=\"synConstant\">\"dense_collection\"<\/span>,\n            points=[\n                models.PointStruct(\n                    <span class=\"synIdentifier\">id<\/span>=idx,\n                    vector=vector,\n                    payload={<span class=\"synConstant\">\"text\"<\/span>: line}\n                )\n            ]\n        )\n<\/pre>\n<p>Qdrant\u3067\u306f\u30d9\u30af\u30c8\u30eb\u4ee5\u5916\u306e\u30c7\u30fc\u30bf\u3092payload\u3068\u3044\u3046\u5f62\u5f0f\u3067\u4fdd\u6301\u3057\u307e\u3059\u3002\u4eca\u56de\u306f\u30d9\u30af\u30c8\u30eb\u5316\u5bfe\u8c61\u306e\u6587\u7ae0\u3092payload\u306b\u4fdd\u6301\u3059\u308b\u3088\u3046\u306b\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u6e96\u5099\u304c\u51fa\u6765\u305f\u306e\u3067\u3001\u6295\u5165\u3057\u305f\u30c7\u30fc\u30bf\u306b\u5bfe\u3057\u3066\u691c\u7d22\u3092\u884c\u3063\u3066\u307f\u307e\u3059\u3002<\/p>\n<pre class=\"code lang-python\" data-lang=\"python\" data-unlink=\"\"><span class=\"synPreProc\">from<\/span> qdrant_client <span class=\"synPreProc\">import<\/span> QdrantClient, models\n<span class=\"synPreProc\">from<\/span> openai <span class=\"synPreProc\">import<\/span> OpenAI\n\nqdrant = QdrantClient(<span class=\"synConstant\">\"http:\/\/localhost:6333\"<\/span>)\nopenai = OpenAI()\n\nquery = <span class=\"synConstant\">\"\u7a4f\u3084\u304b\u306a\u6027\u683c\u306e\u732b\"<\/span>\n\nresponse = openai.embeddings.create(\n    <span class=\"synIdentifier\">input<\/span>=query,\n    model=<span class=\"synConstant\">\"text-embedding-3-small\"<\/span>\n)\nvector = response.data[<span class=\"synConstant\">0<\/span>].embedding\n\nsearch_result = qdrant.query_points(\n    collection_name=<span class=\"synConstant\">\"dense_collection\"<\/span>,\n    query=vector,\n    with_payload=<span class=\"synIdentifier\">True<\/span>,\n    limit=<span class=\"synConstant\">5<\/span>\n)\n\n<span class=\"synStatement\">for<\/span> point <span class=\"synStatement\">in<\/span> search_result.points:\n    <span class=\"synIdentifier\">print<\/span>(f<span class=\"synConstant\">\"Score: {point.score}, Text: {point.payload['text']}\"<\/span>)\n<\/pre>\n<p>\u5b9f\u884c\u7d50\u679c\u304c\u3053\u3061\u3089\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<pre class=\"code\" data-lang=\"\" data-unlink=\"\">Score: 0.6045555, Text: \u30e1\u30a4\u30f3\u30af\u30fc\u30f3\u306f\u843d\u3061\u7740\u3044\u305f\u96f0\u56f2\u6c17\u3092\u6301\u3064\u732b\u3067\u3042\u308b\u3002\nScore: 0.59054977, Text: \u30da\u30eb\u30b7\u30e3\u306f\u512a\u96c5\u306a\u96f0\u56f2\u6c17\u3092\u6301\u3064\u732b\u3067\u3042\u308b\u3002\nScore: 0.565565, Text: \u30da\u30eb\u30b7\u30e3\u306f\u9759\u304b\u306a\u751f\u6d3b\u3092\u597d\u3080\u732b\u3067\u3042\u308b\u3002\nScore: 0.55805016, Text: \u30da\u30eb\u30b7\u30e3\u306f\u7a4f\u3084\u304b\u306a\u6027\u683c\u3067\u3042\u308b\u3002\nScore: 0.5490287, Text: \u30b9\u30b3\u30c6\u30a3\u30c3\u30b7\u30e5\u30d5\u30a9\u30fc\u30eb\u30c9\u306f\u9759\u304b\u306a\u74b0\u5883\u3092\u597d\u3080\u732b\u3067\u3042\u308b\u3002<\/pre>\n<p>\u7121\u4e8b\u4f3c\u3066\u3044\u308b\u6587\u7ae0\u3092\u691c\u7d22\u3059\u308b\u3053\u3068\u304c\u51fa\u6765\u307e\u3057\u305f\u3002<br \/>\u3053\u306e\u3068\u304d\u306e\u30b9\u30b3\u30a2\u306f\u30d9\u30af\u30c8\u30eb\u306e\u985e\u4f3c\u5ea6\u3092\u793a\u3057\u3066\u304a\u308a\u3001\u30b3\u30b5\u30a4\u30f3\u985e\u4f3c\u5ea6\u3092\u5229\u7528\u3057\u305f\u6642\u306f\u5024\u304c\u5927\u304d\u3044\u3082\u306e\u307b\u3069\u4f3c\u3066\u3044\u308b\u3053\u3068\u3092\u793a\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<h2 id=\"\u5bc6\u30d9\u30af\u30c8\u30eb\u691c\u7d22\u306e\u6b20\u70b9\">\u5bc6\u30d9\u30af\u30c8\u30eb\u691c\u7d22\u306e\u6b20\u70b9<\/h2>\n<p>\u5bc6\u30d9\u30af\u30c8\u30eb\u3092\u5229\u7528\u3057\u305f\u691c\u7d22\u3067\u306f\u6587\u7ae0\u304c\u4f3c\u3066\u3044\u308b\u304b\u3069\u3046\u304b\u306b\u7740\u76ee\u3057\u3066\u691c\u7d22\u3092\u884c\u3044\u307e\u3059\u3002<br \/>\u3053\u306e\u3068\u304d\u3001\u3042\u304f\u307e\u3067\u985e\u4f3c\u5ea6\u306b\u7740\u76ee\u3057\u3066\u691c\u7d22\u3092\u884c\u3046\u305f\u3081\u3001\u5168\u304f\u540c\u3058\u30ad\u30fc\u30ef\u30fc\u30c9\u3092\u542b\u3093\u3067\u3044\u308b\u304b\u306b\u306f\u7740\u76ee\u3057\u3066\u3044\u307e\u305b\u3093\u3002\u3053\u308c\u304c\u5f31\u70b9\u3068\u306a\u308b\u30d1\u30bf\u30fc\u30f3\u304c\u3042\u308a\u307e\u3059\u3002<br \/>\u4f8b\u3048\u3070\u3001\u300c\u25cb\u25cb\u3067\u306fA\u30dc\u30bf\u30f3\u3092\u6c7a\u5b9a\u3068\u3057\u3066\u4f7f\u3046\u300d\u3068\u300c\u00d7\u00d7\u3067\u306fB\u30dc\u30bf\u30f3\u3092\u6c7a\u5b9a\u3068\u3057\u3066\u4f7f\u3046\u300d\u3068\u3044\u3046\u30ca\u30ec\u30c3\u30b8\u304c\u3042\u3063\u305f\u3068\u3057\u307e\u3059\u3002<br \/>\u3053\u306e\u3068\u304d\u306b\u300c\u25cb\u25cb\u3067\u306f\u3069\u306e\u30dc\u30bf\u30f3\u304c\u6c7a\u5b9a\u3067\u3059\u304b\uff1f\u300d\u3068\u3044\u3046\u554f\u3044\u5408\u308f\u305b\u304c\u3042\u3063\u305f\u5834\u5408\u306b\u524d\u8005\u306e\u60c5\u5831\u3092\u4f7f\u3044\u305f\u3044\u306e\u306b\u3082\u304b\u304b\u308f\u3089\u305a\u3001\u5f8c\u8005\u306e\u60c5\u5831\u3092\u53d6\u5f97\u3059\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002\u3053\u308c\u3067\u306f\u56de\u7b54\u6587\u3068\u3057\u3066\u5229\u7528\u3067\u304d\u307e\u305b\u3093\u3002<br \/>\u305d\u3053\u3067\u30ad\u30fc\u30ef\u30fc\u30c9\u691c\u7d22\u3068\u540c\u3058\u4ed5\u7d44\u307f\u3092\u30d9\u30af\u30c8\u30eb\u691c\u7d22\u3067\u3082\u884c\u3048\u308b\u3088\u3046\u306b\u3057\u307e\u3059\u3002<\/p>\n<h2 id=\"\u758e\u30d9\u30af\u30c8\u30eb\u3068\u306f\">\u758e\u30d9\u30af\u30c8\u30eb\u3068\u306f<\/h2>\n<p>\u30ad\u30fc\u30ef\u30fc\u30c9\u691c\u7d22\u3092\u884c\u3046\u305f\u3081\u306b\u306f\u6587\u7ae0\u5185\u306b\u3069\u306e\u3088\u3046\u306a\u5358\u8a9e\u304c\u542b\u307e\u308c\u3066\u3044\u308b\u304b\u3092\u77e5\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u305d\u3053\u3067\u5229\u7528\u3059\u308b\u306e\u304c\u758e\u30d9\u30af\u30c8\u30eb\uff08Sparse Vector\uff09\u306b\u306a\u308a\u307e\u3059\u3002<br \/>\u5bc6\u30d9\u30af\u30c8\u30eb\u3067\u306f\u30d9\u30af\u30c8\u30eb\u5185\u306e\u5024\u304c0\u4ee5\u5916\u3067\u3042\u308b\u3053\u3068\u304c\u591a\u3044\u306e\u3067\u3059\u304c\u3001\u758e\u30d9\u30af\u30c8\u30eb\u3067\u306f\u5358\u8a9e\u306e\u983b\u51fa\u5ea6\u3084\u6c7a\u307e\u3063\u305f\u5358\u8a9e\u3068\u306e\u985e\u4f3c\u5ea6\u3092\u793a\u3059\u305f\u3081\u3001\u30d9\u30af\u30c8\u30eb\u5185\u306e\u5024\u304c0\u3067\u3042\u308b\u3053\u3068\u304c\u591a\u3044\u3067\u3059\u3002\u305d\u306e\u305f\u3081\u3001\u5024\u304c\u30b9\u30ab\u30b9\u30ab\u306e\u30d9\u30af\u30c8\u30eb\u3068\u3044\u3046\u610f\u5473\u3067\u758e\u30d9\u30af\u30c8\u30eb\u3068\u547c\u3070\u308c\u307e\u3059\u3002<br \/>\u758e\u30d9\u30af\u30c8\u30eb\u540c\u58eb\u3092\u6bd4\u8f03\u3059\u308b\u3053\u3068\u3067\u5358\u8a9e\u3054\u3068\u306e\u983b\u51fa\u5ea6\u3092\u8abf\u3079\u3001\u691c\u7d22\u3057\u305f\u3044\u30ad\u30fc\u30ef\u30fc\u30c9\u304c\u591a\u304f\u542b\u307e\u308c\u308b\u6587\u7ae0\u3092\u53d6\u308a\u51fa\u3059\u3053\u3068\u304c\u51fa\u6765\u307e\u3059\u3002<\/p>\n<h2 id=\"Qdrant\u3067\u306e\u758e\u30d9\u30af\u30c8\u30eb\u691c\u7d22\">Qdrant\u3067\u306e\u758e\u30d9\u30af\u30c8\u30eb\u691c\u7d22<\/h2>\n<p>Qdrant\u3067\u306f1\u3064\u306e\u6587\u7ae0\u306b\u5bfe\u3057\u3066\u3001\u5bc6\u30d9\u30af\u30c8\u30eb\u3068\u758e\u30d9\u30af\u30c8\u30eb\u306e\u4e21\u65b9\u3092\u4fdd\u6301\u3059\u308b\u3053\u3068\u304c\u51fa\u6765\u307e\u3059\u3002<br \/>\u305f\u3060\u3057\u3001\u65e2\u5b58\u306e\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u306b\u5bfe\u3057\u3066\u3001\u4fdd\u6301\u3059\u308b\u30d9\u30af\u30c8\u30eb\u306e\u500b\u6570\u3084\u5f62\u72b6\u3092\u5909\u66f4\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u306a\u3044\u305f\u3081\u3001\u65b0\u305f\u306b\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"code lang-python\" data-lang=\"python\" data-unlink=\"\"><span class=\"synPreProc\">from<\/span> qdrant_client <span class=\"synPreProc\">import<\/span> QdrantClient, models\n\nqdrant = QdrantClient(url=<span class=\"synConstant\">\"http:\/\/localhost:6333\"<\/span>)\nqdrant.create_collection(\n    collection_name=<span class=\"synConstant\">\"sparse_collection\"<\/span>,\n    vectors_config={<span class=\"synConstant\">\"dense\"<\/span>: models.VectorParams(size=<span class=\"synConstant\">1536<\/span>, distance=models.Distance.COSINE)},\n    sparse_vectors_config={<span class=\"synConstant\">\"sparse\"<\/span>: models.SparseVectorParams()}\n)\n<\/pre>\n<p>\u6b21\u306b\u5bc6\u30d9\u30af\u30c8\u30eb\u3068\u4e00\u7dd2\u306b\u758e\u30d9\u30af\u30c8\u30eb\u3092\u6295\u5165\u3057\u307e\u3059\u3002<br \/>\u5bc6\u30d9\u30af\u30c8\u30eb\u306fOpenAI API\u3092\u5229\u7528\u3059\u308b\u3053\u3068\u3067\u751f\u6210\u3059\u308b\u3053\u3068\u304c\u51fa\u6765\u307e\u3059\u304c\u3001\u758e\u30d9\u30af\u30c8\u30eb\u3092\u751f\u6210\u3059\u308bAPI\u306f\u63d0\u4f9b\u3055\u308c\u3066\u3044\u307e\u305b\u3093\u3002  \u305d\u306e\u305f\u3081\u3001\u758e\u30d9\u30af\u30c8\u30eb\u5316\u306f\u81ea\u3089\u884c\u3046\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<br \/>\u307e\u305f\u3001\u4eca\u56de\u758e\u30d9\u30af\u30c8\u30eb\u5316\u306b\u306fQdrant\u304c\u63d0\u4f9b\u3057\u3066\u3044\u308b\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u63a1\u7528\u3057\u305f\u306e\u3067\u3059\u304c\u3001\u3053\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u306f\u65e5\u672c\u8a9e\u306e\u30c8\u30fc\u30af\u30f3\u5316\uff08\u6587\u7ae0\u306e\u5358\u8a9e\u3092\u5207\u308a\u5206\u3051\u308b\u51e6\u7406\uff09\u306b\u5bfe\u5fdc\u3057\u3066\u3044\u307e\u305b\u3093\u3002\u305d\u306e\u305f\u3081\u3001\u30c8\u30fc\u30af\u30f3\u5316\u306e\u51e6\u7406\u3092\u81ea\u524d\u3067\u5b9f\u88c5\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<br \/>\u758e\u30d9\u30af\u30c8\u30eb\u5316\u306e\u51e6\u7406\u306f\u53c2\u8003\u6587\u732e\u3092\u5143\u306b\u5b9f\u88c5\u3057\u3066\u3044\u307e\u3059\u3002\u4eca\u56de\u306e\u30b5\u30f3\u30d7\u30eb\u30d7\u30ed\u30b0\u30e9\u30e0\u3067\u306f\u3053\u306e\u758e\u30d9\u30af\u30c8\u30eb\u5316\u306e\u51e6\u7406\u306b\u3064\u3044\u3066\u306f\u7701\u7565\u3055\u305b\u3066\u3044\u305f\u3060\u304d\u307e\u3059\u3002<br \/>\u5bc6\u30d9\u30af\u30c8\u30eb\u306e\u3068\u3053\u308d\u3067\u5229\u7528\u3057\u305f100\u4ef6\u306e\u30c7\u30fc\u30bf\u304b\u3089\u4f5c\u6210\u3057\u305f\u5bc6\u30d9\u30af\u30c8\u30eb\u3068\u758e\u30d9\u30af\u30c8\u30eb\u3092\u6295\u5165\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"code lang-python\" data-lang=\"python\" data-unlink=\"\"><span class=\"synPreProc\">from<\/span> qdrant_client <span class=\"synPreProc\">import<\/span> QdrantClient, models\n<span class=\"synPreProc\">from<\/span> openai <span class=\"synPreProc\">import<\/span> OpenAI\n\nqdrant = QdrantClient(<span class=\"synConstant\">\"http:\/\/localhost:6333\"<\/span>)\nopenai = OpenAI()\n\n\nembedder = TextEmbedder()\n\n<span class=\"synStatement\">with<\/span> <span class=\"synIdentifier\">open<\/span>(<span class=\"synConstant\">\"cat.txt\"<\/span>, <span class=\"synConstant\">\"r\"<\/span>, encoding=<span class=\"synConstant\">\"utf-8\"<\/span>) <span class=\"synStatement\">as<\/span> f:\n    <span class=\"synStatement\">for<\/span> idx, line <span class=\"synStatement\">in<\/span> <span class=\"synIdentifier\">enumerate<\/span>(f):\n        line = line.strip()\n        response = openai.embeddings.create(\n            <span class=\"synIdentifier\">input<\/span>=line,\n            model=<span class=\"synConstant\">\"text-embedding-3-small\"<\/span>\n        )\n        dense_vector = response.data[<span class=\"synConstant\">0<\/span>].embedding\n        sparse_vector = embedder.embed_query(query_text=line)\n        qdrant.upsert(\n            collection_name=<span class=\"synConstant\">\"sparse_collection\"<\/span>,\n            points=[\n                models.PointStruct(\n                    <span class=\"synIdentifier\">id<\/span>=idx,\n                    vector={\n                        <span class=\"synConstant\">\"dense\"<\/span>: dense_vector,\n                        <span class=\"synConstant\">\"sparse\"<\/span>: models.SparseVector(\n                            indices=sparse_vector.indices.tolist(),\n                            values=sparse_vector.values.tolist(),\n                        )\n                    },\n                    payload={<span class=\"synConstant\">\"text\"<\/span>: line}\n                )\n            ]\n        )\n<\/pre>\n<p>\u758e\u30d9\u30af\u30c8\u30eb\u3060\u3051\u3092\u4f7f\u3063\u3066\u691c\u7d22\u3092\u884c\u3063\u3066\u307f\u307e\u3059\u3002<\/p>\n<pre class=\"code lang-python\" data-lang=\"python\" data-unlink=\"\"><span class=\"synPreProc\">from<\/span> qdrant_client <span class=\"synPreProc\">import<\/span> QdrantClient, models\n<span class=\"synPreProc\">from<\/span> openai <span class=\"synPreProc\">import<\/span> OpenAI\n\nqdrant = QdrantClient(<span class=\"synConstant\">\"http:\/\/localhost:6333\"<\/span>)\nopenai = OpenAI()\n\nquery = <span class=\"synConstant\">\"\u7a4f\u3084\u304b\u306a\u6027\u683c\u306e\u732b\"<\/span>\n\n\nembedder = TextEmbedder()\nsparse_vector = embedder.embed_query(query_text=query)\n\nsearch_result = qdrant.query_points(\n    collection_name=<span class=\"synConstant\">\"sparse_collection\"<\/span>,\n    query=models.SparseVector(\n        indices=sparse_vector.indices.tolist(),\n        values=sparse_vector.values.tolist()\n    ),\n    using=<span class=\"synConstant\">\"sparse\"<\/span>,\n    with_payload=<span class=\"synIdentifier\">True<\/span>,\n    limit=<span class=\"synConstant\">5<\/span>\n)\n\n<span class=\"synStatement\">for<\/span> point <span class=\"synStatement\">in<\/span> search_result.points:\n    <span class=\"synIdentifier\">print<\/span>(f<span class=\"synConstant\">\"Score: {point.score}, Text: {point.payload['text']}\"<\/span>)\n<\/pre>\n<p>\u5b9f\u884c\u7d50\u679c\u304c\u3053\u3061\u3089\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<pre class=\"code\" data-lang=\"\" data-unlink=\"\">Score: 2.0, Text: \u30b9\u30b3\u30c6\u30a3\u30c3\u30b7\u30e5\u30d5\u30a9\u30fc\u30eb\u30c9\u306f\u7a4f\u3084\u304b\u306a\u6027\u683c\u3067\u3042\u308b\u3002\nScore: 2.0, Text: \u30da\u30eb\u30b7\u30e3\u306f\u7a4f\u3084\u304b\u306a\u6027\u683c\u3067\u3042\u308b\u3002\nScore: 2.0, Text: \u30a2\u30e1\u30ea\u30ab\u30f3\u30b7\u30e7\u30fc\u30c8\u30d8\u30a2\u306f\u7a4f\u3084\u304b\u306a\u6027\u683c\u3067\u3042\u308b\u3002\nScore: 2.0, Text: \u30e1\u30a4\u30f3\u30af\u30fc\u30f3\u306f\u7a4f\u3084\u304b\u306a\u6027\u683c\u3067\u3042\u308b\u3002\nScore: 1.0, Text: \u30e1\u30a4\u30f3\u30af\u30fc\u30f3\u306f\u5b50\u3069\u3082\u3068\u4ef2\u826f\u304f\u3067\u304d\u308b\u732b\u3067\u3042\u308b\u3002<\/pre>\n<p>\u5358\u8a9e\u5358\u4f4d\u3067\u4f3c\u3066\u3044\u308b\u6587\u7ae0\u304c\u53d6\u308a\u51fa\u305b\u3066\u3044\u308b\u3053\u3068\u304c\u5206\u304b\u308a\u307e\u3059\u3002<br \/>\u3053\u306e\u3068\u304d\u306e\u30b9\u30b3\u30a2\u306f\u4f3c\u3066\u3044\u308b\u5358\u8a9e\u304c\u3069\u306e\u7a0b\u5ea6\u6587\u7ae0\u306b\u542b\u307e\u308c\u3066\u3044\u308b\u304b\u3092\u793a\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<h2 id=\"\u5bc6\u30d9\u30af\u30c8\u30eb\u3068\u758e\u30d9\u30af\u30c8\u30eb\u306e\u4e21\u65b9\u3092\u6d3b\u7528\u3059\u308b\">\u5bc6\u30d9\u30af\u30c8\u30eb\u3068\u758e\u30d9\u30af\u30c8\u30eb\u306e\u4e21\u65b9\u3092\u6d3b\u7528\u3059\u308b<\/h2>\n<p>\u3053\u308c\u3067\u6587\u7ae0\u306e\u985e\u4f3c\u5ea6\u306b\u3088\u308b\u691c\u7d22\u3068\u30ad\u30fc\u30ef\u30fc\u30c9\u3092\u5229\u7528\u3057\u305f\u691c\u7d22\u3092\u884c\u3048\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\u3002<br \/>\u3053\u306e2\u7a2e\u985e\u306e\u691c\u7d22\u65b9\u6cd5\u306f\u4e92\u3044\u306e\u5f31\u70b9\u3092\u88dc\u3046\u3082\u306e\u3067\u3059\u306e\u3067\u3001\u691c\u7d22\u7d50\u679c\u3092\u7d71\u5408\u3059\u308b\u3053\u3068\u3067\u7cbe\u5ea6\u3092\u4e0a\u3052\u308b\u3053\u3068\u304c\u51fa\u6765\u307e\u3059\u3002<br \/>\u554f\u984c\u306f\u3053\u306e2\u3064\u306e\u691c\u7d22\u7d50\u679c\u3092\u3069\u3046\u3084\u3063\u3066\u7d71\u5408\u3059\u308b\u304b\u3067\u3059\u3002\u305d\u308c\u305e\u308c\u306e\u691c\u7d22\u7d50\u679c\u3092\u5143\u306b\u985e\u4f3c\u5ea6\u304c\u9ad8\u3044\u6587\u7ae0\u3092\u53d6\u308a\u51fa\u3057\u305f\u3044\u306e\u3067\u3001\u305d\u308c\u305e\u308c\u306e\u30b9\u30b3\u30a2\uff08\u9806\u4f4d\uff09\u304b\u3089\u518d\u5ea6\u30b9\u30b3\u30a2\u8a08\u7b97\u3092\u884c\u3046\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<br \/>\u3053\u306e\u4ed5\u7d44\u307f\u3092\u30cf\u30a4\u30d6\u30ea\u30c3\u30c9\u691c\u7d22\u3068\u547c\u3073\u307e\u3059\u3002\u30cf\u30a4\u30d6\u30ea\u30c3\u30c9\u691c\u7d22\u3092\u7c21\u5358\u306b\u884c\u3048\u308b\u65b9\u6cd5\u3092Qdrant\u304c\u63d0\u4f9b\u3057\u3066\u3044\u307e\u3059\u306e\u3067\u3001\u5b9f\u969b\u306b\u4f7f\u3063\u3066\u307f\u307e\u3059\u3002<\/p>\n<h2 id=\"Qdrant\u3067\u306e\u30cf\u30a4\u30d6\u30ea\u30c3\u30c9\u691c\u7d22\">Qdrant\u3067\u306e\u30cf\u30a4\u30d6\u30ea\u30c3\u30c9\u691c\u7d22<\/h2>\n<p>Qdrant\u3067\u30cf\u30a4\u30d6\u30ea\u30c3\u30c9\u691c\u7d22\u3092\u884c\u3046\u5834\u5408\u3001\u307e\u305a<code>prefetch<\/code>\u3068\u3044\u3046\u6a5f\u80fd\u3067\u5148\u306b\u5bc6\u30d9\u30af\u30c8\u30eb\u3001\u758e\u30d9\u30af\u30c8\u30eb\u306e\u305d\u308c\u305e\u308c\u306e\u691c\u7d22\u7d50\u679c\u3092\u4f5c\u6210\u3057\u3066\u304a\u304d\u307e\u3059\u3002<br \/>\u305d\u306e\u5f8c\u3001\u691c\u7d22\u7d50\u679c\u3092\u7d71\u5408\u3059\u308b\u305f\u3081\u306b\u691c\u7d22\u30af\u30a8\u30ea\u306b<code>fusion<\/code>\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002\u3053\u306e\u3068\u304d\u3001\u7d71\u5408\u3059\u308b\u65b9\u6cd5\u306b\u306fRRF\u624b\u6cd5\u3068DBSF\u624b\u6cd5\u3092\u5229\u7528\u3067\u304d\u307e\u3059\u3002<br \/>RRF\u624b\u6cd5\u306f\u691c\u7d22\u7d50\u679c\u306e\u9806\u4f4d\u306b\u57fa\u3065\u3044\u3066\u65b0\u3057\u3044\u30b9\u30b3\u30a2\u3092\u8a08\u7b97\u3057\u307e\u3059\u3002\u4e00\u65b9\u3001DBSF\u624b\u6cd5\u306f\u691c\u7d22\u7d50\u679c\u305d\u306e\u3082\u306e\u306e\u30b9\u30b3\u30a2\u3092\u5229\u7528\u3057\u3066\u65b0\u3057\u3044\u30b9\u30b3\u30a2\u3092\u7b97\u51fa\u3057\u307e\u3059\u3002<br \/>RRF\u624b\u6cd5\u306f\u9806\u4f4d\u30d9\u30fc\u30b9\u306e\u305f\u3081\u3001\u7570\u306a\u308b\u6027\u8cea\u3092\u6301\u3064\u30d9\u30af\u30c8\u30eb\uff08\u4eca\u56de\u306e\u5834\u5408\u306f\u5bc6\u30d9\u30af\u30c8\u30eb\u3068\u758e\u30d9\u30af\u30c8\u30eb\uff09\u3092\u6bd4\u8f03\u3059\u308b\u969b\u306b\u6709\u52b9\u3067\u3059\u3002\u305d\u3053\u3067\u4eca\u56de\u306fRRF\u624b\u6cd5\u3092\u63a1\u7528\u3057\u307e\u3057\u305f\u3002<br \/>\u9006\u306b\u3001\u540c\u7a2e\u306e\u30d9\u30af\u30c8\u30eb\u3067\u5185\u5bb9\u304c\u7570\u306a\u308b\u8907\u6570\u306e\u691c\u7d22\u7d50\u679c\u3092\u7d71\u5408\u3059\u308b\u5834\u5408\u306b\u306f\u3001DBSF\u624b\u6cd5\u306e\u65b9\u304c\u9069\u3057\u3066\u3044\u308b\u3068\u8003\u3048\u3089\u308c\u307e\u3059\u3002\u624b\u6cd5\u306e\u8a73\u3057\u3044\u5185\u5bb9\u306b\u3064\u3044\u3066\u306f\u53c2\u8003\u6587\u732e\u3092\u3054\u53c2\u7167\u304f\u3060\u3055\u3044\u3002<br \/>\u3067\u306f\u3001\u30cf\u30a4\u30d6\u30ea\u30c3\u30c9\u691c\u7d22\u3092\u5b9f\u969b\u306b\u884c\u3063\u3066\u307f\u307e\u3059\u3002\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u306f\u758e\u30d9\u30af\u30c8\u30eb\u306e\u6642\u306b\u4f5c\u6210\u3057\u305f\u3082\u306e\u3092\u5229\u7528\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"code lang-python\" data-lang=\"python\" data-unlink=\"\"><span class=\"synPreProc\">from<\/span> qdrant_client <span class=\"synPreProc\">import<\/span> QdrantClient, models\n<span class=\"synPreProc\">from<\/span> openai <span class=\"synPreProc\">import<\/span> OpenAI\n\nqdrant = QdrantClient(<span class=\"synConstant\">\"http:\/\/localhost:6333\"<\/span>)\nopenai = OpenAI()\n\nquery = <span class=\"synConstant\">\"\u7a4f\u3084\u304b\u306a\u6027\u683c\u306e\u732b\"<\/span>\n\nresponse = openai.embeddings.create(\n    <span class=\"synIdentifier\">input<\/span>=query,\n    model=<span class=\"synConstant\">\"text-embedding-3-small\"<\/span>\n)\ndense_vector = response.data[<span class=\"synConstant\">0<\/span>].embedding\n\n\nembedder = TextEmbedder()\nsparse_vector = embedder.embed_query(query_text=query)\n\nsearch_result = qdrant.query_points(\n    collection_name=<span class=\"synConstant\">\"sparse_collection\"<\/span>,\n    prefetch=[\n        models.Prefetch(\n            query=dense_vector,\n            using=<span class=\"synConstant\">\"dense\"<\/span>,\n            limit=<span class=\"synConstant\">5<\/span>\n        ),\n        models.Prefetch(\n            query=models.SparseVector(\n                indices=sparse_vector.indices.tolist(),\n                values=sparse_vector.values.tolist()\n            ),\n            using=<span class=\"synConstant\">\"sparse\"<\/span>,\n            limit=<span class=\"synConstant\">5<\/span>\n        )\n    ],\n    query=models.FusionQuery(fusion=models.Fusion.RRF),\n    with_payload=<span class=\"synIdentifier\">True<\/span>,\n    limit=<span class=\"synConstant\">3<\/span>\n)\n\n<span class=\"synStatement\">for<\/span> point <span class=\"synStatement\">in<\/span> search_result.points:\n    <span class=\"synIdentifier\">print<\/span>(f<span class=\"synConstant\">\"Score: {point.score}, Text: {point.payload['text']}\"<\/span>)\n<\/pre>\n<p>\u691c\u7d22\u7d50\u679c\u3092\u7d71\u5408\u3059\u308b\u305f\u3081\u3001prefetch\u3067\u53d6\u5f97\u3059\u308b\u4ef6\u6570\u306f\u6700\u7d42\u7684\u306b\u5fc5\u8981\u306a\u4ef6\u6570\u3088\u308a\u5927\u304d\u304f\u3057\u3066\u304a\u304f\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002prefetch\u306e\u53d6\u5f97\u4ef6\u6570\u304c\u5c11\u306a\u3044\u3068\u7d71\u5408\u3057\u305f\u969b\u306b\u3069\u3061\u3089\u304b\u306e\u30d9\u30af\u30c8\u30eb\u306b\u504f\u3063\u305f\u30c7\u30fc\u30bf\u3082\u53d6\u5f97\u3055\u308c\u3066\u3057\u307e\u3044\u307e\u3059\u3002<br \/>\n\u5b9f\u884c\u7d50\u679c\u304c\u3053\u3061\u3089\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<pre class=\"code\" data-lang=\"\" data-unlink=\"\">Score: 0.53333336, Text: \u30da\u30eb\u30b7\u30e3\u306f\u7a4f\u3084\u304b\u306a\u6027\u683c\u3067\u3042\u308b\u3002\nScore: 0.5, Text: \u30e1\u30a4\u30f3\u30af\u30fc\u30f3\u306f\u843d\u3061\u7740\u3044\u305f\u96f0\u56f2\u6c17\u3092\u6301\u3064\u732b\u3067\u3042\u308b\u3002\nScore: 0.5, Text: \u30b9\u30b3\u30c6\u30a3\u30c3\u30b7\u30e5\u30d5\u30a9\u30fc\u30eb\u30c9\u306f\u7a4f\u3084\u304b\u306a\u6027\u683c\u3067\u3042\u308b\u3002<\/pre>\n<p>\u6587\u7ae0\u306e\u985e\u4f3c\u5ea6\u3068\u5358\u8a9e\u5358\u4f4d\u3067\u306e\u985e\u4f3c\u5ea6\u3092\u5143\u306b\u6587\u7ae0\u304c\u53d6\u308a\u51fa\u305b\u3066\u3044\u307e\u3059\u3002<br \/>\u3053\u306e\u3068\u304d\u306e\u30b9\u30b3\u30a2\u306f\u305d\u308c\u305e\u308c\u306e\u30d9\u30af\u30c8\u30eb\u3067\u306e\u9806\u4f4d\u3092\u5143\u306b\u7b97\u51fa\u3055\u308c\u305f\u3082\u306e\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>Qdrant\u3092\u5229\u7528\u3057\u305f\u30cf\u30a4\u30d6\u30ea\u30c3\u30c9\u691c\u7d22\u3092\u6d3b\u7528\u3059\u308b\u3053\u3068\u3067\u3001\u30ca\u30ec\u30c3\u30b8\u306e\u691c\u7d22\u7cbe\u5ea6\u3092\u5411\u4e0a\u3055\u305b\u307e\u3057\u305f\u3002<br \/>\u307f\u306a\u3055\u3093\u3082RAG\u306e\u3088\u3046\u306a\u6587\u7ae0\u691c\u7d22\u3092\u884c\u3046\u5834\u9762\u304c\u3042\u308a\u307e\u3057\u305f\u3089\u3001\u305c\u3072\u30cf\u30a4\u30d6\u30ea\u30c3\u30c9\u691c\u7d22\u3092\u5229\u7528\u3057\u305f\u7cbe\u5ea6\u5411\u4e0a\u3092\u884c\u3063\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p><iframe src=\"https:\/\/hatenablog-parts.com\/embed?url=https%3A%2F%2Fatmarkit.itmedia.co.jp%2Fait%2Farticles%2F2401%2F18%2Fnews023.html\" title=\"Embedding\uff08\u30a8\u30f3\u30d9\u30c7\u30a3\u30f3\u30b0\uff1a\u57cb\u3081\u8fbc\u307f\u3001\u57cb\u3081\u8fbc\u307f\u8868\u73fe\uff09\u3068\u306f\uff1f\" class=\"embed-card embed-webcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 155px; max-width: 500px; margin: 10px 0px;\" loading=\"lazy\"><\/iframe><cite class=\"hatena-citation\"><a target=\"_blank\" href=\"https:\/\/atmarkit.itmedia.co.jp\/ait\/articles\/2401\/18\/news023.html\">atmarkit.itmedia.co.jp<\/a><\/cite><\/p>\n<p><iframe src=\"https:\/\/hatenablog-parts.com\/embed?url=https%3A%2F%2Fqdrant.tech%2Fdocumentation%2Fconcepts%2Fhybrid-queries%2F\" title=\"Hybrid Queries - Qdrant\" class=\"embed-card embed-webcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 155px; max-width: 500px; margin: 10px 0px;\" loading=\"lazy\"><\/iframe><cite class=\"hatena-citation\"><a target=\"_blank\" href=\"https:\/\/qdrant.tech\/documentation\/concepts\/hybrid-queries\/\">qdrant.tech<\/a><\/cite><\/p>\n<p><iframe src=\"https:\/\/hatenablog-parts.com\/embed?url=https%3A%2F%2Fqiita.com%2Fcomware_tsasaki%2Fitems%2F8e6f91782cf0765480af\" title=\"Qdrant\u3067\u65e5\u672c\u8a9e\u306e\u30ad\u30fc\u30ef\u30fc\u30c9\u691c\u7d22\uff08BM25\uff09\u3092\u5b9f\u88c5\u3059\u308b - Qiita\" class=\"embed-card embed-webcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 155px; max-width: 500px; margin: 10px 0px;\" loading=\"lazy\"><\/iframe><cite class=\"hatena-citation\"><a target=\"_blank\" href=\"https:\/\/qiita.com\/comware_tsasaki\/items\/8e6f91782cf0765480af\">qiita.com<\/a><\/cite><\/p>\n<p><iframe src=\"https:\/\/hatenablog-parts.com\/embed?url=https%3A%2F%2Fdev.classmethod.jp%2Farticles%2Fclassmethod-ai-talks-6-Introduction-vector-database\" title=\"Classmethod AI Talks(CATs) #6 \u300cQdrant\u3067\u30d9\u30af\u30c8\u30eb\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306b\u5165\u9580\u3057\u3066\u307f\u3088\u3046\u300d\u3068\u3044\u3046\u30bf\u30a4\u30c8\u30eb\u3067\u767b\u58c7\u3057\u307e\u3057\u305f #catalks | DevelopersIO\" class=\"embed-card embed-webcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 155px; max-width: 500px; margin: 10px 0px;\" loading=\"lazy\"><\/iframe><cite class=\"hatena-citation\"><a target=\"_blank\" href=\"https:\/\/dev.classmethod.jp\/articles\/classmethod-ai-talks-6-Introduction-vector-database\">dev.classmethod.jp<\/a><\/cite><\/p>\n<\/div>\n<p><script>(function(d, s, id) {\n  var js, fjs = d.getElementsByTagName(s)[0];\n  if (d.getElementById(id)) return;\n  js = d.createElement(s); js.id = id;\n  js.src = \"\/\/connect.facebook.net\/ja_JP\/sdk.js#xfbml=1&appId=719729204785177&version=v17.0\";\n  fjs.parentNode.insertBefore(js, fjs);\n}(document, 'script', 'facebook-jssdk'));<\/script><br \/>\n<br \/>\n<br \/><a href=\"https:\/\/tech-blog.rakus.co.jp\/entry\/20250912\/hybrid-search-qdrant\">\u5143\u306e\u8a18\u4e8b\u3092\u78ba\u8a8d\u3059\u308b <\/a><\/p>\n","protected":false},"excerpt":{"rendered":"\u3053\u3093\u306b\u3061\u306f\u3002\u30e1\u30fc\u30eb\u30c7\u30a3\u30fc\u30e9\u30fcAI\u958b\u767a\u8ab2\u306emarron\u3067\u3059\u3002\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0\u521d\u6295\u7a3f\u3068\u306a\u308a\u307e\u3059\u3002\u3088\u308d\u3057\u304f\u304a\u9858\u3044\u3057\u307e\u3059\u3002 \u79c1\u304c\u6240\u5c5e\u3057\u3066\u3044\u308b\u30e1\u30fc\u30eb\u30c7\u30a3\u30fc\u30e9\u30fcAI\u958b\u767a\u8ab2\u3067\u306f\u3001\u4e3b\u306b\u30e1\u30fc\u30eb\u30c7\u30a3\u30fc\u30e9\u30fc\u306b\u642d\u8f09\u3055\u308c\u308bAI\u6a5f\u80fd\u306e\u958b\u767a\u3092\u62c5\u5f53\u3057\u3066 [&hellip;]","protected":false},"author":1,"featured_media":5279,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[2],"tags":[],"class_list":["post-5278","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-hatena-blog"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>\u30d9\u30af\u30c8\u30eb\u691c\u7d22\u3060\u3051\u3058\u3083\u8db3\u308a\u306a\u3044\uff1fQdrant\u3067\u7cbe\u5ea6\u3092\u9ad8\u3081\u308b\u30cf\u30a4\u30d6\u30ea\u30c3\u30c9\u691c\u7d22 - RAKUS Developers Blog - \u30dd\u30b1\u30b3\u30f3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/tech-blog.rakus.co.jp\/entry\/20250912\/hybrid-search-qdrant\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u30d9\u30af\u30c8\u30eb\u691c\u7d22\u3060\u3051\u3058\u3083\u8db3\u308a\u306a\u3044\uff1fQdrant\u3067\u7cbe\u5ea6\u3092\u9ad8\u3081\u308b\u30cf\u30a4\u30d6\u30ea\u30c3\u30c9\u691c\u7d22 - RAKUS Developers Blog - \u30dd\u30b1\u30b3\u30f3\" \/>\n<meta property=\"og:description\" content=\"\u3053\u3093\u306b\u3061\u306f\u3002\u30e1\u30fc\u30eb\u30c7\u30a3\u30fc\u30e9\u30fcAI\u958b\u767a\u8ab2\u306emarron\u3067\u3059\u3002\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0\u521d\u6295\u7a3f\u3068\u306a\u308a\u307e\u3059\u3002\u3088\u308d\u3057\u304f\u304a\u9858\u3044\u3057\u307e\u3059\u3002 \u79c1\u304c\u6240\u5c5e\u3057\u3066\u3044\u308b\u30e1\u30fc\u30eb\u30c7\u30a3\u30fc\u30e9\u30fcAI\u958b\u767a\u8ab2\u3067\u306f\u3001\u4e3b\u306b\u30e1\u30fc\u30eb\u30c7\u30a3\u30fc\u30e9\u30fc\u306b\u642d\u8f09\u3055\u308c\u308bAI\u6a5f\u80fd\u306e\u958b\u767a\u3092\u62c5\u5f53\u3057\u3066 [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/tech-blog.rakus.co.jp\/entry\/20250912\/hybrid-search-qdrant\" \/>\n<meta property=\"og:site_name\" content=\"\u30dd\u30b1\u30b3\u30f3\" \/>\n<meta property=\"article:published_time\" content=\"2025-09-12T11:02:11+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/pokecon.jp\/job\/wp-content\/uploads\/2025\/09\/https3A2F2Fcdn-ak.f.st-hatena.com2Fimages2Ffotolife2Ft2Ftech-rakus2F202509112F2025091116063.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1300\" \/>\n\t<meta property=\"og:image:height\" content=\"683\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"info@pokecon.jp\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u57f7\u7b46\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"info@pokecon.jp\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"3\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/tech-blog.rakus.co.jp\\\/entry\\\/20250912\\\/hybrid-search-qdrant#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/5278\\\/\"},\"author\":{\"name\":\"info@pokecon.jp\",\"@id\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/#\\\/schema\\\/person\\\/16c9f07b1ba984d165d9aee259bda997\"},\"headline\":\"\u30d9\u30af\u30c8\u30eb\u691c\u7d22\u3060\u3051\u3058\u3083\u8db3\u308a\u306a\u3044\uff1fQdrant\u3067\u7cbe\u5ea6\u3092\u9ad8\u3081\u308b\u30cf\u30a4\u30d6\u30ea\u30c3\u30c9\u691c\u7d22 &#8211; RAKUS Developers Blog\",\"datePublished\":\"2025-09-12T11:02:11+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/5278\\\/\"},\"wordCount\":79,\"image\":{\"@id\":\"https:\\\/\\\/tech-blog.rakus.co.jp\\\/entry\\\/20250912\\\/hybrid-search-qdrant#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/wp-content\\\/uploads\\\/2025\\\/09\\\/https3A2F2Fcdn-ak.f.st-hatena.com2Fimages2Ffotolife2Ft2Ftech-rakus2F202509112F2025091116063.png\",\"articleSection\":[\"\u306f\u3066\u306a\u30d6\u30ed\u30b0\"],\"inLanguage\":\"ja\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/5278\\\/\",\"url\":\"https:\\\/\\\/tech-blog.rakus.co.jp\\\/entry\\\/20250912\\\/hybrid-search-qdrant\",\"name\":\"\u30d9\u30af\u30c8\u30eb\u691c\u7d22\u3060\u3051\u3058\u3083\u8db3\u308a\u306a\u3044\uff1fQdrant\u3067\u7cbe\u5ea6\u3092\u9ad8\u3081\u308b\u30cf\u30a4\u30d6\u30ea\u30c3\u30c9\u691c\u7d22 - RAKUS Developers Blog - \u30dd\u30b1\u30b3\u30f3\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/tech-blog.rakus.co.jp\\\/entry\\\/20250912\\\/hybrid-search-qdrant#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/tech-blog.rakus.co.jp\\\/entry\\\/20250912\\\/hybrid-search-qdrant#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/wp-content\\\/uploads\\\/2025\\\/09\\\/https3A2F2Fcdn-ak.f.st-hatena.com2Fimages2Ffotolife2Ft2Ftech-rakus2F202509112F2025091116063.png\",\"datePublished\":\"2025-09-12T11:02:11+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/#\\\/schema\\\/person\\\/16c9f07b1ba984d165d9aee259bda997\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/tech-blog.rakus.co.jp\\\/entry\\\/20250912\\\/hybrid-search-qdrant#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/tech-blog.rakus.co.jp\\\/entry\\\/20250912\\\/hybrid-search-qdrant\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/tech-blog.rakus.co.jp\\\/entry\\\/20250912\\\/hybrid-search-qdrant#primaryimage\",\"url\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/wp-content\\\/uploads\\\/2025\\\/09\\\/https3A2F2Fcdn-ak.f.st-hatena.com2Fimages2Ffotolife2Ft2Ftech-rakus2F202509112F2025091116063.png\",\"contentUrl\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/wp-content\\\/uploads\\\/2025\\\/09\\\/https3A2F2Fcdn-ak.f.st-hatena.com2Fimages2Ffotolife2Ft2Ftech-rakus2F202509112F2025091116063.png\",\"width\":1300,\"height\":683},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/tech-blog.rakus.co.jp\\\/entry\\\/20250912\\\/hybrid-search-qdrant#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u30db\u30fc\u30e0\",\"item\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u30d9\u30af\u30c8\u30eb\u691c\u7d22\u3060\u3051\u3058\u3083\u8db3\u308a\u306a\u3044\uff1fQdrant\u3067\u7cbe\u5ea6\u3092\u9ad8\u3081\u308b\u30cf\u30a4\u30d6\u30ea\u30c3\u30c9\u691c\u7d22 &#8211; RAKUS Developers Blog\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/#website\",\"url\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/\",\"name\":\"\u30dd\u30b1\u30b3\u30f3\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ja\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/#\\\/schema\\\/person\\\/16c9f07b1ba984d165d9aee259bda997\",\"name\":\"info@pokecon.jp\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/2b0549cd9f7907c092ca5fbb283baf72337f235726e4b46fa39ec0b701ac2fe2?s=96&d=wavatar&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/2b0549cd9f7907c092ca5fbb283baf72337f235726e4b46fa39ec0b701ac2fe2?s=96&d=wavatar&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/2b0549cd9f7907c092ca5fbb283baf72337f235726e4b46fa39ec0b701ac2fe2?s=96&d=wavatar&r=g\",\"caption\":\"info@pokecon.jp\"},\"url\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/author\\\/infopokecon-jp\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u30d9\u30af\u30c8\u30eb\u691c\u7d22\u3060\u3051\u3058\u3083\u8db3\u308a\u306a\u3044\uff1fQdrant\u3067\u7cbe\u5ea6\u3092\u9ad8\u3081\u308b\u30cf\u30a4\u30d6\u30ea\u30c3\u30c9\u691c\u7d22 - RAKUS Developers Blog - \u30dd\u30b1\u30b3\u30f3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/tech-blog.rakus.co.jp\/entry\/20250912\/hybrid-search-qdrant","og_locale":"ja_JP","og_type":"article","og_title":"\u30d9\u30af\u30c8\u30eb\u691c\u7d22\u3060\u3051\u3058\u3083\u8db3\u308a\u306a\u3044\uff1fQdrant\u3067\u7cbe\u5ea6\u3092\u9ad8\u3081\u308b\u30cf\u30a4\u30d6\u30ea\u30c3\u30c9\u691c\u7d22 - RAKUS Developers Blog - \u30dd\u30b1\u30b3\u30f3","og_description":"\u3053\u3093\u306b\u3061\u306f\u3002\u30e1\u30fc\u30eb\u30c7\u30a3\u30fc\u30e9\u30fcAI\u958b\u767a\u8ab2\u306emarron\u3067\u3059\u3002\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0\u521d\u6295\u7a3f\u3068\u306a\u308a\u307e\u3059\u3002\u3088\u308d\u3057\u304f\u304a\u9858\u3044\u3057\u307e\u3059\u3002 \u79c1\u304c\u6240\u5c5e\u3057\u3066\u3044\u308b\u30e1\u30fc\u30eb\u30c7\u30a3\u30fc\u30e9\u30fcAI\u958b\u767a\u8ab2\u3067\u306f\u3001\u4e3b\u306b\u30e1\u30fc\u30eb\u30c7\u30a3\u30fc\u30e9\u30fc\u306b\u642d\u8f09\u3055\u308c\u308bAI\u6a5f\u80fd\u306e\u958b\u767a\u3092\u62c5\u5f53\u3057\u3066 [&hellip;]","og_url":"https:\/\/tech-blog.rakus.co.jp\/entry\/20250912\/hybrid-search-qdrant","og_site_name":"\u30dd\u30b1\u30b3\u30f3","article_published_time":"2025-09-12T11:02:11+00:00","og_image":[{"width":1300,"height":683,"url":"https:\/\/pokecon.jp\/job\/wp-content\/uploads\/2025\/09\/https3A2F2Fcdn-ak.f.st-hatena.com2Fimages2Ffotolife2Ft2Ftech-rakus2F202509112F2025091116063.png","type":"image\/png"}],"author":"info@pokecon.jp","twitter_card":"summary_large_image","twitter_misc":{"\u57f7\u7b46\u8005":"info@pokecon.jp","\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593":"3\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/tech-blog.rakus.co.jp\/entry\/20250912\/hybrid-search-qdrant#article","isPartOf":{"@id":"https:\/\/pokecon.jp\/job\/5278\/"},"author":{"name":"info@pokecon.jp","@id":"https:\/\/pokecon.jp\/job\/#\/schema\/person\/16c9f07b1ba984d165d9aee259bda997"},"headline":"\u30d9\u30af\u30c8\u30eb\u691c\u7d22\u3060\u3051\u3058\u3083\u8db3\u308a\u306a\u3044\uff1fQdrant\u3067\u7cbe\u5ea6\u3092\u9ad8\u3081\u308b\u30cf\u30a4\u30d6\u30ea\u30c3\u30c9\u691c\u7d22 &#8211; RAKUS Developers Blog","datePublished":"2025-09-12T11:02:11+00:00","mainEntityOfPage":{"@id":"https:\/\/pokecon.jp\/job\/5278\/"},"wordCount":79,"image":{"@id":"https:\/\/tech-blog.rakus.co.jp\/entry\/20250912\/hybrid-search-qdrant#primaryimage"},"thumbnailUrl":"https:\/\/pokecon.jp\/job\/wp-content\/uploads\/2025\/09\/https3A2F2Fcdn-ak.f.st-hatena.com2Fimages2Ffotolife2Ft2Ftech-rakus2F202509112F2025091116063.png","articleSection":["\u306f\u3066\u306a\u30d6\u30ed\u30b0"],"inLanguage":"ja"},{"@type":"WebPage","@id":"https:\/\/pokecon.jp\/job\/5278\/","url":"https:\/\/tech-blog.rakus.co.jp\/entry\/20250912\/hybrid-search-qdrant","name":"\u30d9\u30af\u30c8\u30eb\u691c\u7d22\u3060\u3051\u3058\u3083\u8db3\u308a\u306a\u3044\uff1fQdrant\u3067\u7cbe\u5ea6\u3092\u9ad8\u3081\u308b\u30cf\u30a4\u30d6\u30ea\u30c3\u30c9\u691c\u7d22 - RAKUS Developers Blog - \u30dd\u30b1\u30b3\u30f3","isPartOf":{"@id":"https:\/\/pokecon.jp\/job\/#website"},"primaryImageOfPage":{"@id":"https:\/\/tech-blog.rakus.co.jp\/entry\/20250912\/hybrid-search-qdrant#primaryimage"},"image":{"@id":"https:\/\/tech-blog.rakus.co.jp\/entry\/20250912\/hybrid-search-qdrant#primaryimage"},"thumbnailUrl":"https:\/\/pokecon.jp\/job\/wp-content\/uploads\/2025\/09\/https3A2F2Fcdn-ak.f.st-hatena.com2Fimages2Ffotolife2Ft2Ftech-rakus2F202509112F2025091116063.png","datePublished":"2025-09-12T11:02:11+00:00","author":{"@id":"https:\/\/pokecon.jp\/job\/#\/schema\/person\/16c9f07b1ba984d165d9aee259bda997"},"breadcrumb":{"@id":"https:\/\/tech-blog.rakus.co.jp\/entry\/20250912\/hybrid-search-qdrant#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/tech-blog.rakus.co.jp\/entry\/20250912\/hybrid-search-qdrant"]}]},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/tech-blog.rakus.co.jp\/entry\/20250912\/hybrid-search-qdrant#primaryimage","url":"https:\/\/pokecon.jp\/job\/wp-content\/uploads\/2025\/09\/https3A2F2Fcdn-ak.f.st-hatena.com2Fimages2Ffotolife2Ft2Ftech-rakus2F202509112F2025091116063.png","contentUrl":"https:\/\/pokecon.jp\/job\/wp-content\/uploads\/2025\/09\/https3A2F2Fcdn-ak.f.st-hatena.com2Fimages2Ffotolife2Ft2Ftech-rakus2F202509112F2025091116063.png","width":1300,"height":683},{"@type":"BreadcrumbList","@id":"https:\/\/tech-blog.rakus.co.jp\/entry\/20250912\/hybrid-search-qdrant#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u30db\u30fc\u30e0","item":"https:\/\/pokecon.jp\/job\/"},{"@type":"ListItem","position":2,"name":"\u30d9\u30af\u30c8\u30eb\u691c\u7d22\u3060\u3051\u3058\u3083\u8db3\u308a\u306a\u3044\uff1fQdrant\u3067\u7cbe\u5ea6\u3092\u9ad8\u3081\u308b\u30cf\u30a4\u30d6\u30ea\u30c3\u30c9\u691c\u7d22 &#8211; RAKUS Developers Blog"}]},{"@type":"WebSite","@id":"https:\/\/pokecon.jp\/job\/#website","url":"https:\/\/pokecon.jp\/job\/","name":"\u30dd\u30b1\u30b3\u30f3","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/pokecon.jp\/job\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ja"},{"@type":"Person","@id":"https:\/\/pokecon.jp\/job\/#\/schema\/person\/16c9f07b1ba984d165d9aee259bda997","name":"info@pokecon.jp","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/secure.gravatar.com\/avatar\/2b0549cd9f7907c092ca5fbb283baf72337f235726e4b46fa39ec0b701ac2fe2?s=96&d=wavatar&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/2b0549cd9f7907c092ca5fbb283baf72337f235726e4b46fa39ec0b701ac2fe2?s=96&d=wavatar&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/2b0549cd9f7907c092ca5fbb283baf72337f235726e4b46fa39ec0b701ac2fe2?s=96&d=wavatar&r=g","caption":"info@pokecon.jp"},"url":"https:\/\/pokecon.jp\/job\/author\/infopokecon-jp\/"}]}},"_links":{"self":[{"href":"https:\/\/pokecon.jp\/job\/wp-json\/wp\/v2\/posts\/5278","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pokecon.jp\/job\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pokecon.jp\/job\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pokecon.jp\/job\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pokecon.jp\/job\/wp-json\/wp\/v2\/comments?post=5278"}],"version-history":[{"count":1,"href":"https:\/\/pokecon.jp\/job\/wp-json\/wp\/v2\/posts\/5278\/revisions"}],"predecessor-version":[{"id":5280,"href":"https:\/\/pokecon.jp\/job\/wp-json\/wp\/v2\/posts\/5278\/revisions\/5280"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/pokecon.jp\/job\/wp-json\/wp\/v2\/media\/5279"}],"wp:attachment":[{"href":"https:\/\/pokecon.jp\/job\/wp-json\/wp\/v2\/media?parent=5278"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pokecon.jp\/job\/wp-json\/wp\/v2\/categories?post=5278"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pokecon.jp\/job\/wp-json\/wp\/v2\/tags?post=5278"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}