{"id":493617,"date":"2026-09-06T12:39:22","date_gmt":"2026-09-06T12:39:22","guid":{"rendered":"https:\/\/savepearlharbor.com\/?p=493617"},"modified":"-0001-11-30T00:00:00","modified_gmt":"2026-09-06T12:39:22","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=493617","title":{"rendered":"\u0421\u0432\u043e\u0438 \u043a\u043d\u0438\u0436\u043d\u044b\u0435 \u043c\u0435\u0442\u0430\u0434\u0430\u043d\u043d\u044b\u0435: Pivot-\u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u0430, Spring Boot \u0438 \u0431\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u044b\u0439 API \u0434\u043b\u044f Obsidian"},"content":{"rendered":"<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<h3>\u041f\u0440\u0435\u0434\u044b\u0441\u0442\u043e\u0440\u0438\u044f<\/h3>\n<p>\u041d\u0435\u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u0432\u0440\u0435\u043c\u044f \u043d\u0430\u0437\u0430\u0434 \u044f \u0443\u0436\u0435 \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u043b \u0444\u043e\u0440\u043a \u043f\u043b\u0430\u0433\u0438\u043d\u0430 \u0434\u043b\u044f obsidian \u0438 \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u043b \u0434\u043e\u0440\u0430\u0431\u043e\u0442\u043a\u0443 \u0434\u043b\u044f \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u043c\u0435\u0442\u0430\u0434\u0430\u043d\u043d\u044b\u0445 \u0441 \u043b\u0438\u0442\u0440\u0435\u0441 <a href=\"https:\/\/github.com\/malexple\/obsidian-book-search-plugin\" rel=\"noopener nofollow\">https:\/\/github.com\/malexple\/obsidian-book-search-plugin<\/a>. \u0414\u0435\u043b\u0430\u043b \u044f \u044d\u0442\u043e \u0434\u043b\u044f \u0437\u043d\u0430\u043a\u043e\u043c\u043e\u0433\u043e, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0432 \u0442\u0435\u0447\u0435\u043d\u0438\u0438 \u043f\u043e\u043b\u0443\u0433\u043e\u0434\u0430 \u0433\u043e\u0432\u043e\u0440\u0438\u043b \u0447\u0442\u043e \u0443 \u043d\u0435\u0433\u043e \u043d\u0435 \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u0442\u0441\u044f \u043f\u0435\u0440\u0435\u0434\u0435\u043b\u0430\u0442\u044c \u043f\u043b\u0430\u0433\u0438\u043d \u0432 chatGPT. \u042f \u043f\u043e\u0434\u043e\u0448\u0435\u043b \u043a \u044d\u0442\u043e\u0439 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0435 \u0441 \u0434\u0440\u0443\u0433\u043e\u0439 \u0441\u0442\u043e\u0440\u043e\u043d\u044b \u0438 \u043f\u0440\u0438\u043a\u0440\u0443\u0442\u0438\u043b \u0442\u043e\u0433\u0434\u0430 \u041b\u0438\u0442\u0440\u0435\u0441. \u0425\u043e\u0442\u044f \u0435\u0433\u043e \u0438\u0434\u0435\u044f \u0431\u044b\u043b\u0430 \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u0434\u0440\u0443\u0433\u043e\u0439. \u041d\u043e \u0443\u0436\u0435 \u0442\u043e\u0433\u0434\u0430 \u044f \u043e\u0447\u0435\u043d\u044c \u0443\u0434\u0438\u0432\u0438\u043b\u0441\u044f \u0447\u0442\u043e \u0432 \u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0441\u0442\u0432\u0435 \u0421\u041d\u0413 \u043d\u0435\u0442 \u043a\u0430\u043a\u043e\u0433\u043e-\u0442\u043e \u0431\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u043e\u0433\u043e \u0441\u0435\u0440\u0432\u0438\u0441\u0430 \u0434\u043b\u044f \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u043c\u0435\u0442\u0430\u0434\u0430\u043d\u043d\u044b\u0445 \u043a\u043d\u0438\u0433. \u042f \u0441 \u044d\u0442\u0438\u043c \u0441\u0442\u0430\u043b\u043a\u0438\u0432\u0430\u043b\u0441\u044f, \u043a\u043e\u0433\u0434\u0430 \u043f\u044b\u0442\u0430\u043b\u0441\u044f \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0441\u0432\u043e\u044e \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u0443\u044e \u0445\u043e\u0442\u044c \u0438 \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u0443\u044e \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0443 \u0447\u0435\u0440\u0435\u0437 Calibre. \u041c\u043d\u0435 \u0435\u0441\u043b\u0438 \u0447\u0435\u0441\u0442\u043d\u043e \u043d\u0435 \u043e\u0447\u0435\u043d\u044c \u043d\u0440\u0430\u0432\u0438\u0442\u0441\u044f Calibre, \u0430 \u0438\u043c\u0435\u043d\u043d\u043e \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 \u043c\u043e\u043c\u0435\u043d\u0442\u044b:<\/p>\n<ol>\n<li>\n<p>\u0411\u043e\u043b\u044c\u0448\u0438\u0435 \u043a\u043d\u043e\u043f\u043a\u0438 \u0438 \u043d\u0435 \u0443\u0434\u043e\u0431\u043d\u044b\u0439 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441<\/p>\n<\/li>\n<li>\n<p>\u041f\u0440\u0438 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0438 \u0431\u0434 \u043e\u043d \u043a\u043e\u043f\u0438\u0440\u0443\u0435\u0442 \u0444\u0430\u0439\u043b\u044b \u0438 \u043f\u0435\u0440\u0435\u0438\u043c\u0435\u043d\u043e\u0432\u044b\u0432\u0430\u0435\u0442 \u0444\u0430\u0439\u043b\u044b \u0432 \u043d\u0435\u043f\u043e\u043d\u044f\u0442\u043d\u044b\u0435 \u043d\u043e\u043c\u0435\u0440\u0430. \u042d\u0442\u043e \u043b\u0438\u0448\u043d\u0435\u0435 \u043c\u0435\u0441\u0442\u043e. \u0410 \u043c\u043d\u0435 \u0443\u0434\u043e\u0431\u043d\u0435\u0435 \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043f\u043e \u0447\u0435\u043b\u043e\u0432\u0435\u0447\u0435\u0441\u043a\u0438\u043c \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u044f\u043c \u043f\u0430\u043f\u043e\u043a \u041c\u0430\u0442\u0435\u043c\u0430\u0442\u0438\u043a\u0430, \u0424\u0438\u0437\u0438\u043a\u0430, \u0425\u0438\u043c\u0438\u044f \u0438 \u0442.\u0434. \u0422\u043e \u0435\u0441\u0442\u044c \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0430 \u043f\u0430\u043f\u043e\u043a \u0431\u043b\u0438\u0437\u043a\u0430\u044f \u043a \u043a\u043b\u0430\u0441\u0441\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440\u0430\u043c \u0411\u0411\u041a \u0438 \u0423\u0414\u041a, \u0435\u0441\u043b\u0438 \u0440\u0430\u0441\u0448\u0438\u0444\u0440\u043e\u0432\u0430\u0442\u044c \u043d\u043e\u043c\u0435\u0440\u0430.<\/p>\n<\/li>\n<li>\n<p>\u041c\u0435\u0442\u0430\u0434\u0430\u043d\u043d\u044b\u0435 \u043d\u0443\u0436\u043d\u043e \u0432\u0432\u043e\u0434\u0438\u0442\u044c \u0432\u0440\u0443\u0447\u043d\u0443\u044e. \u0415\u0441\u0442\u044c \u043f\u043b\u0430\u0433\u0438\u043d\u044b, \u043d\u043e \u043d\u0435 \u0432\u0441\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0434\u0442\u044f\u043d\u0443\u0442\u044c \u0441 \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442\u0430 \u0438\u043b\u0438 \u043e\u043d\u0438 \u0432 \u0440\u0430\u0437\u043d\u044b\u0445 \u043c\u0435\u0441\u0442\u0430\u0445<\/p>\n<\/li>\n<\/ol>\n<p>\u0412 c\u0432\u043e\u0451 \u0432\u0440\u0435\u043c\u044f \u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0441\u044f \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u043e\u0439 BookSeer. \u0410\u0432\u0442\u043e\u0440: \u041c\u0430\u0440\u043a \u0421\u043e\u043b\u0442\u0430\u043d\u043e\u0432\u0438\u0447 (Mark Soltanovich). \u0421\u0435\u0439\u0447\u0430\u0441 \u0441\u0430\u0439\u0442\u0430 \u0430\u0432\u0442\u043e\u0440\u0430 \u043d\u0435\u0442, \u043d\u043e \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442 \u043f\u043e\u043c\u043d\u0438\u0442 \u0432\u0441\u0435: <a href=\"https:\/\/web.archive.org\/web\/20090417003848\/http:\/\/solsoft.narod.ru\/\" rel=\"noopener nofollow\">https:\/\/web.archive.org\/web\/20090417003848\/http:\/\/solsoft.narod.ru\/<\/a> <a href=\"https:\/\/web.archive.org\/web\/20090327121058\/http:\/\/www.msolt.nm.ru\/News32.html\" rel=\"noopener nofollow\">https:\/\/web.archive.org\/web\/20090327121058\/http:\/\/www.msolt.nm.ru\/News32.html<\/a><\/p>\n<figure class=\"\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/\/post_images\/568\/3be\/89e\/5683be89e2c186fff70bd9cff3d3af64.png\" sizes=\"(max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/getpro\/habr\/\/post_images\/568\/3be\/89e\/5683be89e2c186fff70bd9cff3d3af64.png 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/\/post_images\/568\/3be\/89e\/5683be89e2c186fff70bd9cff3d3af64.png 781w\" loading=\"lazy\" decode=\"async\"\/><\/figure>\n<p>\u041f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430 \u0441\u0443\u043f\u0435\u0440 \u043f\u0440\u043e\u0441\u0442\u0430\u044f. \u0421\u0443\u043f\u0435\u0440 \u043c\u0430\u043b\u0435\u043d\u044c\u043a\u0430\u044f \u0438 \u0441\u0430\u043c\u043e\u0435 \u0433\u043b\u0430\u0432\u043d\u043e\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0438 \u043f\u043e \u0441\u0435\u0439 \u0434\u0435\u043d\u044c. \u041e\u0442\u0434\u0435\u043b\u044c\u043d\u043e\u0433\u043e \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u044f \u0441\u0442\u043e\u0438\u0442 \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0444\u0430\u0439\u043b\u043e\u0432 \u0438 \u0441\u043a\u0430\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f <\/p>\n<figure class=\"\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/\/post_images\/098\/c7b\/86a\/098c7b86a5d32e0e2354f60e0b6e8e42.png\" sizes=\"(max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/getpro\/habr\/\/post_images\/098\/c7b\/86a\/098c7b86a5d32e0e2354f60e0b6e8e42.png 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/\/post_images\/098\/c7b\/86a\/098c7b86a5d32e0e2354f60e0b6e8e42.png 781w\" loading=\"lazy\" decode=\"async\"\/><\/figure>\n<figure class=\"\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/\/post_images\/1ee\/94a\/b4f\/1ee94ab4f7619e7655130bdcd8d0862f.png\" sizes=\"(max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/getpro\/habr\/\/post_images\/1ee\/94a\/b4f\/1ee94ab4f7619e7655130bdcd8d0862f.png 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/\/post_images\/1ee\/94a\/b4f\/1ee94ab4f7619e7655130bdcd8d0862f.png 781w\" loading=\"lazy\" decode=\"async\"\/><\/figure>\n<p>\u0422\u0430\u043c \u0431\u044b\u043b\u043e \u0443\u0434\u043e\u0431\u043d\u043e \u0441\u043a\u0430\u043d\u0438\u0440\u043e\u0432\u0430\u0442\u044c, \u043d\u043e \u0432\u0441\u0435 \u0440\u0430\u0432\u043d\u043e \u043d\u0435\u0442 \u0442\u043e\u0433\u043e \u0447\u0435\u0433\u043e \u0445\u043e\u0442\u0435\u043b\u043e\u0441\u044c.<\/p>\n<p>\u041c\u043d\u0435 \u043d\u0435 \u0445\u0432\u0430\u0442\u0430\u0435\u0442 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u043f\u0430\u043f\u043e\u043a \u043f\u043e \u0411\u0411\u041a \u0438\u043b\u0438 \u0423\u0414\u041a \u0438 \u043d\u0430 \u0434\u0438\u0441\u043a\u0435 \u0438\u043c\u0435\u0442\u044c \u043e\u0441\u043c\u044b\u0441\u043b\u0435\u043d\u043d\u044b\u0435 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u044f \u043f\u0430\u043f\u043e\u043a \u0434\u043b\u044f \u0442\u0435\u0445\u043d\u0438\u0447\u0435\u0441\u043a\u043e\u0439 \u043b\u0438\u0442\u0435\u0440\u0430\u0442\u0443\u0440\u044b. \u0423 \u043c\u0435\u043d\u044f \u0431\u044b\u043b\u0430 \u043f\u043e\u043f\u044b\u0442\u043a\u0430 \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u0442\u0430\u043a\u0443\u044e \u0431\u0430\u0437\u0443 \u0434\u0430\u043d\u043d\u044b\u0445 \u043d\u043e\u043c\u0435\u0440\u043e\u0432 \u0438 \u044f \u043f\u0438\u0441\u0430\u043b \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0443 \u0434\u043b\u044f \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u0423\u0414\u041a \u043d\u043e\u043c\u0435\u0440\u043e\u0432 <a href=\"https:\/\/github.com\/malexple\/udk-site-parser\" rel=\"noopener nofollow\">https:\/\/github.com\/malexple\/udk-site-parser<\/a>. \u041e\u043f\u0438\u0441\u0430\u043d\u043e  \u0432 \u0441\u0442\u0430\u0442\u044c\u0435: <a href=\"https:\/\/habr.com\/ru\/articles\/890644\" rel=\"noopener nofollow\">\u041f\u0430\u0440\u0441\u0438\u043c \u0441\u0430\u0439\u0442 \u0434\u043b\u044f \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u0423\u0414\u041a \u0438\u0435\u0440\u0430\u0440\u0445\u0438\u0438<\/a> \u041d\u043e \u0441\u0430\u043c\u0443 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0443 \u044f \u043d\u0435 \u043f\u0438\u0441\u0430\u043b. \u0422\u043e \u0435\u0441\u0442\u044c \u0441\u043a\u0430\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435, \u043f\u043e\u0438\u0441\u043a \u0438 \u0440\u0430\u0441\u043f\u043e\u0437\u043d\u0430\u0432\u0430\u043d\u0438\u0435 \u0438 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u043f\u0430\u043f\u043e\u043a \u044d\u0442\u043e \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u0430\u044f \u0431\u043e\u043b\u044c\u0448\u0430\u044f \u0437\u0430\u0434\u0430\u0447\u0430. \u0418\u0434\u0435\u0439 \u043a\u0430\u043a \u044d\u0442\u043e \u0432\u0441\u0435 \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u043c\u043d\u043e\u0433\u043e. \u0415\u0441\u043b\u0438 \u0431\u0443\u0434\u0435\u0442 \u0432\u0440\u0435\u043c\u044f \u044f \u0441\u043e\u0437\u0434\u0430\u043c \u0442\u0430\u043a\u0443\u044e \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0443.<\/p>\n<p><a href=\"https:\/\/www.youtube.com\/watch?v=3kN6n9Rjldg&amp;t=715s\" rel=\"noopener nofollow\">https:\/\/www.youtube.com\/watch?v=3kN6n9Rjldg&amp;t=715s<\/a><\/p>\n<p>\u042f \u043f\u043e\u043d\u044f\u043b \u0447\u0442\u043e \u0441 \u043c\u0435\u0442\u0430\u0434\u0430\u043d\u043d\u044b\u043c\u0438 \u043d\u0443\u0436\u043d\u043e \u0447\u0442\u043e-\u0442\u043e \u0434\u0435\u043b\u0430\u0442\u044c. \u041d\u0443\u0436\u0435\u043d \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e \u043e\u0442\u043a\u0440\u044b\u0442\u044b\u0439 \u043f\u0440\u043e\u0435\u043a\u0442 \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0441\u0430\u043c \u043f\u043e\u043f\u043e\u043b\u043d\u044f\u0435\u0442\u0441\u044f \u043c\u0435\u0442\u0430\u0434\u0430\u043d\u043d\u044b\u043c\u0438 \u043a\u043d\u0438\u0433, \u043f\u0440\u0438 \u044d\u0442\u043e\u043c \u043d\u0435 \u0445\u0440\u0430\u043d\u0438\u0442 \u043d\u0438 \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0438 \u043d\u0438 \u0444\u0430\u0439\u043b\u044b. \u0422\u043e\u043b\u044c\u043a\u043e \u043c\u0435\u0442\u0430\u0434\u0430\u043d\u043d\u044b\u0435. \u0410 API \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442 \u0442\u043e\u043b\u044c\u043a\u043e \u0442\u043e \u0447\u0442\u043e \u043d\u0443\u0436\u043d\u043e. \u041d\u043e \u0442\u0443\u0442 \u0441\u0442\u0430\u044e\u0442 \u0432\u043e\u043f\u0440\u043e\u0441\u044b: \u042f \u0434\u043e\u0431\u0430\u0432\u043b\u044e \u043c\u0435\u0442\u0430\u0434\u0430\u043d\u043d\u044b\u0435 \u043a\u043d\u0438\u0433, \u0430 \u043f\u043e\u0442\u043e\u043c \u0437\u0430\u0445\u043e\u0447\u0435\u0442\u0441\u044f \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u043d\u043e\u0432\u043e\u0435 \u043f\u043e\u043b\u0435 \u0432 \u0431\u0434, \u0430 \u043f\u043e\u0442\u043e\u043c \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u043c\u0435\u0442\u0430\u0434\u0430\u043d\u043d\u044b\u0435 \u0436\u0443\u0440\u043d\u0430\u043b\u043e\u0432 \u0438\u043b\u0438 \u043a\u043e\u043c\u0438\u043a\u0441\u043e\u0432. \u041a\u0430\u0436\u0434\u044b\u0439 \u0440\u0430\u0437 \u043c\u0435\u043d\u044f\u0442\u044c \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0443 \u0442\u0430\u0431\u043b\u0438\u0446 \u043d\u0435 \u0445\u043e\u0447\u0435\u0442\u0441\u044f. \u042f \u0432\u0441\u043f\u043e\u043c\u043d\u0438\u043b \u043f\u0440\u043e \u043e\u0434\u043d\u0443 \u043d\u0435 \u043e\u0447\u0435\u043d\u044c \u043f\u043e\u043f\u0443\u043b\u044f\u0440\u043d\u0443\u044e \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u0443 \u0431\u0434, \u043d\u043e \u043e\u043d\u0430 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0438 \u0438\u0437\u0431\u0430\u0432\u043b\u044f\u0435\u0442 \u043e\u0442 \u044d\u0442\u043e\u0439 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b.<\/p>\n<h3>Pivot architecture database<\/h3>\n<p>\u0413\u0434\u0435 \u043f\u0440\u0438\u043c\u0435\u043d\u044f\u0435\u0442\u0441\u044f \u0434\u0430\u043d\u043d\u0430\u044f \u043c\u043e\u0434\u0435\u043b\u044c \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u0442\u0430\u0431\u043b\u0438\u0446. \u0412 \u043e\u0431\u043b\u0430\u0447\u043d\u044b\u0445 \u0441\u0435\u0440\u0432\u0438\u0441\u0430\u0445 \u0434\u043b\u044f \u043f\u043e\u0441\u0442\u0440\u043e\u0435\u043d\u0438\u044f \u043c\u043d\u043e\u0433\u043e\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u0441\u043a\u0438\u0445 \u0438\u043b\u0438 \u043c\u0443\u043b\u044c\u0442\u0438\u0430\u0440\u0435\u043d\u0434\u043d\u044b\u0445 \u0441\u0438\u0441\u0442\u0435\u043c.<\/p>\n<figure class=\"\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/\/post_images\/da2\/b10\/b81\/da2b10b81a90522877a942254583c54e.png\" sizes=\"(max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/getpro\/habr\/\/post_images\/da2\/b10\/b81\/da2b10b81a90522877a942254583c54e.png 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/\/post_images\/da2\/b10\/b81\/da2b10b81a90522877a942254583c54e.png 781w\" loading=\"lazy\" decode=\"async\"\/><\/figure>\n<h4>\u0421\u0443\u0442\u044c \u043c\u043e\u0434\u0435\u043b\u0438<\/h4>\n<p><strong>Pivot (EAV &#8212; Entity-Attribute-Value) \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u0430<\/strong> \u2014 \u044d\u0442\u043e \u043f\u043e\u0434\u0445\u043e\u0434 \u043a \u0445\u0440\u0430\u043d\u0435\u043d\u0438\u044e \u0434\u0430\u043d\u043d\u044b\u0445, \u043f\u0440\u0438 \u043a\u043e\u0442\u043e\u0440\u043e\u043c:<\/p>\n<ol>\n<li>\n<p><strong>\u041c\u0435\u0442\u0430\u0434\u0430\u043d\u043d\u044b\u0435 \u043e\u0442\u0434\u0435\u043b\u0435\u043d\u044b \u043e\u0442 \u0434\u0430\u043d\u043d\u044b\u0445<\/strong>: \u0421\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0430 \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432 (\u0442\u0430\u0431\u043b\u0438\u0446) \u0438 \u043f\u043e\u043b\u0435\u0439 (\u043a\u043e\u043b\u043e\u043d\u043e\u043a) \u043e\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u0432 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0445 \u0442\u0430\u0431\u043b\u0438\u0446\u0430\u0445 \u043c\u0435\u0442\u0430\u0434\u0430\u043d\u043d\u044b\u0445 (<code>mt_objects<\/code>, <code>mt_fields<\/code>), \u0430 \u043d\u0435 \u0432 DDL \u0431\u0430\u0437\u044b \u0434\u0430\u043d\u043d\u044b\u0445.<\/p>\n<\/li>\n<li>\n<p><strong>\u0414\u0430\u043d\u043d\u044b\u0435 \u0445\u0440\u0430\u043d\u044f\u0442\u0441\u044f \u0432 \u0443\u043d\u0438\u0432\u0435\u0440\u0441\u0430\u043b\u044c\u043d\u044b\u0445 \u043a\u043e\u043b\u043e\u043d\u043a\u0430\u0445<\/strong>: \u0412\u043c\u0435\u0441\u0442\u043e \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0445 \u043a\u043e\u043b\u043e\u043d\u043e\u043a \u0434\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u0430\u0442\u0440\u0438\u0431\u0443\u0442\u0430, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u043d\u0430\u0431\u043e\u0440 \u0443\u043d\u0438\u0432\u0435\u0440\u0441\u0430\u043b\u044c\u043d\u044b\u0445 \u043a\u043e\u043b\u043e\u043d\u043e\u043a (<code>value0<\/code>\u2026<code>value49<\/code>), \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043c\u043e\u0433\u0443\u0442 \u0445\u0440\u0430\u043d\u0438\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0435 \u043b\u044e\u0431\u043e\u0433\u043e \u0442\u0438\u043f\u0430.<\/p>\n<\/li>\n<li>\n<p><strong>Pivot \u0442\u0430\u0431\u043b\u0438\u0446\u044b \u0434\u043b\u044f \u043e\u043f\u0442\u0438\u043c\u0438\u0437\u0430\u0446\u0438\u0438<\/strong>: \u0414\u043b\u044f \u043e\u0431\u0435\u0441\u043f\u0435\u0447\u0435\u043d\u0438\u044f \u0431\u044b\u0441\u0442\u0440\u043e\u0439 \u0432\u044b\u0431\u043e\u0440\u043a\u0438 \u0434\u0430\u043d\u043d\u044b\u0445 \u0441\u043e\u0437\u0434\u0430\u044e\u0442\u0441\u044f \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0435 pivot-\u0442\u0430\u0431\u043b\u0438\u0446\u044b (<code>mt_indexes<\/code>), \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0442 \u0442\u0438\u043f\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0435 \u0438\u043d\u0434\u0435\u043a\u0441\u044b \u0434\u043b\u044f \u043f\u043e\u043b\u0435\u0439, \u043f\u043e\u043c\u0435\u0447\u0435\u043d\u043d\u044b\u0445 \u043a\u0430\u043a <code>is_indexed<\/code>.<\/p>\n<\/li>\n<\/ol>\n<h4>\u041a\u043b\u044e\u0447\u0435\u0432\u044b\u0435 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u044b<\/h4>\n<div>\n<div class=\"table\">\n<table>\n<tbody>\n<tr>\n<th>\n<p align=\"left\">\u041a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442<\/p>\n<\/th>\n<th>\n<p align=\"left\">Force.com<\/p>\n<\/th>\n<th>\n<p align=\"left\">\u0412\u0430\u0448 \u043f\u0440\u043e\u0435\u043a\u0442<\/p>\n<\/th>\n<th>\n<p align=\"left\">\u041d\u0430\u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435<\/p>\n<\/th>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\"><strong>Objects Table<\/strong><\/p>\n<\/td>\n<td>\n<p align=\"left\">Objects<\/p>\n<\/td>\n<td>\n<p align=\"left\"><code>mt_objects<\/code><\/p>\n<\/td>\n<td>\n<p align=\"left\">\u0425\u0440\u0430\u043d\u0438\u0442 \u043c\u0435\u0442\u0430\u0434\u0430\u043d\u043d\u044b\u0435 \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432 (Book, Author)<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\"><strong>Fields Table<\/strong><\/p>\n<\/td>\n<td>\n<p align=\"left\">Fields<\/p>\n<\/td>\n<td>\n<p align=\"left\"><code>mt_fields<\/code><\/p>\n<\/td>\n<td>\n<p align=\"left\">\u041e\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u0442 \u043f\u043e\u043b\u044f \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432 \u0438 \u0438\u0445 \u043c\u0430\u043f\u043f\u0438\u043d\u0433 \u043d\u0430 value0-49<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\"><strong>Data Table<\/strong><\/p>\n<\/td>\n<td>\n<p align=\"left\">Data<\/p>\n<\/td>\n<td>\n<p align=\"left\"><code>mt_data<\/code><\/p>\n<\/td>\n<td>\n<p align=\"left\">\u041e\u0441\u043d\u043e\u0432\u043d\u043e\u0435 \u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0449\u0435 \u0434\u0430\u043d\u043d\u044b\u0445 \u0441 flex columns<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\"><strong>Indexes Pivot<\/strong><\/p>\n<\/td>\n<td>\n<p align=\"left\">Indexes<\/p>\n<\/td>\n<td>\n<p align=\"left\"><code>mt_indexes<\/code><\/p>\n<\/td>\n<td>\n<p align=\"left\">\u0422\u0438\u043f\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0435 \u0438\u043d\u0434\u0435\u043a\u0441\u044b \u0434\u043b\u044f \u0431\u044b\u0441\u0442\u0440\u043e\u0433\u043e \u043f\u043e\u0438\u0441\u043a\u0430<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\"><strong>History Table<\/strong><\/p>\n<\/td>\n<td>\n<p align=\"left\">Audit trail<\/p>\n<\/td>\n<td>\n<p align=\"left\"><code>mt_field_history<\/code><\/p>\n<\/td>\n<td>\n<p align=\"left\">\u0418\u0441\u0442\u043e\u0440\u0438\u044f \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0439 \u043f\u043e\u043b\u0435\u0439<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<h4>\u041f\u0440\u0435\u0438\u043c\u0443\u0449\u0435\u0441\u0442\u0432\u0430 \u043c\u043e\u0434\u0435\u043b\u0438<\/h4>\n<h3>\u0413\u0438\u0431\u043a\u043e\u0441\u0442\u044c \u0438 \u043c\u0430\u0441\u0448\u0442\u0430\u0431\u0438\u0440\u0443\u0435\u043c\u043e\u0441\u0442\u044c<\/h3>\n<ul>\n<li>\n<p><strong>\u0411\u0435\u0437 ALTER TABLE<\/strong>: \u0414\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u043d\u043e\u0432\u044b\u0445 \u043f\u043e\u043b\u0435\u0439 \u2014 \u044d\u0442\u043e \u043f\u0440\u043e\u0441\u0442\u043e INSERT \u0432 <code>mt_fields<\/code>, \u0430 \u043d\u0435 \u0434\u043e\u0440\u043e\u0433\u043e\u0441\u0442\u043e\u044f\u0449\u0430\u044f \u043c\u0438\u0433\u0440\u0430\u0446\u0438\u044f \u0441\u0445\u0435\u043c\u044b \u0411\u0414<\/p>\n<\/li>\n<li>\n<p><strong>Zero downtime<\/strong>: \u0418\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u043c\u0435\u0442\u0430\u0434\u0430\u043d\u043d\u044b\u0445 \u043d\u0435 \u0431\u043b\u043e\u043a\u0438\u0440\u0443\u044e\u0442 \u0440\u0430\u0431\u043e\u0442\u0443 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f<\/p>\n<\/li>\n<li>\n<p><strong>\u0414\u0438\u043d\u0430\u043c\u0438\u0447\u0435\u0441\u043a\u0430\u044f \u0441\u0445\u0435\u043c\u0430<\/strong>: \u0420\u0430\u0437\u043d\u044b\u0435 \u043e\u0431\u044a\u0435\u043a\u0442\u044b \u043c\u043e\u0433\u0443\u0442 \u0438\u043c\u0435\u0442\u044c \u0441\u043e\u0432\u0435\u0440\u0448\u0435\u043d\u043d\u043e \u0440\u0430\u0437\u043d\u044b\u0435 \u043d\u0430\u0431\u043e\u0440\u044b \u043f\u043e\u043b\u0435\u0439<\/p>\n<\/li>\n<\/ul>\n<h3>\u041c\u043d\u043e\u0433\u043e\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c (Multitenancy)<\/h3>\n<ul>\n<li>\n<p><strong>\u0418\u0437\u043e\u043b\u044f\u0446\u0438\u044f \u0442\u0435\u043d\u0430\u043d\u0442\u043e\u0432<\/strong>: \u0412\u0441\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 \u0440\u0430\u0437\u0434\u0435\u043b\u0435\u043d\u044b \u043f\u043e <code>org_id<\/code><\/p>\n<\/li>\n<li>\n<p><strong>\u042d\u043a\u043e\u043d\u043e\u043c\u0438\u044f \u0440\u0435\u0441\u0443\u0440\u0441\u043e\u0432<\/strong>: \u041e\u0434\u0438\u043d \u044d\u043a\u0437\u0435\u043c\u043f\u043b\u044f\u0440 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u043e\u0431\u0441\u043b\u0443\u0436\u0438\u0432\u0430\u0435\u0442 \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u043e \u043e\u0440\u0433\u0430\u043d\u0438\u0437\u0430\u0446\u0438\u0439<\/p>\n<\/li>\n<li>\n<p><strong>\u041a\u0430\u0441\u0442\u043e\u043c\u0438\u0437\u0430\u0446\u0438\u044f<\/strong>: \u041a\u0430\u0436\u0434\u0430\u044f \u043e\u0440\u0433\u0430\u043d\u0438\u0437\u0430\u0446\u0438\u044f \u043c\u043e\u0436\u0435\u0442 \u0438\u043c\u0435\u0442\u044c \u0441\u0432\u043e\u044e \u0443\u043d\u0438\u043a\u0430\u043b\u044c\u043d\u0443\u044e \u0441\u0445\u0435\u043c\u0443 \u0434\u0430\u043d\u043d\u044b\u0445<\/p>\n<\/li>\n<\/ul>\n<h3>\u041f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c<\/h3>\n<ul>\n<li>\n<p><strong>\u0422\u0438\u043f\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0435 \u0438\u043d\u0434\u0435\u043a\u0441\u044b<\/strong>: <code>mt_indexes<\/code> \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0431\u044b\u0441\u0442\u0440\u043e \u0438\u0441\u043a\u0430\u0442\u044c \u043f\u043e \u0438\u043d\u0434\u0435\u043a\u0441\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u043c \u043f\u043e\u043b\u044f\u043c \u0431\u0435\u0437 \u0441\u043a\u0430\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0432\u0441\u0435\u0445 50 value-\u043a\u043e\u043b\u043e\u043d\u043e\u043a<\/p>\n<\/li>\n<li>\n<p><strong>\u041f\u0430\u0440\u0442\u0438\u0446\u0438\u043e\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435<\/strong>: \u0414\u0430\u043d\u043d\u044b\u0435 \u0444\u0438\u0437\u0438\u0447\u0435\u0441\u043a\u0438 \u0440\u0430\u0437\u0434\u0435\u043b\u0435\u043d\u044b \u043f\u043e <code>org_id<\/code> (partition pruning)<\/p>\n<\/li>\n<li>\n<p><strong>\u041a\u044d\u0448\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u043c\u0435\u0442\u0430\u0434\u0430\u043d\u043d\u044b\u0445<\/strong>: \u041c\u0435\u0442\u0430\u0434\u0430\u043d\u043d\u044b\u0435 \u043c\u043e\u0436\u043d\u043e \u043a\u044d\u0448\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0432 \u043f\u0430\u043c\u044f\u0442\u0438<\/p>\n<\/li>\n<\/ul>\n<h3>\u0424\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u043e\u0441\u0442\u044c<\/h3>\n<ul>\n<li>\n<p><strong>\u0418\u0441\u0442\u043e\u0440\u0438\u044f \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0439<\/strong>: <code>mt_field_history<\/code> \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u043e\u0442\u0441\u043b\u0435\u0436\u0438\u0432\u0430\u0435\u0442 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f<\/p>\n<\/li>\n<li>\n<p><strong>\u0418\u0441\u0442\u043e\u0447\u043d\u0438\u043a\u0438 \u0434\u0430\u043d\u043d\u044b\u0445<\/strong>: <code>sources_meta<\/code> (JSONB) \u0445\u0440\u0430\u043d\u0438\u0442 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u043e \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0436\u0434\u0435\u043d\u0438\u0438 \u0434\u0430\u043d\u043d\u044b\u0445<\/p>\n<\/li>\n<li>\n<p><strong>\u0423\u043d\u0438\u043a\u0430\u043b\u044c\u043d\u043e\u0441\u0442\u044c \u0438 \u0432\u0430\u043b\u0438\u0434\u0430\u0446\u0438\u044f<\/strong>: \u041e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u044f \u043d\u0430 \u0443\u0440\u043e\u0432\u043d\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0438 \u0411\u0414<\/p>\n<\/li>\n<\/ul>\n<h4>\u041a\u043e\u0433\u0434\u0430 \u043f\u0440\u0438\u043c\u0435\u043d\u044f\u0442\u044c<\/h4>\n<p><strong>\u041f\u043e\u0434\u0445\u043e\u0434\u0438\u0442 \u0434\u043b\u044f:<\/strong><\/p>\n<ul>\n<li>\n<p>SaaS-\u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439 \u0441 \u043a\u0430\u0441\u0442\u043e\u043c\u0438\u0437\u0438\u0440\u0443\u0435\u043c\u043e\u0439 \u0441\u0445\u0435\u043c\u043e\u0439 \u0434\u0430\u043d\u043d\u044b\u0445<\/p>\n<\/li>\n<li>\n<p>\u0421\u0438\u0441\u0442\u0435\u043c \u0441 \u0434\u0438\u043d\u0430\u043c\u0438\u0447\u0435\u0441\u043a\u0438\u043c\u0438 \u0430\u0442\u0440\u0438\u0431\u0443\u0442\u0430\u043c\u0438 (\u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0438 \u0442\u043e\u0432\u0430\u0440\u043e\u0432, CRM, \u043c\u0435\u0442\u0430\u0434\u0430\u043d\u043d\u044b\u0435)<\/p>\n<\/li>\n<li>\n<p>Multi-tenant \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440<\/p>\n<\/li>\n<li>\n<p>\u041f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439, \u0442\u0440\u0435\u0431\u0443\u044e\u0449\u0438\u0445 \u0447\u0430\u0441\u0442\u044b\u0445 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0439 \u0441\u0445\u0435\u043c\u044b<\/p>\n<\/li>\n<\/ul>\n<p><strong>\u041d\u0435 \u043f\u043e\u0434\u0445\u043e\u0434\u0438\u0442 \u0434\u043b\u044f:<\/strong><\/p>\n<ul>\n<li>\n<p>\u0412\u044b\u0441\u043e\u043a\u043e\u043d\u0430\u0433\u0440\u0443\u0436\u0435\u043d\u043d\u044b\u0445 \u0442\u0440\u0430\u043d\u0437\u0430\u043a\u0446\u0438\u043e\u043d\u043d\u044b\u0445 \u0441\u0438\u0441\u0442\u0435\u043c \u0441 \u0444\u0438\u043a\u0441\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u0439 \u0441\u0445\u0435\u043c\u043e\u0439<\/p>\n<\/li>\n<li>\n<p>\u0421\u0446\u0435\u043d\u0430\u0440\u0438\u0435\u0432, \u0442\u0440\u0435\u0431\u0443\u044e\u0449\u0438\u0445 \u0441\u043b\u043e\u0436\u043d\u044b\u0445 JOIN \u043c\u0435\u0436\u0434\u0443 \u0434\u0438\u043d\u0430\u043c\u0438\u0447\u0435\u0441\u043a\u0438\u043c\u0438 \u043f\u043e\u043b\u044f\u043c\u0438<\/p>\n<\/li>\n<li>\n<p>\u041f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439 \u0441 \u0436\u0435\u0441\u0442\u043a\u0438\u043c\u0438 \u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043d\u0438\u044f\u043c\u0438 \u043a \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438 \u043d\u0430 \u0431\u043e\u043b\u044c\u0448\u0438\u0445 \u043e\u0431\u044a\u0435\u043c\u0430\u0445<\/p>\n<\/li>\n<\/ul>\n<p>\u0414\u0430 \u0432 \u0442\u0430\u043a\u043e\u0439 \u043c\u043e\u0434\u0435\u043b\u0438 \u0435\u0441\u0442\u044c \u0441\u0432\u043e\u0438 \u043f\u043b\u044e\u0441\u044b \u0438 \u043c\u0438\u043d\u0443\u0441\u044b \u043f\u0440\u0438 \u0431\u043e\u043b\u044c\u0448\u043e\u043c \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u0435 \u0434\u0430\u043d\u043d\u044b\u0445, \u043d\u043e \u043e\u043d\u0438 \u0435\u0441\u0442\u044c \u0438 \u0432 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u0445 \u043c\u043e\u0434\u0435\u043b\u044f\u0445. \u041e\u0441\u043d\u043e\u0432\u043d\u044b\u043c \u043f\u043b\u044e\u0441\u043e\u043c \u0434\u043b\u044f \u043c\u0435\u043d\u044f \u044d\u0442\u043e:<\/p>\n<ul>\n<li>\n<p>\u043d\u043e\u0432\u0430\u044f \u0438\u0433\u0440\u0443\u0448\u043a\u0430 \u0438 \u043f\u043e\u043f\u0440\u043e\u0431\u0430\u0432\u0430\u0442\u044c \u0442\u0430\u043a\u0443\u044e \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u0443<\/p>\n<\/li>\n<li>\n<p>\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0442\u044c \u043d\u043e\u0432\u044b\u0435 \u043f\u043e\u043b\u044f \u0431\u0435\u0437 \u043f\u0435\u0440\u0435\u0441\u0442\u0430\u0440\u0442\u0430 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f<\/p>\n<\/li>\n<li>\n<p>\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u043d\u043e\u0432\u044b\u0445 \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432<\/p>\n<\/li>\n<\/ul>\n<p>\u041a\u0430\u043a \u044d\u0442\u043e \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442:<\/p>\n<p>\u0414\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u043e\u0431\u044a\u0435\u043a\u0442 \u2014 \u044d\u0442\u043e \u0432\u0441\u0442\u0430\u0432\u043a\u0430 \u043e\u0434\u043d\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0438:<\/p>\n<pre><code class=\"sql\">INSERT INTO mtobjects (orgid, objname, label, plurallabel, iscustom, isactive)VALUES (1, 'Publisher', '\u0418\u0437\u0434\u0430\u0442\u0435\u043b\u044c\u0441\u0442\u0432\u043e', '\u0418\u0437\u0434\u0430\u0442\u0435\u043b\u044c\u0441\u0442\u0432\u0430', TRUE, TRUE);<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:87px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<p>\u0414\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u043d\u043e\u0432\u043e\u0435 \u043f\u043e\u043b\u0435 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u044e\u0449\u0435\u043c\u0443 \u043e\u0431\u044a\u0435\u043a\u0442\u0443 \u2014 \u0442\u043e\u0436\u0435 \u0432\u0441\u0442\u0430\u0432\u043a\u0430, \u0430 \u043d\u0435 \u043c\u0438\u0433\u0440\u0430\u0446\u0438\u044f, \u043f\u0440\u0438\u0447\u0451\u043c \u043d\u043e\u043c\u0435\u0440 \u0441\u0432\u043e\u0431\u043e\u0434\u043d\u043e\u0433\u043e \u0441\u043b\u043e\u0442\u0430 \u043c\u043e\u0436\u043d\u043e \u0432\u044b\u0447\u0438\u0441\u043b\u0438\u0442\u044c \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438, \u0430 \u043d\u0435 \u043f\u043e\u0434\u0431\u0438\u0440\u0430\u0442\u044c \u0440\u0443\u043a\u0430\u043c\u0438:<\/p>\n<pre><code class=\"sql\">INSERT INTO mtfields (orgid, objid, fieldname, label, datatype, fieldnum, isindexed, isunique, isrequired, length)SELECT o.orgid, o.objid, 'Website', '\u0421\u0430\u0439\u0442 \u0438\u0437\u0434\u0430\u0442\u0435\u043b\u044c\u0441\u0442\u0432\u0430', 'url',       COALESCE((SELECT MAX(mf.fieldnum) FROM mtfields mf                 WHERE mf.orgid = o.orgid AND mf.objid = o.objid), -1) + 1,       FALSE, FALSE, FALSE, 500FROM mtobjects oWHERE o.orgid = 1 AND o.objname = 'Publisher';<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<p>\u0421 \u044d\u0442\u043e\u0433\u043e \u043c\u043e\u043c\u0435\u043d\u0442\u0430 \u043d\u043e\u0432\u043e\u0435 \u043f\u043e\u043b\u0435 \u0441\u0440\u0430\u0437\u0443 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u043e \u0447\u0435\u0440\u0435\u0437 <code>?fields=Website<\/code> \u0432 \u043f\u0443\u0431\u043b\u0438\u0447\u043d\u043e\u043c API, \u0443\u0447\u0430\u0441\u0442\u0432\u0443\u0435\u0442 \u0432 <code>resolveRequestedFields<\/code>, \u0430 \u0435\u0441\u043b\u0438 \u043f\u043e\u043c\u0435\u0442\u0438\u0442\u044c \u0435\u0433\u043e <code>isIndexed = TRUE<\/code> \u0442\u043e \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u043d\u0430\u0447\u043d\u0451\u0442 \u043f\u043e\u043f\u0430\u0434\u0430\u0442\u044c \u0432 <code>mtindexes<\/code> \u043f\u0440\u0438 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u043c \u0441\u043e\u0445\u0440\u0430\u043d\u0435\u043d\u0438\u0438 \u0437\u0430\u043f\u0438\u0441\u0438 \u0447\u0435\u0440\u0435\u0437 <code>PivotIndexService.syncIndexes<\/code>, \u0431\u0435\u0437 \u0435\u0434\u0438\u043d\u043e\u0439 \u0441\u0442\u0440\u043e\u0447\u043a\u0438 \u043d\u043e\u0432\u043e\u0433\u043e Java-\u043a\u043e\u0434\u0430.<\/p>\n<p>\u0417\u0430\u043f\u043b\u0430\u0442\u0438\u0442\u044c \u0437\u0430 \u044d\u0442\u0443 \u0433\u0438\u0431\u043a\u043e\u0441\u0442\u044c \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u0442\u0435\u043c, \u0447\u0442\u043e \u043a\u0430\u0436\u0434\u043e\u0435 \u0447\u0442\u0435\u043d\u0438\u0435 \u043f\u043e\u043b\u044f \u0438\u0434\u0451\u0442 \u043d\u0435 \u0447\u0435\u0440\u0435\u0437 \u043d\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u0443\u044e \u0442\u0438\u043f\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u0443\u044e \u043a\u043e\u043b\u043e\u043d\u043a\u0443, \u0430 \u0447\u0435\u0440\u0435\u0437 <code>getValue(int slot)<\/code> \u0441 \u0440\u0443\u0447\u043d\u044b\u043c <code>switch<\/code> \u043d\u0430 50 \u043a\u0435\u0439\u0441\u043e\u0432, \u0438 \u0437\u0430\u043f\u0440\u043e\u0441\u044b \u0432\u0440\u043e\u0434\u0435 \u201c\u043f\u043e\u043a\u0430\u0437\u0430\u0442\u044c \u0432\u0441\u0435 \u043a\u043d\u0438\u0433\u0438, \u0443 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 <code>PublishedYear &gt; 2020<\/code>\u201d \u0442\u0440\u0435\u0431\u0443\u044e\u0442 JOIN \u0441 <code>mtindexes<\/code>, \u0430 \u043d\u0435 \u043f\u0440\u044f\u043c\u043e\u0433\u043e <code>WHERE<\/code> \u043f\u043e <code>mtdata<\/code>.  \u0421\u0445\u0435\u043c\u0430 \u0431\u0435\u0441\u043a\u043e\u043d\u0435\u0447\u043d\u043e \u0440\u0430\u0441\u0448\u0438\u0440\u044f\u0435\u043c\u0430 \u0432\u043e \u0432\u0440\u0435\u043c\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u0441\u0438\u0441\u0442\u0435\u043c\u044b, \u043d\u043e \u043f\u043b\u0430\u0442\u0438\u043c \u0437\u0430 \u044d\u0442\u043e \u0446\u0435\u043d\u0443 \u043d\u0430 \u043a\u0430\u0436\u0434\u043e\u043c \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e\u043c \u0447\u0442\u0435\u043d\u0438\u0438. \u0414\u043b\u044f \u0441\u0435\u0440\u0432\u0438\u0441\u0430, \u0433\u0434\u0435 \u0441\u043e\u0441\u0442\u0430\u0432 \u043f\u043e\u043b\u0435\u0439 \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0430\u0435\u0442 \u043c\u0435\u043d\u044f\u0442\u044c\u0441\u044f (\u0430 \u0432 Book Metadata Service \u043e\u043d \u0431\u0443\u0434\u0435\u0442 \u043c\u0435\u043d\u044f\u0435\u0442\u0441\u044f), \u044d\u0442\u043e\u0442 \u0431\u043e\u043b\u044c\u0448\u0443\u0449\u0438\u0439 \u043f\u043b\u044e\u0441.<\/p>\n<h3>\u0422\u0440\u0443\u0434\u043d\u043e\u0441\u0442\u0438 \u0432\u044b\u0431\u043e\u0440\u0430 \u0438\u0434\u0435\u0439 \u0438 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0439<\/h3>\n<p>\u0418\u0437\u043d\u0430\u0447\u0430\u043b\u044c\u043d\u0430\u044f \u0438\u0434\u0435\u044f \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u0441\u0435\u0440\u0432\u0438\u0441 \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0441\u0430\u043c \u0431\u0443\u0434\u0435\u0442 \u0445\u043e\u0434\u0438\u0442\u044c \u0432 \u0434\u0440\u0443\u0433\u0438\u0435 \u0441\u0435\u0440\u0432\u0438\u0441\u0430 \u0438 \u0443 \u0441\u0435\u0431\u044f \u0430\u0433\u0440\u0435\u0433\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043c\u0435\u0442\u0430\u0434\u0430\u043d\u043d\u044b\u0435 \u043a\u043d\u0438\u0433. \u042f \u0434\u043e\u0431\u0430\u0432\u0438\u043b \u043e\u0431\u0449\u0435\u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0435 \u0438 \u0431\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u044b\u0435 Open Library, Google Books, FantLab \u0438 \u0434\u0430\u0436\u0435 LibGen \u0438 Sigla. \u041d\u043e \u044d\u0442\u043e \u043b\u0438\u0431\u043e \u0441\u0435\u0440\u0430\u044f \u0437\u043e\u043d\u0430 \u0438\u043b\u0438 \u0441\u043a\u0440\u0430\u0431\u0438\u043d\u0433 \u0441\u0430\u0439\u0442\u0430, \u0447\u0442\u043e \u043d\u0430 \u043f\u043e\u0441\u0442\u043e\u044f\u043d\u043d\u043e\u0439 \u043e\u0441\u043d\u043e\u0432\u0435 \u0434\u0435\u043b\u0430\u0442\u044c \u043d\u0435\u043b\u044c\u0437\u044f. \u042d\u0442\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u043b \u043a\u0430\u043a \u043e\u043f\u0446\u0438\u044e. \u0421\u0435\u0440\u0432\u0438\u0441 \u043c\u043e\u0436\u043d\u043e \u0441\u043a\u0430\u0447\u0430\u0442\u044c \u0438 \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u0432 docker, \u043d\u043e \u043f\u043e  \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u0432\u044b\u043a\u043b\u044e\u0447\u0435\u043d\u044b. \u0418 \u043d\u0430 \u043e\u0431\u0449\u0435\u0434\u043e\u0441\u0442\u0443\u043f\u043d\u043e\u043c \u0441\u0430\u0439\u0442\u0435 \u043e\u043d\u0438 \u0432\u044b\u043a\u043b\u044e\u0447\u0435\u043d\u044b.<\/p>\n<p>\u041c\u043d\u0435 \u043d\u0435\u043b\u044c\u0437\u044f \u0434\u0435\u043b\u0430\u0442\u044c \u0442\u0430\u043a\u0438\u0435 \u0437\u0430\u0434\u0430\u0447\u043a\u0438. \u041f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u043e\u0447\u0435\u043d\u044c \u043c\u043d\u043e\u0433\u043e \u0438\u0434\u0435\u0439 \u0438 \u0445\u043e\u0447\u0435\u0442\u0441\u044f \u0432\u0441\u0435 \u0441\u0440\u0430\u0437\u0443 \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u0442\u044c. \u0418\u0437\u043d\u0430\u0447\u0430\u043b\u044c\u043d\u043e \u044f \u0434\u043e\u0431\u0430\u0432\u0438\u043b \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u043c\u0435\u0442\u0430\u0434\u0430\u043d\u043d\u044b\u0445 \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432:<\/p>\n<pre><code class=\"java\">@RestController@RequestMapping(\"\/api\/metadata\")@RequiredArgsConstructor@Tag(name = \"Metadata\", description = \"\u041c\u0435\u0442\u0430\u0434\u0430\u043d\u043d\u044b\u0435 \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432 \u0438 \u043f\u043e\u043b\u0435\u0439 \u0434\u043b\u044f UI-\u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0442\u043e\u0440\u0430\")public class MetadataController {    private final MetadataService metadataService;    private final ApiKeyService apiKeyService;    @Operation(summary = \"\u0421\u043f\u0438\u0441\u043e\u043a \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432 (Book, Author, Magazine...)\")    @GetMapping(\"\/objects\")    public ResponseEntity&lt;List&lt;MtObject&gt;&gt; getObjects(            @RequestParam String apiKey,            @Parameter(example = \"1\") @RequestParam(defaultValue = \"1\") Integer orgId) {        Integer resolvedOrgId = apiKeyService.resolveOrgIdOrThrow(apiKey, ApiKeyScope.ADMIN);        return ResponseEntity.ok(metadataService.getObjectsByOrg(resolvedOrgId));    }    @Operation(summary = \"\u041f\u043e\u043b\u044f \u043e\u0431\u044a\u0435\u043a\u0442\u0430 \u2014 \u0438\u0441\u0442\u043e\u0447\u043d\u0438\u043a \u0434\u043b\u044f \u0447\u0435\u043a\u0431\u043e\u043a\u0441\u043e\u0432 \u0432 UI-\u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0442\u043e\u0440\u0435\")    @GetMapping(\"\/objects\/{objectName}\/fields\")    public ResponseEntity&lt;List&lt;FieldDto&gt;&gt; getFields(            @RequestParam String apiKey,            @Parameter(example = \"1\") @RequestParam(defaultValue = \"1\") Integer orgId,            @Parameter(example = \"Book\") @PathVariable String objectName) {        Integer resolvedOrgId = apiKeyService.resolveOrgIdOrThrow(apiKey, ApiKeyScope.ADMIN);        MtObject object = metadataService.getObjectByName(resolvedOrgId, objectName);        List&lt;FieldDto&gt; dtos = metadataService.getFieldsByObject(resolvedOrgId, object.getObjId()).stream()                .map(this::toDto)                .toList();        return ResponseEntity.ok(dtos);    }    private FieldDto toDto(MtField f) {        return FieldDto.builder()                .fieldName(f.getFieldName())                .label(f.getLabel())                .dataType(f.getDataType())                .isIndexed(f.getIsIndexed())                .isRequired(f.getIsRequired())                .build();    }}<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<p>\u0418 \u043f\u043b\u0430\u043d\u0438\u0440\u043e\u0432\u0430\u043b \u043f\u043e\u0442\u043e\u043c \u0440\u0430\u0441\u0448\u0438\u0440\u044f\u0442\u044c \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u043e \u0438 \u043c\u043e\u0436\u0435\u0442 \u043a \u044d\u0442\u043e\u043c\u0443 \u0432\u0435\u0440\u043d\u0443\u0441\u044c \u0441 \u0434\u043e\u0441\u0442\u0443\u043f\u043e\u043c \u043f\u043e\u0434 \u0430\u0434\u043c\u0438\u043d\u043e\u043c. \u041d\u043e \u0434\u043b\u044f \u043f\u0443\u0431\u043b\u0438\u0447\u043d\u043e\u0433\u043e \u0441\u0435\u0440\u0432\u0438\u0441\u0430 \u0443\u0431\u0440\u0430\u043b \u043f\u043e\u043a\u0430 \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e.<\/p>\n<p>\u041f\u043e\u0442\u043e\u043c \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u043b \u0440\u0443\u0447\u043d\u043e\u0435 \u043e\u0431\u043e\u0433\u0430\u0449\u0435\u043d\u0438\u0435 \u0434\u0430\u043d\u043d\u044b\u0445 \u0447\u0435\u0440\u0435\u0437 LLM. \u041a\u043e\u0433\u0434\u0430 LLM \u0441\u0430\u043c\u0430 \u0445\u043e\u0434\u0438\u0442 \u0438\u0449\u0435\u0442 \u043a\u043d\u0438\u0433\u0443 \u043a\u043e\u0442\u043e\u0440\u0443\u044e \u043d\u0435 \u043d\u0430\u0448\u043b\u0438 \u0432 Open Library, Google Books, FantLab. \u0418 \u0442\u0430\u043a\u0430\u044f \u0437\u0430\u043f\u0438\u0441\u044c \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u0435\u0442\u0441\u044f \u0432\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u043d\u0443\u044e \u0442\u0430\u0431\u043b\u0438\u0446\u0443 llm_suggestions, \u0430 \u0442\u044b \u043f\u043e\u0442\u043e\u043c \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u0448\u044c \u0438 \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u0448\u044c \u0432 \u043e\u0431\u0449\u0443\u044e \u0442\u0430\u0431\u043b\u0438\u0446\u0443, \u0435\u0441\u043b\u0438 \u0432\u0441\u0435 \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e:<\/p>\n<pre><code class=\"java\">@RestController@RequestMapping(\"\/api\/v1\/enrichment\")@RequiredArgsConstructor@Tag(name = \"Enrichment\", description = \"\u041e\u0431\u043e\u0433\u0430\u0449\u0435\u043d\u0438\u0435 \u043c\u0435\u0442\u0430\u0434\u0430\u043d\u043d\u044b\u0445 \u0438\u0437 \u043e\u0442\u043a\u0440\u044b\u0442\u044b\u0445 \u0438\u0441\u0442\u043e\u0447\u043d\u0438\u043a\u043e\u0432, LLM fallback \u0438 \u043c\u043e\u0434\u0435\u0440\u0430\u0446\u0438\u044f \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u0438\u0439\")public class EnrichmentController {    private final ApiKeyService apiKeyService;    private final PublicSourcesEnrichmentService publicSourcesEnrichmentService;    private final BookQueryService bookQueryService;    @Operation(summary = \"\u041d\u0430\u0439\u0442\u0438 \u043a\u043d\u0438\u0433\u0443 \u043f\u043e ISBN (Open Library -&gt; Google Books -&gt; FantLab -&gt; LibGen -&gt; LLM fallback \u0432 \u043e\u0447\u0435\u0440\u0435\u0434\u044c)\")    @PostMapping(\"\/public\/by-isbn\")    public ResponseEntity&lt;Map&lt;String, Object&gt;&gt; enrichPublicByIsbn(            @RequestParam String apiKey,            @RequestParam String isbn) {        Integer orgId = apiKeyService.resolveOrgIdOrThrow(apiKey, ApiKeyScope.PARTNER_WRITE);        MtData result = publicSourcesEnrichmentService.enrichByIsbn(orgId, isbn);        return respond(orgId, result);    }    @Operation(summary = \"\u041d\u0430\u0439\u0442\u0438 \u043a\u043d\u0438\u0433\u0443 \u043f\u043e \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u044e, \u043a\u043e\u0433\u0434\u0430 ISBN \u043d\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u0435\u043d (LLM fallback \u0442\u043e\u0436\u0435 \u0443\u0445\u043e\u0434\u0438\u0442 \u0432 \u043e\u0447\u0435\u0440\u0435\u0434\u044c \u043d\u0430 \u043c\u043e\u0434\u0435\u0440\u0430\u0446\u0438\u044e)\")    @PostMapping(\"\/public\/by-title\")    public ResponseEntity&lt;Map&lt;String, Object&gt;&gt; enrichPublicByTitle(            @RequestParam String apiKey,            @RequestParam String title) {        Integer orgId = apiKeyService.resolveOrgIdOrThrow(apiKey, ApiKeyScope.PARTNER_WRITE);        MtData result = publicSourcesEnrichmentService.enrichByTitle(orgId, title);        return respond(orgId, result);    }    @Operation(summary = \"\u0421\u043f\u0438\u0441\u043e\u043a \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u0438\u0439 \u043e\u0442 LLM fallback, \u043e\u0436\u0438\u0434\u0430\u044e\u0449\u0438\u0445 \u043c\u043e\u0434\u0435\u0440\u0430\u0446\u0438\u0438 (\u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e status=pending)\")    @GetMapping(\"\/llm-suggestions\")    public ResponseEntity&lt;List&lt;LlmSuggestion&gt;&gt; listSuggestions(            @RequestParam String apiKey,            @RequestParam(defaultValue = \"pending\") String status) {        Integer orgId = apiKeyService.resolveOrgIdOrThrow(apiKey, ApiKeyScope.ADMIN);        return ResponseEntity.ok(publicSourcesEnrichmentService.listSuggestions(orgId, status));    }    @Operation(summary = \"\u041f\u0440\u0438\u043d\u044f\u0442\u044c \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u0438\u0435 LLM \u2014 \u0437\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0435 \u0432 mt_data\")    @PostMapping(\"\/llm-suggestions\/{id}\/approve\")    public ResponseEntity&lt;Map&lt;String, Object&gt;&gt; approveSuggestion(            @RequestParam String apiKey,            @PathVariable Long id) {        Integer orgId = apiKeyService.resolveOrgIdOrThrow(apiKey, ApiKeyScope.ADMIN);        MtData result = publicSourcesEnrichmentService.approveSuggestion(orgId, id);        var book = bookQueryService.getBookObject(orgId);        var fields = bookQueryService.resolveRequestedFields(orgId, book.getObjId(), null);        return ResponseEntity.ok(bookQueryService.toResponseMap(result, fields));    }    @Operation(summary = \"\u041e\u0442\u043a\u043b\u043e\u043d\u0438\u0442\u044c \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u0438\u0435 LLM \u2014 \u0431\u0435\u0437 \u0437\u0430\u043f\u0438\u0441\u0438 \u0432 mt_data\")    @PostMapping(\"\/llm-suggestions\/{id}\/reject\")    public ResponseEntity&lt;Map&lt;String, Object&gt;&gt; rejectSuggestion(            @RequestParam String apiKey,            @PathVariable Long id) {        Integer orgId = apiKeyService.resolveOrgIdOrThrow(apiKey, ApiKeyScope.ADMIN);        publicSourcesEnrichmentService.rejectSuggestion(orgId, id);        return ResponseEntity.ok(Map.of(\"rejected\", true, \"id\", id));    }    private ResponseEntity&lt;Map&lt;String, Object&gt;&gt; respond(Integer orgId, MtData result) {        if (result == null) {            return ResponseEntity.ok(Map.of(                    \"found\", false,                    \"message\", \"\u041a\u043d\u0438\u0433\u0430 \u043d\u0435 \u043d\u0430\u0439\u0434\u0435\u043d\u0430 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u043c\u0438 \u0438\u0441\u0442\u043e\u0447\u043d\u0438\u043a\u0430\u043c\u0438. \" +                            \"\u0415\u0441\u043b\u0438 \u0441\u0440\u0430\u0431\u043e\u0442\u0430\u043b LLM fallback \u2014 \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0432 \/llm-suggestions \u043d\u0430 \u043c\u043e\u0434\u0435\u0440\u0430\u0446\u0438\u044e, \" +                            \"\u0438\u043d\u0430\u0447\u0435 \u2014 \u0432 \u043e\u0447\u0435\u0440\u0435\u0434\u0438 unresolved_lookup.\"            ));        }        var book = bookQueryService.getBookObject(orgId);        var fields = bookQueryService.resolveRequestedFields(orgId, book.getObjId(), null);        return ResponseEntity.ok(bookQueryService.toResponseMap(result, fields));    }}<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<p>\u041d\u043e \u0442\u043e\u0436\u0435 \u0432\u044b\u043f\u0438\u043b\u0438\u043b \u0447\u0430\u0441\u0442\u0438\u0447\u043d\u043e \u0442\u0430\u043a \u043a\u0430\u043a \u0443 \u043c\u0435\u043d\u044f \u043d\u0435 \u0431\u0443\u0434\u0435\u0442 \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u043d\u0430 \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440 \u0442\u0430\u043a\u0438\u0445 \u0437\u0430\u043f\u0438\u0441\u0435\u0439. \u041d\u0443 \u0438 \u0441 LLM \u043d\u0430 \u0441\u0430\u043c\u043e\u043c \u0434\u0435\u043b\u0435 \u0435\u0441\u0442\u044c \u043c\u043e\u043c\u0435\u043d\u0442 \u0442\u043e\u0433\u043e, \u0447\u0442\u043e \u043e\u043d\u0430 \u0441\u0442\u0440\u0430\u0434\u0430\u0435\u0442 \u0433\u0430\u043b\u044e\u0446\u0438\u043d\u0430\u0446\u0438\u044f\u043c\u0438 \u0438 \u043d\u0430\u0434\u043e \u0432\u0441\u0435 \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0442\u044c. \u041f\u043e\u0447\u0442\u0438 \u0447\u0442\u043e \u0440\u0443\u0447\u043d\u043e\u0435 \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u0435. \u0414\u043e\u0431\u0430\u0432\u0438\u043b \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438 \u043a\u0430\u043a \u043c\u043e\u0433 \u0434\u0430\u0436\u0435 \u0441\u043e \u0441\u043b\u0430\u0431\u043e\u0439 LLM. \u041d\u043e \u044d\u0442\u043e \u043d\u0430 \u0431\u0443\u0434\u0443\u0449\u0435\u0435.<\/p>\n<p>\u041e\u0441\u0442\u0430\u043b\u0438\u0441\u044c \u0442\u043e\u043b\u044c\u043a\u043e 4 API  <a href=\"https:\/\/www.bookmetadata.ru\/swagger-ui\/index.html\" rel=\"noopener nofollow\">https:\/\/www.bookmetadata.ru\/swagger-ui\/index.html<\/a><\/p>\n<figure class=\"\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/\/post_images\/dc7\/102\/a24\/dc7102a244a738e70689e7f24bd91d3c.png\" sizes=\"(max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/getpro\/habr\/\/post_images\/dc7\/102\/a24\/dc7102a244a738e70689e7f24bd91d3c.png 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/\/post_images\/dc7\/102\/a24\/dc7102a244a738e70689e7f24bd91d3c.png 781w\" loading=\"lazy\" decode=\"async\"\/><\/figure>\n<h3>\u0412 \u0447\u0435\u043c \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 LibGen \u0438 Sigla<\/h3>\n<p><strong>LibGen<\/strong>. \u041f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 LibGen \u043e\u0431\u0443\u0441\u043b\u043e\u0432\u043b\u0435\u043d\u0430 \u0442\u0435\u043c, \u0447\u0442\u043e \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0430 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043d\u0430 \u0441\u0442\u044b\u043a\u0435 \u043c\u0435\u0436\u0434\u0443\u043d\u0430\u0440\u043e\u0434\u043d\u043e\u0433\u043e \u043f\u0440\u0430\u0432\u0430, \u043f\u0440\u0438\u043d\u0446\u0438\u043f\u043e\u0432 \u0441\u0432\u043e\u0431\u043e\u0434\u044b \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438 \u0438 \u0436\u0435\u0441\u0442\u043a\u043e\u0433\u043e \u0437\u0430\u043a\u043e\u043d\u043e\u0434\u0430\u0442\u0435\u043b\u044c\u0441\u0442\u0432\u0430 \u043e\u0431 \u0430\u0432\u0442\u043e\u0440\u0441\u043a\u043e\u043c \u043f\u0440\u0430\u0432\u0435 (Copyright Law).<\/p>\n<p>\u0424\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u043e \u043f\u0440\u043e\u0435\u043a\u0442 \u043d\u0430\u0440\u0443\u0448\u0430\u0435\u0442 \u0438\u0441\u043a\u043b\u044e\u0447\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u043f\u0440\u0430\u0432\u0430 \u043f\u0440\u0430\u0432\u043e\u043e\u0431\u043b\u0430\u0434\u0430\u0442\u0435\u043b\u0435\u0439, \u043d\u043e \u0441\u043f\u0435\u0446\u0438\u0444\u0438\u043a\u0430 \u0435\u0433\u043e \u0440\u0430\u0431\u043e\u0442\u044b \u043d\u0435 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u043e\u0434\u043d\u043e\u0437\u043d\u0430\u0447\u043d\u043e \u043a\u0432\u0430\u043b\u0438\u0444\u0438\u0446\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0435\u0433\u043e \u043a\u0430\u043a \u043a\u043b\u0430\u0441\u0441\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u00ab\u0447\u0435\u0440\u043d\u044b\u0439\u00bb \u043f\u0440\u0435\u0441\u0442\u0443\u043f\u043d\u044b\u0439 \u0431\u0438\u0437\u043d\u0435\u0441.<\/p>\n<p>\u042f \u0432\u0440\u043e\u0434\u0435 \u0434\u043e\u0431\u0430\u0432\u0438\u043b \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0435 \u0434\u0430\u043d\u043d\u044b\u0445 \u0441 \u044d\u0442\u043e\u0433\u043e \u0440\u0435\u0441\u0443\u0440\u0441\u0430, \u043d\u043e \u0432\u044b\u043a\u043b\u044e\u0447\u0438\u043b. \u0415\u0441\u043b\u0438 \u0431\u0443\u0434\u0435\u0442\u0435 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0442\u044c \u0443 \u0441\u0435\u0431\u044f \u0432\u043a\u043b\u044e\u0447\u0430\u0439\u0442\u0435 \u043d\u0430 \u0441\u0432\u043e\u0439 \u0441\u0442\u0440\u0430\u0445 \u0438 \u0440\u0438\u0441\u043a.<\/p>\n<p><strong>Sigla (sigla.ru, \u043a\u0430\u0442\u0430\u043b\u043e\u0433 \u041d\u0411 \u041c\u0413\u0423).<\/strong> \u0417\u0434\u0435\u0441\u044c \u0432\u043e\u043f\u0440\u043e\u0441 \u0431\u044b\u043b \u043d\u0435 \u0432 \u0437\u0430\u043a\u043e\u043d\u043d\u043e\u0441\u0442\u0438 \u043a\u043e\u043d\u0442\u0435\u043d\u0442\u0430 (\u044d\u0442\u043e \u043a\u0430\u0442\u0430\u043b\u043e\u0436\u043d\u044b\u0435 \u043c\u0435\u0442\u0430\u0434\u0430\u043d\u043d\u044b\u0435, \u0430 \u043d\u0435 \u0444\u0430\u0439\u043b\u044b \u043a\u043d\u0438\u0433), \u0430 \u0432 \u044d\u0442\u0438\u0447\u043d\u043e\u0441\u0442\u0438 \u0441\u0430\u043c\u043e\u0433\u043e \u0441\u043f\u043e\u0441\u043e\u0431\u0430 \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u2014 \u044d\u0442\u043e HTML-\u0441\u043a\u0440\u0430\u043f\u0438\u043d\u0433 legacy JSP-\u0441\u0430\u0439\u0442\u0430, \u0440\u0430\u0441\u0441\u0447\u0438\u0442\u0430\u043d\u043d\u043e\u0433\u043e \u043d\u0430 \u0447\u0435\u043b\u043e\u0432\u0435\u043a\u0430 \u0437\u0430 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u043e\u043c, \u0430 \u043d\u0435 \u043d\u0430 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u043e\u0431\u0440\u0430\u0449\u0435\u043d\u0438\u044f. \u0422\u0443\u0442 \u044f \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0438\u043b \u043d\u0430\u0433\u0440\u0443\u0437\u043a\u0443 \u043d\u0430 \u0434\u0430\u043d\u043d\u044b\u0439 \u0440\u0435\u0441\u0443\u0440\u0441 \u0434\u043e\u0431\u0430\u0432\u0438\u0432 \u0442\u0440\u043e\u0442\u0442\u043b\u0438\u043d\u0433 \u043d\u0435 \u0431\u044b\u0441\u0442\u0440\u0435\u0435 \u043e\u0434\u043d\u043e\u0433\u043e \u0437\u0430\u043f\u0440\u043e\u0441\u0430 \u0437\u0430 2 \u0441\u0435\u043a\u0443\u043d\u0434\u044b, \u0441\u0438\u043d\u0445\u0440\u043e\u043d\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u043d\u0430 \u0443\u0440\u043e\u0432\u043d\u0435 JVM, \u0447\u0442\u043e\u0431\u044b \u043f\u0430\u0440\u0430\u043b\u043b\u0435\u043b\u044c\u043d\u044b\u0435 \u0437\u0430\u043f\u0440\u043e\u0441\u044b \u043a <em>\u043d\u0430\u0448\u0435\u043c\u0443<\/em> \u0441\u0435\u0440\u0432\u0438\u0441\u0443 \u043d\u0435 \u043f\u0440\u0435\u0432\u0440\u0430\u0449\u0430\u043b\u0438\u0441\u044c \u0432 \u0437\u0430\u043b\u043f \u043f\u043e \u0447\u0443\u0436\u043e\u043c\u0443 \u0441\u0435\u0440\u0432\u0435\u0440\u0443.  \u0418\u0441\u0442\u043e\u0447\u043d\u0438\u043a \u0442\u043e\u0436\u0435 \u0432\u044b\u043a\u043b\u044e\u0447\u0435\u043d \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e.<\/p>\n<h3>\u041a\u0430\u043a \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043a\u043e\u043d\u0432\u0435\u0439\u0435\u0440 \u043e\u0431\u043e\u0433\u0430\u0449\u0435\u043d\u0438\u044f \u043c\u0435\u0442\u0430\u0434\u0430\u043d\u043d\u044b\u0445 \u043a\u043d\u0438\u0433<\/h3>\n<h3>\u0428\u0430\u0433 1: \u0422\u0440\u0438\u0433\u0433\u0435\u0440 \u0438 \u043f\u0435\u0440\u0432\u0438\u0447\u043d\u044b\u0439 \u043f\u043e\u0438\u0441\u043a<\/h3>\n<p>\u041a\u043e\u0433\u0434\u0430 \u0432 \u0441\u0438\u0441\u0442\u0435\u043c\u0443 \u043f\u043e\u043f\u0430\u0434\u0430\u0435\u0442 \u043d\u043e\u0432\u044b\u0439 ISBN \u0438\u043b\u0438 \u041d\u0430\u0437\u0432\u0430\u043d\u0438\u0435, \u0441\u0435\u0440\u0432\u0438\u0441 \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u0442 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u044b\u0439 \u043a\u044d\u0448\/\u0411\u0414 (<code>mt_data<\/code> + <code>mt_indexes<\/code>). \u0415\u0441\u043b\u0438 \u0434\u0430\u043d\u043d\u044b\u0445 \u043d\u0435\u0442 \u0442\u043e \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u0442\u0441\u044f \u043f\u043e\u0438\u0441\u043a \u043f\u043e \u0432\u043d\u0435\u0448\u043d\u0438\u043c \u0441\u0435\u0440\u0432\u0438\u0441\u0430\u043c.<\/p>\n<pre><code class=\"java\">List&lt;MtData&gt; records = bookQueryService.findByIndexedField(..., \"ISBN\", normalized);if (records.isEmpty()) {    MtData enriched = enrichmentService.enrichByIsbn(defaultOrgId, normalized, false);    ...}<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<p>\u041f\u0443\u0431\u043b\u0438\u0447\u043d\u044b\u0439 \u043f\u043e\u0438\u0441\u043a (<code>SearchController<\/code>) \u0432\u044b\u0437\u044b\u0432\u0430\u0435\u0442 <code>enrichByIsbn(..., false)<\/code> \u0441 <code>allowLlmFallback=false<\/code>, \u0442\u043e \u0435\u0441\u0442\u044c LLM fallback \u0434\u043b\u044f \u043f\u0443\u0431\u043b\u0438\u0447\u043d\u043e\u0433\u043e API \u043e\u0442\u043a\u043b\u044e\u0447\u0451\u043d \u043f\u0440\u0438\u043d\u0443\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e, \u0434\u0430\u0436\u0435 \u0435\u0441\u043b\u0438 <code>llm.fallback.enabled=true<\/code> \u0432 \u043a\u043e\u043d\u0444\u0438\u0433\u0435.<\/p>\n<p>\u041f\u043e\u043a\u0430 \u043f\u043e \u0444\u0430\u043a\u0442\u0443 LLM \u043d\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442. \u041f\u043e\u0441\u043b\u0435 \u044d\u043a\u0441\u043f\u0435\u0440\u0438\u043c\u0435\u043d\u0442\u043e\u0432 \u043f\u043e\u043f\u0440\u0430\u0432\u043b\u044e \u0447\u0442\u043e\u0431\u044b \u043c\u043e\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u0432\u043a\u043b\u044e\u0447\u0430\u0442\u044c \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u043c, \u0435\u0441\u043b\u0438 \u0441\u0435\u0440\u0432\u0438\u0441 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u0442\u0441\u044f \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e.<\/p>\n<h3>\u0428\u0430\u0433 2: \u041f\u043e\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u0430\u044f \u0446\u0435\u043f\u043e\u0447\u043a\u0430 \u043f\u043e\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u043c\u0435\u0442\u0430\u0434\u0430\u043d\u043d\u044b\u043c\u0438<\/h3>\n<p>\u0421\u0435\u0440\u0432\u0438\u0441 \u043f\u043e \u043e\u0447\u0435\u0440\u0435\u0434\u0438 \u043f\u0440\u043e\u0431\u0443\u0435\u0442 \u043e\u043f\u0440\u0430\u0448\u0438\u0432\u0430\u0435\u0442 \u0438\u0441\u0442\u043e\u0447\u043d\u0438\u043a\u0438: Open Library \u2192 Google Books \u2192 FantLab \u2192 Sigla \u2192 LibGen \u2192 LLM fallback (\u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0435 \u0442\u0440\u0438 \u0432\u044b\u043a\u043b\u044e\u0447\u0435\u043d\u044b \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e). \u041a\u0430\u043a \u0442\u043e\u043b\u044c\u043a\u043e \u043e\u0434\u0438\u043d \u043e\u0442\u0432\u0435\u0442\u0438\u043b \u0443\u0441\u043f\u0435\u0448\u043d\u043e, \u0432\u0435\u0441\u044c \u0435\u0433\u043e \u043d\u0430\u0431\u043e\u0440 \u043f\u043e\u043b\u0435\u0439 \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u0435\u0442\u0441\u044f \u0441 \u043c\u0435\u0442\u0430-\u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0435\u0439 \u0432 JSONB-\u043f\u043e\u043b\u0435 <code>sources_meta<\/code> \u0442\u0430\u0431\u043b\u0438\u0446\u044b <code>mt_data<\/code>, \u0430 \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u044b\u0435 \u0438\u0441\u0442\u043e\u0447\u043d\u0438\u043a\u0438 \u0432 \u044d\u0442\u0443 \u0438\u0442\u0435\u0440\u0430\u0446\u0438\u044e \u0443\u0436\u0435 \u043d\u0435 \u043e\u043f\u0440\u0430\u0448\u0438\u0432\u0430\u044e\u0442\u0441\u044f:<\/p>\n<pre><code class=\"json\">{  \"2\": {\"source\": \"openlibrary\", \"updated_at\": \"2026-08-18T00:32:00Z\", \"confidence\": 0.7},  \/\/ Title  \"6\": {\"source\": \"fantlab\", \"updated_at\": \"2026-08-18T00:33:10Z\", \"confidence\": 0.65},      \/\/ Publisher  \"13\": {\"source\": \"googlebooks\", \"updated_at\": \"2026-08-18T00:31:45Z\", \"confidence\": 0.7}   \/\/ Description}<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<pre><code class=\"java\">JsonNode olBook = openLibraryClient.findByIsbn(isbn);if (olBook != null) return persist(..., \"openlibrary\", 0.7);JsonNode gbVolume = googleBooksClient.findByIsbn(isbn);if (gbVolume != null) return persist(..., \"googlebooks\", 0.7);\/\/ \u0434\u0430\u043b\u044c\u0448\u0435 fantlab (0.65) \u2192 sigla (0.6) \u2192 libgen (0.4) \u2192 llmfallback (0.3)<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<p>\u041a\u0430\u043a \u0442\u043e\u043b\u044c\u043a\u043e \u043e\u0434\u0438\u043d \u0438\u0441\u0442\u043e\u0447\u043d\u0438\u043a \u043e\u0442\u0432\u0435\u0442\u0438\u043b \u0443\u0441\u043f\u0435\u0448\u043d\u043e \u2014 \u043c\u0435\u0442\u043e\u0434 <strong>\u0441\u0440\u0430\u0437\u0443 \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442\u0441\u044f<\/strong>. \u0412\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0442\u043e\u043c \u0434\u043e\u0431\u0430\u0432\u043b\u044e \u043c\u043d\u043e\u0433\u043e\u043f\u043e\u0442\u043e\u0447\u043d\u044b\u0439 \u043e\u0431\u0445\u043e\u0434 \u043b\u043e\u0433\u0438\u043a\u0443 \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043d\u0438\u044f \u043a\u043e\u043d\u0444\u043b\u0438\u043a\u0442\u043e\u0432 \u0447\u0435\u0440\u0435\u0437 confidence. \u041f\u043e\u043a\u0430 \u043d\u0435 \u043f\u0440\u0438\u0434\u0443\u043c\u0430\u043b \u043a\u0430\u043a \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0442\u044c confidence \u0434\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u043f\u043e\u043b\u044f.<\/p>\n<p><code>recordHistoryIfChanged<\/code> \u043f\u0438\u0448\u0435\u0442 \u0441\u0442\u0430\u0440\u043e\u0435\/\u043d\u043e\u0432\u043e\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0432 <code>mt_field_history<\/code> <strong>\u0442\u043e\u043b\u044c\u043a\u043e \u0434\u043b\u044f \u0430\u0443\u0434\u0438\u0442\u0430<\/strong> \u2014 \u043e\u043d \u043d\u0435 \u0440\u0435\u0448\u0430\u0435\u0442, \u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0442\u044c \u0441\u0442\u0430\u0440\u043e\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0438\u043b\u0438 \u043d\u0435\u0442. \u041f\u043e \u0444\u0430\u043a\u0442\u0443 \u0441\u0435\u0439\u0447\u0430\u0441 \u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u043c \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u043f\u043e\u043b\u0435\u0439 \u043e\u0442 \u043f\u0435\u0440\u0432\u043e\u0433\u043e \u0438\u0441\u0442\u043e\u043d\u0438\u043a\u0430 \u043e\u0442 \u043a\u043e\u0442\u043e\u0440\u043e\u0433\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u043e\u0441\u044c \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0435. \u041d\u043e \u043c\u043e\u0436\u043d\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u043f\u043e confidence.<\/p>\n<h3>\u0428\u0430\u0433 3: \u041e\u0442\u0432\u0435\u0442 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044e<\/h3>\n<p>\u0415\u0441\u043b\u0438 \u043c\u0435\u0442\u0430\u0434\u0430\u043d\u043d\u044b\u0435 \u043d\u0430\u0448\u043b\u0438 \u0442\u043e \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442\u0441\u044f \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e \u0442\u0430\u043a\u043e\u0439 \u043e\u0442\u0432\u0435\u0442:<\/p>\n<pre><code class=\"json\">[  {    \"guid\": \"2441145b-ddb1-4111-828e-c1e06ec75594\",    \"Title\": \"\u041a\u0430\u0431\u0431\u0430\u043b\u0430 \u0438\u043b\u0438 \u043a\u0432\u0430\u043d\u0442\u043e\u0432\u0430\u044f \u0444\u0438\u0437\u0438\u043a\u0430\",    \"AuthorName\": \"&amp;#1052;&amp;#1080;&amp;#1093;&amp;#1072;&amp;#1101;&amp;#1083;&amp;#1100; &amp;#1051;&amp;#1072;&amp;#1081;&amp;#1090;&amp;#1084;&amp;#1072;&amp;#1085;\",    \"PublishedYear\": 2024  },  {    \"guid\": \"2d92aaf6-f0d3-4c0d-8579-54f540c45412\",    \"Title\": \"\u041a\u0432\u0430\u043d\u0442\u043e\u0432\u0430\u044f \u0444\u0438\u0437\u0438\u043a\u0430 \u0434\u043b\u044f \u0447\u0430\u0439\u043d\u0438\u043a\u043e\u0432\",    \"AuthorName\": \"\u042d\u043d\u0434\u0440\u044e \u0426\u0438\u043c\u043c\u0435\u0440\u043c\u0430\u043d \u0414\u0436\u043e\u043d\u0441\",    \"PublishedYear\": 2026  },  {    \"guid\": \"456d7571-4515-4252-b417-d2b3f570b295\",    \"Title\": \"\u041a\u0432\u0430\u043d\u0442\u043e\u0432\u0430\u044f \u0444\u0438\u0437\u0438\u043a\u0430. \u041f\u043e\u043d\u044f\u0442\u043d\u044b\u043c \u044f\u0437\u044b\u043a\u043e\u043c\",    \"AuthorName\": \"\u041e\u043a\u0441\u0430\u043d\u0430 \u041f\u043e\u043b\u044f\u043a\u043e\u0432\u0430\",    \"PublishedYear\": 2025  },  {    \"guid\": \"61886993-a479-46cc-9a64-573cf3200d5f\",    \"Title\": \"\u041a\u0430\u0447\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0435 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0438\u0435 \u043e\u0431\u0449\u0435\u0439 \u0444\u0438\u0437\u0438\u043a\u0435. \u0425\u0440\u043e\u043d\u043e-\u041a\u0432\u0430\u043d\u0442\u043e\u0432\u0430\u044f \u0444\u0438\u0437\u0438\u043a\u0430\",    \"AuthorName\": \"\u0414\u043c\u0438\u0442\u0440\u0438\u0439 \u0410\u0441\u043a\u043e\u043b\u044c\u0434\u043e\u0432\u0438\u0447 \u0417\u0430\u0432\u044c\u044f\u043b\u043e\u0432\",    \"PublishedYear\": 2022  },  {    \"guid\": \"647f0032-5bd5-4f26-9860-3689843577b6\",    \"Title\": \"\u041a\u0432\u0430\u043d\u0442\u043e\u0432\u0430\u044f \u0444\u0438\u0437\u0438\u043a\u0430: \u041e\u0442 \u0442\u0435\u043e\u0440\u0438\u0438 \u043a \u0442\u0435\u0445\u043d\u043e\u043b\u043e\u0433\u0438\u044f\u043c \u0431\u0443\u0434\u0443\u0449\u0435\u0433\u043e\",    \"AuthorName\": \"\u0410\u043b\u0435\u043a\u0441\u0430\u043d\u0434\u0440 \u0427\u0435\u0445\u0430\u043d\u043e\u0432\u0441\u043a\u0438\",    \"PublishedYear\": 2025  },  {    \"guid\": \"9c80f1f0-a094-4c43-99ce-1dcd66221fc2\",    \"Title\": \"\u041a\u0432\u0430\u043d\u0442\u043e\u0432\u0430\u044f \u0444\u0438\u0437\u0438\u043a\u0430. \u0417\u043d\u0430\u043d\u0438\u044f, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043d\u0435 \u0437\u0430\u0439\u043c\u0443\u0442 \u043c\u043d\u043e\u0433\u043e \u043c\u0435\u0441\u0442\u0430\",    \"AuthorName\": null,    \"PublishedYear\": 2022  }]<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<figure class=\"\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/\/post_images\/04f\/b2d\/fdf\/04fb2dfdff54fc88c4f6e5ea824251b5.png\" sizes=\"(max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/getpro\/habr\/\/post_images\/04f\/b2d\/fdf\/04fb2dfdff54fc88c4f6e5ea824251b5.png 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/\/post_images\/04f\/b2d\/fdf\/04fb2dfdff54fc88c4f6e5ea824251b5.png 781w\" loading=\"lazy\" decode=\"async\"\/><\/figure>\n<p>\u0415\u0441\u043b\u0438 \u043d\u0435\u0442 \u043f\u0440\u043e\u0441\u0442\u043e \u043f\u0443\u0441\u0442\u043e\u0439 \u0441\u043f\u0438\u0441\u043e\u043a [].<\/p>\n<h3>\u041f\u043e\u0438\u0441\u043a \u043f\u043e ISBN<\/h3>\n<pre><code>GET \/api\/v1\/search\/isbn\/{isbn}<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<p>\u0415\u0441\u043b\u0438 \u043a\u043d\u0438\u0433\u0438 \u043d\u0435\u0442 \u0432 \u0431\u0430\u0437\u0435 \u2014 \u0441\u0435\u0440\u0432\u0438\u0441 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u043f\u043e\u0434\u0442\u044f\u043d\u0435\u0442 \u0434\u0430\u043d\u043d\u044b\u0435 \u0438\u0437 Open Library, Google Books, FantLab \u0438 \u0434\u0440\u0443\u0433\u0438\u0445 \u0438\u0441\u0442\u043e\u0447\u043d\u0438\u043a\u043e\u0432 \u0438 \u0441\u043e\u0445\u0440\u0430\u043d\u0438\u0442 \u043d\u0430 \u0431\u0443\u0434\u0443\u0449\u0435\u0435. \u041f\u0435\u0440\u0432\u044b\u0439 \u0437\u0430\u043f\u0440\u043e\u0441 \u043f\u043e \u043d\u043e\u0432\u043e\u043c\u0443 ISBN \u043c\u043e\u0436\u0435\u0442 \u0437\u0430\u043d\u044f\u0442\u044c \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434, \u043f\u043e\u0432\u0442\u043e\u0440\u043d\u044b\u0439 \u2014 \u043c\u0433\u043d\u043e\u0432\u0435\u043d\u043d\u044b\u0439.<\/p>\n<pre><code>curl \"https:\/\/\u0432\u0430\u0448-\u0434\u043e\u043c\u0435\u043d\/api\/v1\/search\/isbn\/9785389143852\"[  {    \"guid\": \"c1eac6ea-ecac-4206-9121-d030cfbc9ff2\",    \"Title\": \"\u0414\u043e\u0440\u043e\u0433\u0430\",    \"AuthorName\": \"\u041a\u043e\u0440\u043c\u0430\u043a \u041c\u0430\u043a\u043a\u0430\u0440\u0442\u0438\",    \"Publisher\": \"\u0410\u0437\u0431\u0443\u043a\u0430\",    \"PublishedYear\": 2018,    \"ISBN\": \"9785389143852\",    \"CoverUrl\": \"https:\/\/covers.openlibrary.org\/b\/id\/12196387-L.jpg\"  }]<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<p>\u0415\u0441\u043b\u0438 \u043a\u043d\u0438\u0433\u0443 \u043d\u0435 \u0443\u0434\u0430\u043b\u043e\u0441\u044c \u043d\u0430\u0439\u0442\u0438 \u043d\u0438\u0433\u0434\u0435 \u2014 \u0432\u0435\u0440\u043d\u0451\u0442\u0441\u044f \u043f\u0443\u0441\u0442\u043e\u0439 \u043c\u0430\u0441\u0441\u0438\u0432 <code>[]<\/code>, \u0430 \u043d\u0435 \u043e\u0448\u0438\u0431\u043a\u0430.<\/p>\n<hr\/>\n<h3>\u041f\u043e\u0438\u0441\u043a \u043f\u043e \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u044e<\/h3>\n<pre><code>GET \/api\/v1\/search\/title?q=...<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<p>\u0412\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442 \u043c\u0430\u0441\u0441\u0438\u0432 \u2014 \u043f\u043e \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u044e \u043c\u043e\u0436\u0435\u0442 \u043d\u0430\u0439\u0442\u0438\u0441\u044c \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0438\u0437\u0434\u0430\u043d\u0438\u0439 \u043e\u0434\u043d\u043e\u0439 \u043a\u043d\u0438\u0433\u0438 \u0438\u043b\u0438 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0440\u0430\u0437\u043d\u044b\u0445 \u043a\u043d\u0438\u0433 \u0441\u043e \u0441\u0445\u043e\u0434\u043d\u044b\u043c \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435\u043c. \u0412\u044b\u0431\u043e\u0440 \u043d\u0443\u0436\u043d\u043e\u0433\u043e \u0438\u0437\u0434\u0430\u043d\u0438\u044f \u2014 \u043d\u0430 \u0441\u0442\u043e\u0440\u043e\u043d\u0435 \u0432\u0430\u0448\u0435\u0433\u043e \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f.<\/p>\n<pre><code>curl \"https:\/\/\u0432\u0430\u0448-\u0434\u043e\u043c\u0435\u043d\/api\/v1\/search\/title?q=\u041c\u0430\u0441\u0442\u0435\u0440+\u0438+\u041c\u0430\u0440\u0433\u0430\u0440\u0438\u0442\u0430\"<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<hr\/>\n<h3>\u0423\u043d\u0438\u0432\u0435\u0440\u0441\u0430\u043b\u044c\u043d\u044b\u0439 \u043f\u043e\u0438\u0441\u043a<\/h3>\n<pre><code>GET \/api\/v1\/search?q=...<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<p>\u0421\u0430\u043c \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u0442 \u043f\u043e \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u044c\u043d\u043e\u0439 \u0441\u0443\u043c\u043c\u0435, \u043f\u043e\u0445\u043e\u0436 \u043b\u0438 \u0437\u0430\u043f\u0440\u043e\u0441 \u043d\u0430 ISBN, \u0438 \u0432\u044b\u0437\u044b\u0432\u0430\u0435\u0442 \u043d\u0443\u0436\u043d\u044b\u0439 \u043c\u0435\u0442\u043e\u0434. \u0423\u0434\u043e\u0431\u0435\u043d, \u0435\u0441\u043b\u0438 \u0432 \u0432\u0430\u0448\u0435\u043c \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0438 \u043e\u0434\u043d\u043e \u043f\u043e\u043b\u0435 \u0432\u0432\u043e\u0434\u0430 \u043d\u0430 \u0432\u0441\u0451.<\/p>\n<pre><code>curl \"https:\/\/\u0432\u0430\u0448-\u0434\u043e\u043c\u0435\u043d\/api\/v1\/search?q=9785171234567\"curl \"https:\/\/\u0432\u0430\u0448-\u0434\u043e\u043c\u0435\u043d\/api\/v1\/search?q=\u041c\u0430\u0441\u0442\u0435\u0440+\u0438+\u041c\u0430\u0440\u0433\u0430\u0440\u0438\u0442\u0430\"<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<hr\/>\n<h3>\u0412\u044b\u0431\u043e\u0440 \u043f\u043e\u043b\u0435\u0439 \u2014 ?fields=<\/h3>\n<p>\u041f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442\u0441\u044f \u043f\u043e\u043b\u043d\u044b\u0439 \u043d\u0430\u0431\u043e\u0440 \u043f\u0443\u0431\u043b\u0438\u0447\u043d\u044b\u0445 \u043f\u043e\u043b\u0435\u0439. \u041c\u043e\u0436\u043d\u043e \u0437\u0430\u043f\u0440\u043e\u0441\u0438\u0442\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u043d\u0443\u0436\u043d\u044b\u0435 \u2014 \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0434\u043b\u044f \u0430\u0432\u0442\u043e\u043a\u043e\u043c\u043f\u043b\u0438\u0442\u0430 \u0432 UI \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u044f \u0438 \u0430\u0432\u0442\u043e\u0440\u0430:<\/p>\n<pre><code>curl \"https:\/\/\u0432\u0430\u0448-\u0434\u043e\u043c\u0435\u043d\/api\/v1\/search\/title?q=\u0434\u043e\u0440\u043e\u0433\u0430&amp;fields=Title,AuthorName\"<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<p>\u0414\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0435 \u043f\u043e\u043b\u044f: <code>Title, Subtitle, AuthorName, Publisher, PublishedYear, ISBN, ISBN13, CoverUrl, Genre, Description, Pages, Language, Series, SeriesNumber, Rating, Format, AgeRestriction<\/code>. \u041d\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u043d\u044b\u0435 \u0438\u043c\u0435\u043d\u0430 \u0432 <code>fields<\/code> \u043f\u0440\u043e\u0441\u0442\u043e \u0438\u0433\u043d\u043e\u0440\u0438\u0440\u0443\u044e\u0442\u0441\u044f \u2014 \u043e\u043f\u0435\u0447\u0430\u0442\u043a\u0430 \u043d\u0435 \u043f\u0440\u0438\u0432\u0435\u0434\u0451\u0442 \u043a \u043e\u0448\u0438\u0431\u043a\u0435, \u0432\u0435\u0440\u043d\u0451\u0442\u0441\u044f \u043d\u0430\u0431\u043e\u0440 \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e.<\/p>\n<h3>\u041f\u043b\u0430\u0433\u0438\u043d \u0434\u043b\u044f obsidian<\/h3>\n<p>\u042f \u043e\u0431\u043d\u043e\u0432\u0438\u043b \u043f\u043b\u0430\u0433\u0438\u043d \u0434\u043b\u044f \u043e\u0431\u0441\u0438\u0434\u0438\u0430\u043d \u0438 \u0442\u0435\u043f\u0435\u0440\u044c \u043c\u043e\u0436\u043d\u043e \u0432\u044b\u0431\u0440\u0430\u0442\u044c  <a href=\"https:\/\/www.bookmetadata.ru\" rel=\"noopener nofollow\">https:\/\/www.bookmetadata.ru<\/a><\/p>\n<figure class=\"\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/\/post_images\/35f\/712\/818\/35f712818f8575d2f4abc564d1f73444.png\" sizes=\"(max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/getpro\/habr\/\/post_images\/35f\/712\/818\/35f712818f8575d2f4abc564d1f73444.png 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/\/post_images\/35f\/712\/818\/35f712818f8575d2f4abc564d1f73444.png 781w\" loading=\"lazy\" decode=\"async\"\/><\/figure>\n<figure class=\"\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/\/post_images\/676\/9b9\/0f8\/6769b90f8196bb3f2cd2d0b2d62794ca.png\" sizes=\"(max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/getpro\/habr\/\/post_images\/676\/9b9\/0f8\/6769b90f8196bb3f2cd2d0b2d62794ca.png 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/\/post_images\/676\/9b9\/0f8\/6769b90f8196bb3f2cd2d0b2d62794ca.png 781w\" loading=\"lazy\" decode=\"async\"\/><\/figure>\n<p>\u0412 Calibre \u043d\u0435 \u0444\u043e\u0440\u043a\u0430\u043b \u043f\u043b\u0430\u0433\u0438\u043d \u0438 \u043d\u0435 \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u043b. \u041d\u043e \u0435\u0441\u043b\u0438 \u0431\u0443\u0434\u0443\u0442 \u043f\u0440\u043e\u0441\u044c\u0431\u044b \u0434\u043e\u0431\u0430\u0432\u043b\u044e. \u041a\u043e\u0434 \u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u043b \u0432 Perplexity \u0447\u0435\u0440\u0435\u0437 Cloude Sonet.<\/p>\n<p>\u041f\u043b\u0430\u0433\u0438\u043d: <a href=\"https:\/\/github.com\/malexple\/obsidian-book-search-plugin\" rel=\"noopener nofollow\">https:\/\/github.com\/malexple\/obsidian-book-search-plugin<\/a><\/p>\n<p>\u0421\u0430\u0439\u0442: <a href=\"https:\/\/www.bookmetadata.ru\" rel=\"noopener nofollow\">https:\/\/www.bookmetadata.ru<\/a><\/p>\n<p>\u041f\u0440\u043e\u0435\u043a\u0442: <a href=\"https:\/\/github.com\/malexple\/book-metadata-service\" rel=\"noopener nofollow\">https:\/\/github.com\/malexple\/book-metadata-service<\/a><\/p>\n<\/div>\n<p>\u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/articles\/1079014\/\">https:\/\/habr.com\/ru\/articles\/1079014\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u041f\u0440\u0435\u0434\u044b\u0441\u0442\u043e\u0440\u0438\u044f\u041d\u0435\u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u0432\u0440\u0435\u043c\u044f \u043d\u0430\u0437\u0430\u0434 \u044f \u0443\u0436\u0435 \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u043b \u0444\u043e\u0440\u043a \u043f\u043b\u0430\u0433\u0438\u043d\u0430 \u0434\u043b\u044f obsidian \u0438 \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u043b \u0434\u043e\u0440\u0430\u0431\u043e\u0442\u043a\u0443 \u0434\u043b\u044f \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u043c\u0435\u0442\u0430\u0434\u0430\u043d\u043d\u044b\u0445 \u0441 \u043b\u0438\u0442\u0440\u0435\u0441 https:\/\/github.com\/malexple\/obsidian-book-search-plugin. \u0414\u0435\u043b\u0430\u043b \u044f \u044d\u0442\u043e \u0434\u043b\u044f \u0437\u043d\u0430\u043a\u043e\u043c\u043e\u0433\u043e, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0432 \u0442\u0435\u0447\u0435\u043d\u0438\u0438 \u043f\u043e\u043b\u0443\u0433\u043e\u0434\u0430 \u0433\u043e\u0432\u043e\u0440\u0438\u043b \u0447\u0442\u043e \u0443 \u043d\u0435\u0433\u043e \u043d\u0435 \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u0442\u0441\u044f \u043f\u0435\u0440\u0435\u0434\u0435\u043b\u0430\u0442\u044c \u043f\u043b\u0430\u0433\u0438\u043d \u0432 chatGPT. \u042f \u043f\u043e\u0434\u043e\u0448\u0435\u043b \u043a \u044d\u0442\u043e\u0439 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0435 \u0441 \u0434\u0440\u0443\u0433\u043e\u0439 \u0441\u0442\u043e\u0440\u043e\u043d\u044b \u0438 \u043f\u0440\u0438\u043a\u0440\u0443\u0442\u0438\u043b \u0442\u043e\u0433\u0434\u0430 \u041b\u0438\u0442\u0440\u0435\u0441. \u0425\u043e\u0442\u044f \u0435\u0433\u043e \u0438\u0434\u0435\u044f \u0431\u044b\u043b\u0430 \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u0434\u0440\u0443\u0433\u043e\u0439. \u041d\u043e \u0443\u0436\u0435 \u0442\u043e\u0433\u0434\u0430 \u044f \u043e\u0447\u0435\u043d\u044c \u0443\u0434\u0438\u0432\u0438\u043b\u0441\u044f \u0447\u0442\u043e \u0432 \u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0441\u0442\u0432\u0435 \u0421\u041d\u0413 \u043d\u0435\u0442 \u043a\u0430\u043a\u043e\u0433\u043e-\u0442\u043e \u0431\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u043e\u0433\u043e \u0441\u0435\u0440\u0432\u0438\u0441\u0430 \u0434\u043b\u044f \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u043c\u0435\u0442\u0430\u0434\u0430\u043d\u043d\u044b\u0445 \u043a\u043d\u0438\u0433. \u042f \u0441 \u044d\u0442\u0438\u043c \u0441\u0442\u0430\u043b\u043a\u0438\u0432\u0430\u043b\u0441\u044f, \u043a\u043e\u0433\u0434\u0430 \u043f\u044b\u0442\u0430\u043b\u0441\u044f \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0441\u0432\u043e\u044e \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u0443\u044e \u0445\u043e\u0442\u044c \u0438 \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u0443\u044e \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0443 \u0447\u0435\u0440\u0435\u0437 Calibre. \u041c\u043d\u0435 \u0435\u0441\u043b\u0438 \u0447\u0435\u0441\u0442\u043d\u043e \u043d\u0435 \u043e\u0447\u0435\u043d\u044c \u043d\u0440\u0430\u0432\u0438\u0442\u0441\u044f Calibre, \u0430 \u0438\u043c\u0435\u043d\u043d\u043e \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 \u043c\u043e\u043c\u0435\u043d\u0442\u044b:\u0411\u043e\u043b\u044c\u0448\u0438\u0435 \u043a\u043d\u043e\u043f\u043a\u0438 \u0438 \u043d\u0435 \u0443\u0434\u043e\u0431\u043d\u044b\u0439 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u041f\u0440\u0438 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0438 \u0431\u0434 \u043e\u043d \u043a\u043e\u043f\u0438\u0440\u0443\u0435\u0442 \u0444\u0430\u0439\u043b\u044b \u0438 \u043f\u0435\u0440\u0435\u0438\u043c\u0435\u043d\u043e\u0432\u044b\u0432\u0430\u0435\u0442 \u0444\u0430\u0439\u043b\u044b \u0432 \u043d\u0435\u043f\u043e\u043d\u044f\u0442\u043d\u044b\u0435 \u043d\u043e\u043c\u0435\u0440\u0430. \u042d\u0442\u043e \u043b\u0438\u0448\u043d\u0435\u0435 \u043c\u0435\u0441\u0442\u043e. \u0410 \u043c\u043d\u0435 \u0443\u0434\u043e\u0431\u043d\u0435\u0435 \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043f\u043e \u0447\u0435\u043b\u043e\u0432\u0435\u0447\u0435\u0441\u043a\u0438\u043c \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u044f\u043c \u043f\u0430\u043f\u043e\u043a \u041c\u0430\u0442\u0435\u043c\u0430\u0442\u0438\u043a\u0430, \u0424\u0438\u0437\u0438\u043a\u0430, \u0425\u0438\u043c\u0438\u044f \u0438 \u0442.\u0434. \u0422\u043e \u0435\u0441\u0442\u044c \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0430 \u043f\u0430\u043f\u043e\u043a \u0431\u043b\u0438\u0437\u043a\u0430\u044f \u043a \u043a\u043b\u0430\u0441\u0441\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440\u0430\u043c \u0411\u0411\u041a \u0438 \u0423\u0414\u041a, \u0435\u0441\u043b\u0438 \u0440\u0430\u0441\u0448\u0438\u0444\u0440\u043e\u0432\u0430\u0442\u044c \u043d\u043e\u043c\u0435\u0440\u0430.\u041c\u0435\u0442\u0430\u0434\u0430\u043d\u043d\u044b\u0435 \u043d\u0443\u0436\u043d\u043e \u0432\u0432\u043e\u0434\u0438\u0442\u044c \u0432\u0440\u0443\u0447\u043d\u0443\u044e. \u0415\u0441\u0442\u044c \u043f\u043b\u0430\u0433\u0438\u043d\u044b, \u043d\u043e \u043d\u0435 \u0432\u0441\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0434\u0442\u044f\u043d\u0443\u0442\u044c \u0441 \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442\u0430 \u0438\u043b\u0438 \u043e\u043d\u0438 \u0432 \u0440\u0430\u0437\u043d\u044b\u0445 \u043c\u0435\u0441\u0442\u0430\u0445\u0412 c\u0432\u043e\u0451 \u0432\u0440\u0435\u043c\u044f \u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0441\u044f \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u043e\u0439 BookSeer. \u0410\u0432\u0442\u043e\u0440: \u041c\u0430\u0440\u043a \u0421\u043e\u043b\u0442\u0430\u043d\u043e\u0432\u0438\u0447 (Mark Soltanovich). \u0421\u0435\u0439\u0447\u0430\u0441 \u0441\u0430\u0439\u0442\u0430 \u0430\u0432\u0442\u043e\u0440\u0430 \u043d\u0435\u0442, \u043d\u043e \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442 \u043f\u043e\u043c\u043d\u0438\u0442 \u0432\u0441\u0435: https:\/\/web.archive.org\/web\/20090417003848\/http:\/\/solsoft.narod.ru\/ https:\/\/web.archive.org\/web\/20090327121058\/http:\/\/www.msolt.nm.ru\/News32.html\u041f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430 \u0441\u0443\u043f\u0435\u0440 \u043f\u0440\u043e\u0441\u0442\u0430\u044f. \u0421\u0443\u043f\u0435\u0440 \u043c\u0430\u043b\u0435\u043d\u044c\u043a\u0430\u044f \u0438 \u0441\u0430\u043c\u043e\u0435 \u0433\u043b\u0430\u0432\u043d\u043e\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0438 \u043f\u043e \u0441\u0435\u0439 \u0434\u0435\u043d\u044c. \u041e\u0442\u0434\u0435\u043b\u044c\u043d\u043e\u0433\u043e \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u044f \u0441\u0442\u043e\u0438\u0442 \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0444\u0430\u0439\u043b\u043e\u0432 \u0438 \u0441\u043a\u0430\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0422\u0430\u043c \u0431\u044b\u043b\u043e \u0443\u0434\u043e\u0431\u043d\u043e \u0441\u043a\u0430\u043d\u0438\u0440\u043e\u0432\u0430\u0442\u044c, \u043d\u043e \u0432\u0441\u0435 \u0440\u0430\u0432\u043d\u043e \u043d\u0435\u0442 \u0442\u043e\u0433\u043e \u0447\u0435\u0433\u043e \u0445\u043e\u0442\u0435\u043b\u043e\u0441\u044c.\u041c\u043d\u0435 \u043d\u0435 \u0445\u0432\u0430\u0442\u0430\u0435\u0442 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u043f\u0430\u043f\u043e\u043a \u043f\u043e \u0411\u0411\u041a \u0438\u043b\u0438 \u0423\u0414\u041a \u0438 \u043d\u0430 \u0434\u0438\u0441\u043a\u0435 \u0438\u043c\u0435\u0442\u044c \u043e\u0441\u043c\u044b\u0441\u043b\u0435\u043d\u043d\u044b\u0435 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u044f \u043f\u0430\u043f\u043e\u043a \u0434\u043b\u044f \u0442\u0435\u0445\u043d\u0438\u0447\u0435\u0441\u043a\u043e\u0439 \u043b\u0438\u0442\u0435\u0440\u0430\u0442\u0443\u0440\u044b. \u0423 \u043c\u0435\u043d\u044f \u0431\u044b\u043b\u0430 \u043f\u043e\u043f\u044b\u0442\u043a\u0430 \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u0442\u0430\u043a\u0443\u044e \u0431\u0430\u0437\u0443 \u0434\u0430\u043d\u043d\u044b\u0445 \u043d\u043e\u043c\u0435\u0440\u043e\u0432 \u0438 \u044f \u043f\u0438\u0441\u0430\u043b \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0443 \u0434\u043b\u044f \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u0423\u0414\u041a \u043d\u043e\u043c\u0435\u0440\u043e\u0432 https:\/\/github.com\/malexple\/udk-site-parser. \u041e\u043f\u0438\u0441\u0430\u043d\u043e  \u0432 \u0441\u0442\u0430\u0442\u044c\u0435: \u041f\u0430\u0440\u0441\u0438\u043c \u0441\u0430\u0439\u0442 \u0434\u043b\u044f \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u0423\u0414\u041a \u0438\u0435\u0440\u0430\u0440\u0445\u0438\u0438 \u041d\u043e \u0441\u0430\u043c\u0443 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0443 \u044f \u043d\u0435 \u043f\u0438\u0441\u0430\u043b. \u0422\u043e \u0435\u0441\u0442\u044c \u0441\u043a\u0430\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435, \u043f\u043e\u0438\u0441\u043a \u0438 \u0440\u0430\u0441\u043f\u043e\u0437\u043d\u0430\u0432\u0430\u043d\u0438\u0435 \u0438 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u043f\u0430\u043f\u043e\u043a \u044d\u0442\u043e \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u0430\u044f \u0431\u043e\u043b\u044c\u0448\u0430\u044f \u0437\u0430\u0434\u0430\u0447\u0430. \u0418\u0434\u0435\u0439 \u043a\u0430\u043a \u044d\u0442\u043e \u0432\u0441\u0435 \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u043c\u043d\u043e\u0433\u043e. \u0415\u0441\u043b\u0438 \u0431\u0443\u0434\u0435\u0442 \u0432\u0440\u0435\u043c\u044f \u044f \u0441\u043e\u0437\u0434\u0430\u043c \u0442\u0430\u043a\u0443\u044e \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0443.https:\/\/www.youtube.com\/watch?v=3kN6n9Rjldg&amp;t=715s\u042f \u043f\u043e\u043d\u044f\u043b \u0447\u0442\u043e \u0441 \u043c\u0435\u0442\u0430\u0434\u0430\u043d\u043d\u044b\u043c\u0438 \u043d\u0443\u0436\u043d\u043e \u0447\u0442\u043e-\u0442\u043e \u0434\u0435\u043b\u0430\u0442\u044c. \u041d\u0443\u0436\u0435\u043d \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e \u043e\u0442\u043a\u0440\u044b\u0442\u044b\u0439 \u043f\u0440\u043e\u0435\u043a\u0442 \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0441\u0430\u043c \u043f\u043e\u043f\u043e\u043b\u043d\u044f\u0435\u0442\u0441\u044f \u043c\u0435\u0442\u0430\u0434\u0430\u043d\u043d\u044b\u043c\u0438 \u043a\u043d\u0438\u0433, \u043f\u0440\u0438 \u044d\u0442\u043e\u043c \u043d\u0435 \u0445\u0440\u0430\u043d\u0438\u0442 \u043d\u0438 \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0438 \u043d\u0438 \u0444\u0430\u0439\u043b\u044b. \u0422\u043e\u043b\u044c\u043a\u043e \u043c\u0435\u0442\u0430\u0434\u0430\u043d\u043d\u044b\u0435. \u0410 API \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442 \u0442\u043e\u043b\u044c\u043a\u043e \u0442\u043e \u0447\u0442\u043e \u043d\u0443\u0436\u043d\u043e. \u041d\u043e \u0442\u0443\u0442 \u0441\u0442\u0430\u044e\u0442 \u0432\u043e\u043f\u0440\u043e\u0441\u044b: \u042f \u0434\u043e\u0431\u0430\u0432\u043b\u044e \u043c\u0435\u0442\u0430\u0434\u0430\u043d\u043d\u044b\u0435 \u043a\u043d\u0438\u0433, \u0430 \u043f\u043e\u0442\u043e\u043c \u0437\u0430\u0445\u043e\u0447\u0435\u0442\u0441\u044f \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u043d\u043e\u0432\u043e\u0435 \u043f\u043e\u043b\u0435 \u0432 \u0431\u0434, \u0430 \u043f\u043e\u0442\u043e\u043c \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u043c\u0435\u0442\u0430\u0434\u0430\u043d\u043d\u044b\u0435 \u0436\u0443\u0440\u043d\u0430\u043b\u043e\u0432 \u0438\u043b\u0438 \u043a\u043e\u043c\u0438\u043a\u0441\u043e\u0432. \u041a\u0430\u0436\u0434\u044b\u0439 \u0440\u0430\u0437 \u043c\u0435\u043d\u044f\u0442\u044c \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0443 \u0442\u0430\u0431\u043b\u0438\u0446 \u043d\u0435 \u0445\u043e\u0447\u0435\u0442\u0441\u044f. \u042f \u0432\u0441\u043f\u043e\u043c\u043d\u0438\u043b \u043f\u0440\u043e \u043e\u0434\u043d\u0443 \u043d\u0435 \u043e\u0447\u0435\u043d\u044c \u043f\u043e\u043f\u0443\u043b\u044f\u0440\u043d\u0443\u044e \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u0443 \u0431\u0434, \u043d\u043e \u043e\u043d\u0430 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0438 \u0438\u0437\u0431\u0430\u0432\u043b\u044f\u0435\u0442 \u043e\u0442 \u044d\u0442\u043e\u0439 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b.Pivot architecture database\u0413\u0434\u0435 \u043f\u0440\u0438\u043c\u0435\u043d\u044f\u0435\u0442\u0441\u044f \u0434\u0430\u043d\u043d\u0430\u044f \u043c\u043e\u0434\u0435\u043b\u044c \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u0442\u0430\u0431\u043b\u0438\u0446. \u0412 \u043e\u0431\u043b\u0430\u0447\u043d\u044b\u0445 \u0441\u0435\u0440\u0432\u0438\u0441\u0430\u0445 \u0434\u043b\u044f \u043f\u043e\u0441\u0442\u0440\u043e\u0435\u043d\u0438\u044f \u043c\u043d\u043e\u0433\u043e\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u0441\u043a\u0438\u0445 \u0438\u043b\u0438 \u043c\u0443\u043b\u044c\u0442\u0438\u0430\u0440\u0435\u043d\u0434\u043d\u044b\u0445 \u0441\u0438\u0441\u0442\u0435\u043c.\u0421\u0443\u0442\u044c \u043c\u043e\u0434\u0435\u043b\u0438Pivot (EAV &#8212; Entity-Attribute-Value) \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u0430 \u2014 \u044d\u0442\u043e \u043f\u043e\u0434\u0445\u043e\u0434 \u043a \u0445\u0440\u0430\u043d\u0435\u043d\u0438\u044e \u0434\u0430\u043d\u043d\u044b\u0445, \u043f\u0440\u0438 \u043a\u043e\u0442\u043e\u0440\u043e\u043c:\u041c\u0435\u0442\u0430\u0434\u0430\u043d\u043d\u044b\u0435 \u043e\u0442\u0434\u0435\u043b\u0435\u043d\u044b \u043e\u0442 \u0434\u0430\u043d\u043d\u044b\u0445: \u0421\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0430 \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432 (\u0442\u0430\u0431\u043b\u0438\u0446) \u0438 \u043f\u043e\u043b\u0435\u0439 (\u043a\u043e\u043b\u043e\u043d\u043e\u043a) \u043e\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u0432 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0445 \u0442\u0430\u0431\u043b\u0438\u0446\u0430\u0445 \u043c\u0435\u0442\u0430\u0434\u0430\u043d\u043d\u044b\u0445 (mt_objects, mt_fields), \u0430 \u043d\u0435 \u0432 DDL \u0431\u0430\u0437\u044b \u0434\u0430\u043d\u043d\u044b\u0445.\u0414\u0430\u043d\u043d\u044b\u0435 \u0445\u0440\u0430\u043d\u044f\u0442\u0441\u044f \u0432 \u0443\u043d\u0438\u0432\u0435\u0440\u0441\u0430\u043b\u044c\u043d\u044b\u0445 \u043a\u043e\u043b\u043e\u043d\u043a\u0430\u0445: \u0412\u043c\u0435\u0441\u0442\u043e \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0445 \u043a\u043e\u043b\u043e\u043d\u043e\u043a \u0434\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u0430\u0442\u0440\u0438\u0431\u0443\u0442\u0430, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u043d\u0430\u0431\u043e\u0440 \u0443\u043d\u0438\u0432\u0435\u0440\u0441\u0430\u043b\u044c\u043d\u044b\u0445 \u043a\u043e\u043b\u043e\u043d\u043e\u043a (value0\u2026value49), \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043c\u043e\u0433\u0443\u0442 \u0445\u0440\u0430\u043d\u0438\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0435 \u043b\u044e\u0431\u043e\u0433\u043e \u0442\u0438\u043f\u0430.Pivot \u0442\u0430\u0431\u043b\u0438\u0446\u044b \u0434\u043b\u044f \u043e\u043f\u0442\u0438\u043c\u0438\u0437\u0430\u0446\u0438\u0438: \u0414\u043b\u044f \u043e\u0431\u0435\u0441\u043f\u0435\u0447\u0435\u043d\u0438\u044f \u0431\u044b\u0441\u0442\u0440\u043e\u0439 \u0432\u044b\u0431\u043e\u0440\u043a\u0438 \u0434\u0430\u043d\u043d\u044b\u0445 \u0441\u043e\u0437\u0434\u0430\u044e\u0442\u0441\u044f \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0435 pivot-\u0442\u0430\u0431\u043b\u0438\u0446\u044b (mt_indexes), \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0442 \u0442\u0438\u043f\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0435 \u0438\u043d\u0434\u0435\u043a\u0441\u044b \u0434\u043b\u044f \u043f\u043e\u043b\u0435\u0439, \u043f\u043e\u043c\u0435\u0447\u0435\u043d\u043d\u044b\u0445 \u043a\u0430\u043a is_indexed.\u041a\u043b\u044e\u0447\u0435\u0432\u044b\u0435 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u044b\u041a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442Force.com\u0412\u0430\u0448 \u043f\u0440\u043e\u0435\u043a\u0442\u041d\u0430\u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435Objects TableObjectsmt_objects\u0425\u0440\u0430\u043d\u0438\u0442 \u043c\u0435\u0442\u0430\u0434\u0430\u043d\u043d\u044b\u0435 \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432 (Book, Author)Fields TableFieldsmt_fields\u041e\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u0442 \u043f\u043e\u043b\u044f \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432 \u0438 \u0438\u0445 \u043c\u0430\u043f\u043f\u0438\u043d\u0433 \u043d\u0430 value0-49Data TableDatamt_data\u041e\u0441\u043d\u043e\u0432\u043d\u043e\u0435 \u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0449\u0435 \u0434\u0430\u043d\u043d\u044b\u0445 \u0441 flex columnsIndexes PivotIndexesmt_indexes\u0422\u0438\u043f\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0435 \u0438\u043d\u0434\u0435\u043a\u0441\u044b \u0434\u043b\u044f \u0431\u044b\u0441\u0442\u0440\u043e\u0433\u043e \u043f\u043e\u0438\u0441\u043a\u0430History TableAudit trailmt_field_history\u0418\u0441\u0442\u043e\u0440\u0438\u044f \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0439 \u043f\u043e\u043b\u0435\u0439\u041f\u0440\u0435\u0438\u043c\u0443\u0449\u0435\u0441\u0442\u0432\u0430 \u043c\u043e\u0434\u0435\u043b\u0438\u0413\u0438\u0431\u043a\u043e\u0441\u0442\u044c \u0438 \u043c\u0430\u0441\u0448\u0442\u0430\u0431\u0438\u0440\u0443\u0435\u043c\u043e\u0441\u0442\u044c\u0411\u0435\u0437 ALTER TABLE: \u0414\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u043d\u043e\u0432\u044b\u0445 \u043f\u043e\u043b\u0435\u0439 \u2014 \u044d\u0442\u043e \u043f\u0440\u043e\u0441\u0442\u043e INSERT \u0432 mt_fields, \u0430 \u043d\u0435 \u0434\u043e\u0440\u043e\u0433\u043e\u0441\u0442\u043e\u044f\u0449\u0430\u044f \u043c\u0438\u0433\u0440\u0430\u0446\u0438\u044f \u0441\u0445\u0435\u043c\u044b \u0411\u0414Zero downtime: \u0418\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u043c\u0435\u0442\u0430\u0434\u0430\u043d\u043d\u044b\u0445 \u043d\u0435 \u0431\u043b\u043e\u043a\u0438\u0440\u0443\u044e\u0442 \u0440\u0430\u0431\u043e\u0442\u0443 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f\u0414\u0438\u043d\u0430\u043c\u0438\u0447\u0435\u0441\u043a\u0430\u044f \u0441\u0445\u0435\u043c\u0430: \u0420\u0430\u0437\u043d\u044b\u0435 \u043e\u0431\u044a\u0435\u043a\u0442\u044b \u043c\u043e\u0433\u0443\u0442 \u0438\u043c\u0435\u0442\u044c \u0441\u043e\u0432\u0435\u0440\u0448\u0435\u043d\u043d\u043e \u0440\u0430\u0437\u043d\u044b\u0435 \u043d\u0430\u0431\u043e\u0440\u044b \u043f\u043e\u043b\u0435\u0439\u041c\u043d\u043e\u0433\u043e\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c (Multitenancy)\u0418\u0437\u043e\u043b\u044f\u0446\u0438\u044f \u0442\u0435\u043d\u0430\u043d\u0442\u043e\u0432: \u0412\u0441\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 \u0440\u0430\u0437\u0434\u0435\u043b\u0435\u043d\u044b \u043f\u043e org_id\u042d\u043a\u043e\u043d\u043e\u043c\u0438\u044f \u0440\u0435\u0441\u0443\u0440\u0441\u043e\u0432: \u041e\u0434\u0438\u043d \u044d\u043a\u0437\u0435\u043c\u043f\u043b\u044f\u0440 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u043e\u0431\u0441\u043b\u0443\u0436\u0438\u0432\u0430\u0435\u0442 \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u043e \u043e\u0440\u0433\u0430\u043d\u0438\u0437\u0430\u0446\u0438\u0439\u041a\u0430\u0441\u0442\u043e\u043c\u0438\u0437\u0430\u0446\u0438\u044f: \u041a\u0430\u0436\u0434\u0430\u044f \u043e\u0440\u0433\u0430\u043d\u0438\u0437\u0430\u0446\u0438\u044f \u043c\u043e\u0436\u0435\u0442 \u0438\u043c\u0435\u0442\u044c \u0441\u0432\u043e\u044e \u0443\u043d\u0438\u043a\u0430\u043b\u044c\u043d\u0443\u044e \u0441\u0445\u0435\u043c\u0443 \u0434\u0430\u043d\u043d\u044b\u0445\u041f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c\u0422\u0438\u043f\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0435 \u0438\u043d\u0434\u0435\u043a\u0441\u044b: mt_indexes \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0431\u044b\u0441\u0442\u0440\u043e \u0438\u0441\u043a\u0430\u0442\u044c \u043f\u043e \u0438\u043d\u0434\u0435\u043a\u0441\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u043c \u043f\u043e\u043b\u044f\u043c \u0431\u0435\u0437 \u0441\u043a\u0430\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0432\u0441\u0435\u0445 50 value-\u043a\u043e\u043b\u043e\u043d\u043e\u043a\u041f\u0430\u0440\u0442\u0438\u0446\u0438\u043e\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435: \u0414\u0430\u043d\u043d\u044b\u0435 \u0444\u0438\u0437\u0438\u0447\u0435\u0441\u043a\u0438 \u0440\u0430\u0437\u0434\u0435\u043b\u0435\u043d\u044b \u043f\u043e org_id (partition pruning)\u041a\u044d\u0448\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u043c\u0435\u0442\u0430\u0434\u0430\u043d\u043d\u044b\u0445: \u041c\u0435\u0442\u0430\u0434\u0430\u043d\u043d\u044b\u0435 \u043c\u043e\u0436\u043d\u043e \u043a\u044d\u0448\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0432 \u043f\u0430\u043c\u044f\u0442\u0438\u0424\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u043e\u0441\u0442\u044c\u0418\u0441\u0442\u043e\u0440\u0438\u044f \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0439: mt_field_history \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u043e\u0442\u0441\u043b\u0435\u0436\u0438\u0432\u0430\u0435\u0442 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f\u0418\u0441\u0442\u043e\u0447\u043d\u0438\u043a\u0438 \u0434\u0430\u043d\u043d\u044b\u0445: sources_meta (JSONB) \u0445\u0440\u0430\u043d\u0438\u0442 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u043e \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0436\u0434\u0435\u043d\u0438\u0438 \u0434\u0430\u043d\u043d\u044b\u0445\u0423\u043d\u0438\u043a\u0430\u043b\u044c\u043d\u043e\u0441\u0442\u044c \u0438 \u0432\u0430\u043b\u0438\u0434\u0430\u0446\u0438\u044f: \u041e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u044f \u043d\u0430 \u0443\u0440\u043e\u0432\u043d\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0438 \u0411\u0414\u041a\u043e\u0433\u0434\u0430 \u043f\u0440\u0438\u043c\u0435\u043d\u044f\u0442\u044c\u041f\u043e\u0434\u0445\u043e\u0434\u0438\u0442 \u0434\u043b\u044f:SaaS-\u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439 \u0441 \u043a\u0430\u0441\u0442\u043e\u043c\u0438\u0437\u0438\u0440\u0443\u0435\u043c\u043e\u0439 \u0441\u0445\u0435\u043c\u043e\u0439 \u0434\u0430\u043d\u043d\u044b\u0445\u0421\u0438\u0441\u0442\u0435\u043c \u0441 \u0434\u0438\u043d\u0430\u043c\u0438\u0447\u0435\u0441\u043a\u0438\u043c\u0438 \u0430\u0442\u0440\u0438\u0431\u0443\u0442\u0430\u043c\u0438 (\u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0438 \u0442\u043e\u0432\u0430\u0440\u043e\u0432, CRM, \u043c\u0435\u0442\u0430\u0434\u0430\u043d\u043d\u044b\u0435)Multi-tenant \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u041f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439, \u0442\u0440\u0435\u0431\u0443\u044e\u0449\u0438\u0445 \u0447\u0430\u0441\u0442\u044b\u0445 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0439 \u0441\u0445\u0435\u043c\u044b\u041d\u0435 \u043f\u043e\u0434\u0445\u043e\u0434\u0438\u0442 \u0434\u043b\u044f:\u0412\u044b\u0441\u043e\u043a\u043e\u043d\u0430\u0433\u0440\u0443\u0436\u0435\u043d\u043d\u044b\u0445 \u0442\u0440\u0430\u043d\u0437\u0430\u043a\u0446\u0438\u043e\u043d\u043d\u044b\u0445 \u0441\u0438\u0441\u0442\u0435\u043c \u0441 \u0444\u0438\u043a\u0441\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u0439 \u0441\u0445\u0435\u043c\u043e\u0439\u0421\u0446\u0435\u043d\u0430\u0440\u0438\u0435\u0432, \u0442\u0440\u0435\u0431\u0443\u044e\u0449\u0438\u0445 \u0441\u043b\u043e\u0436\u043d\u044b\u0445 JOIN \u043c\u0435\u0436\u0434\u0443 \u0434\u0438\u043d\u0430\u043c\u0438\u0447\u0435\u0441\u043a\u0438\u043c\u0438 \u043f\u043e\u043b\u044f\u043c\u0438\u041f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439 \u0441 \u0436\u0435\u0441\u0442\u043a\u0438\u043c\u0438 \u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043d\u0438\u044f\u043c\u0438 \u043a \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438 \u043d\u0430 \u0431\u043e\u043b\u044c\u0448\u0438\u0445 \u043e\u0431\u044a\u0435\u043c\u0430\u0445\u0414\u0430 \u0432 \u0442\u0430\u043a\u043e\u0439 \u043c\u043e\u0434\u0435\u043b\u0438 \u0435\u0441\u0442\u044c \u0441\u0432\u043e\u0438 \u043f\u043b\u044e\u0441\u044b \u0438 \u043c\u0438\u043d\u0443\u0441\u044b \u043f\u0440\u0438 \u0431\u043e\u043b\u044c\u0448\u043e\u043c \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u0435 \u0434\u0430\u043d\u043d\u044b\u0445, \u043d\u043e \u043e\u043d\u0438 \u0435\u0441\u0442\u044c \u0438 \u0432 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u0445 \u043c\u043e\u0434\u0435\u043b\u044f\u0445. \u041e\u0441\u043d\u043e\u0432\u043d\u044b\u043c \u043f\u043b\u044e\u0441\u043e\u043c \u0434\u043b\u044f \u043c\u0435\u043d\u044f \u044d\u0442\u043e:\u043d\u043e\u0432\u0430\u044f \u0438\u0433\u0440\u0443\u0448\u043a\u0430 \u0438 \u043f\u043e\u043f\u0440\u043e\u0431\u0430\u0432\u0430\u0442\u044c \u0442\u0430\u043a\u0443\u044e \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u0443\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0442\u044c \u043d\u043e\u0432\u044b\u0435 \u043f\u043e\u043b\u044f \u0431\u0435\u0437 \u043f\u0435\u0440\u0435\u0441\u0442\u0430\u0440\u0442\u0430 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u043d\u043e\u0432\u044b\u0445 \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432\u041a\u0430\u043a \u044d\u0442\u043e \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442:\u0414\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u043e\u0431\u044a\u0435\u043a\u0442 \u2014 \u044d\u0442\u043e \u0432\u0441\u0442\u0430\u0432\u043a\u0430 \u043e\u0434\u043d\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0438:INSERT INTO mtobjects (orgid, objname, label, plurallabel, iscustom, isactive)VALUES (1, &#8216;Publisher&#8217;, &#8216;\u0418\u0437\u0434\u0430\u0442\u0435\u043b\u044c\u0441\u0442\u0432\u043e&#8217;, &#8216;\u0418\u0437\u0434\u0430\u0442\u0435\u043b\u044c\u0441\u0442\u0432\u0430&#8217;, TRUE, TRUE);\u0414\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u043d\u043e\u0432\u043e\u0435 \u043f\u043e\u043b\u0435 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u044e\u0449\u0435\u043c\u0443 \u043e\u0431\u044a\u0435\u043a\u0442\u0443 \u2014 \u0442\u043e\u0436\u0435 \u0432\u0441\u0442\u0430\u0432\u043a\u0430, \u0430 \u043d\u0435 \u043c\u0438\u0433\u0440\u0430\u0446\u0438\u044f, \u043f\u0440\u0438\u0447\u0451\u043c \u043d\u043e\u043c\u0435\u0440 \u0441\u0432\u043e\u0431\u043e\u0434\u043d\u043e\u0433\u043e \u0441\u043b\u043e\u0442\u0430 \u043c\u043e\u0436\u043d\u043e \u0432\u044b\u0447\u0438\u0441\u043b\u0438\u0442\u044c \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438, \u0430 \u043d\u0435 \u043f\u043e\u0434\u0431\u0438\u0440\u0430\u0442\u044c \u0440\u0443\u043a\u0430\u043c\u0438:INSERT INTO mtfields (orgid, objid, fieldname, label, datatype, fieldnum, isindexed, isunique, isrequired, length)SELECT o.orgid, o.objid, &#8216;Website&#8217;, &#8216;\u0421\u0430\u0439\u0442 \u0438\u0437\u0434\u0430\u0442\u0435\u043b\u044c\u0441\u0442\u0432\u0430&#8217;, &#8216;url&#8217;,       COALESCE((SELECT MAX(mf.fieldnum) FROM mtfields mf                 WHERE mf.orgid = o.orgid AND mf.objid = o.objid), -1) + 1,       FALSE, FALSE, FALSE, 500FROM mtobjects oWHERE o.orgid = 1 AND o.objname = &#8216;Publisher&#8217;;\u0421 \u044d\u0442\u043e\u0433\u043e \u043c\u043e\u043c\u0435\u043d\u0442\u0430 \u043d\u043e\u0432\u043e\u0435 \u043f\u043e\u043b\u0435 \u0441\u0440\u0430\u0437\u0443 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u043e \u0447\u0435\u0440\u0435\u0437 ?fields=Website \u0432 \u043f\u0443\u0431\u043b\u0438\u0447\u043d\u043e\u043c API, \u0443\u0447\u0430\u0441\u0442\u0432\u0443\u0435\u0442 \u0432 resolveRequestedFields, \u0430 \u0435\u0441\u043b\u0438 \u043f\u043e\u043c\u0435\u0442\u0438\u0442\u044c \u0435\u0433\u043e isIndexed = TRUE \u0442\u043e \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u043d\u0430\u0447\u043d\u0451\u0442 \u043f\u043e\u043f\u0430\u0434\u0430\u0442\u044c \u0432 mtindexes \u043f\u0440\u0438 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u043c \u0441\u043e\u0445\u0440\u0430\u043d\u0435\u043d\u0438\u0438 \u0437\u0430\u043f\u0438\u0441\u0438 \u0447\u0435\u0440\u0435\u0437 PivotIndexService.syncIndexes, \u0431\u0435\u0437 \u0435\u0434\u0438\u043d\u043e\u0439 \u0441\u0442\u0440\u043e\u0447\u043a\u0438 \u043d\u043e\u0432\u043e\u0433\u043e Java-\u043a\u043e\u0434\u0430.\u0417\u0430\u043f\u043b\u0430\u0442\u0438\u0442\u044c \u0437\u0430 \u044d\u0442\u0443 \u0433\u0438\u0431\u043a\u043e\u0441\u0442\u044c \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u0442\u0435\u043c, \u0447\u0442\u043e \u043a\u0430\u0436\u0434\u043e\u0435 \u0447\u0442\u0435\u043d\u0438\u0435 \u043f\u043e\u043b\u044f \u0438\u0434\u0451\u0442 \u043d\u0435 \u0447\u0435\u0440\u0435\u0437 \u043d\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u0443\u044e \u0442\u0438\u043f\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u0443\u044e \u043a\u043e\u043b\u043e\u043d\u043a\u0443, \u0430 \u0447\u0435\u0440\u0435\u0437 getValue(int slot) \u0441 \u0440\u0443\u0447\u043d\u044b\u043c switch \u043d\u0430 50 \u043a\u0435\u0439\u0441\u043e\u0432, \u0438 \u0437\u0430\u043f\u0440\u043e\u0441\u044b \u0432\u0440\u043e\u0434\u0435 \u201c\u043f\u043e\u043a\u0430\u0437\u0430\u0442\u044c \u0432\u0441\u0435 \u043a\u043d\u0438\u0433\u0438, \u0443 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 PublishedYear &gt; 2020\u201d \u0442\u0440\u0435\u0431\u0443\u044e\u0442 JOIN \u0441 mtindexes, \u0430 \u043d\u0435 \u043f\u0440\u044f\u043c\u043e\u0433\u043e WHERE \u043f\u043e mtdata.  \u0421\u0445\u0435\u043c\u0430 \u0431\u0435\u0441\u043a\u043e\u043d\u0435\u0447\u043d\u043e \u0440\u0430\u0441\u0448\u0438\u0440\u044f\u0435\u043c\u0430 \u0432\u043e \u0432\u0440\u0435\u043c\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u0441\u0438\u0441\u0442\u0435\u043c\u044b, \u043d\u043e \u043f\u043b\u0430\u0442\u0438\u043c \u0437\u0430 \u044d\u0442\u043e \u0446\u0435\u043d\u0443 \u043d\u0430 \u043a\u0430\u0436\u0434\u043e\u043c \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e\u043c \u0447\u0442\u0435\u043d\u0438\u0438. \u0414\u043b\u044f \u0441\u0435\u0440\u0432\u0438\u0441\u0430, \u0433\u0434\u0435 \u0441\u043e\u0441\u0442\u0430\u0432 \u043f\u043e\u043b\u0435\u0439 \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0430\u0435\u0442 \u043c\u0435\u043d\u044f\u0442\u044c\u0441\u044f (\u0430 \u0432 Book Metadata Service \u043e\u043d \u0431\u0443\u0434\u0435\u0442 \u043c\u0435\u043d\u044f\u0435\u0442\u0441\u044f), \u044d\u0442\u043e\u0442 \u0431\u043e\u043b\u044c\u0448\u0443\u0449\u0438\u0439 \u043f\u043b\u044e\u0441.\u0422\u0440\u0443\u0434\u043d\u043e\u0441\u0442\u0438 \u0432\u044b\u0431\u043e\u0440\u0430 \u0438\u0434\u0435\u0439 \u0438 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0439\u0418\u0437\u043d\u0430\u0447\u0430\u043b\u044c\u043d\u0430\u044f \u0438\u0434\u0435\u044f \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u0441\u0435\u0440\u0432\u0438\u0441 \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0441\u0430\u043c \u0431\u0443\u0434\u0435\u0442 \u0445\u043e\u0434\u0438\u0442\u044c \u0432 \u0434\u0440\u0443\u0433\u0438\u0435 \u0441\u0435\u0440\u0432\u0438\u0441\u0430 \u0438 \u0443 \u0441\u0435\u0431\u044f \u0430\u0433\u0440\u0435\u0433\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043c\u0435\u0442\u0430\u0434\u0430\u043d\u043d\u044b\u0435 \u043a\u043d\u0438\u0433. \u042f \u0434\u043e\u0431\u0430\u0432\u0438\u043b \u043e\u0431\u0449\u0435\u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0435 \u0438 \u0431\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u044b\u0435 Open Library, Google Books, FantLab \u0438 \u0434\u0430\u0436\u0435 LibGen \u0438 Sigla. \u041d\u043e \u044d\u0442\u043e \u043b\u0438\u0431\u043e \u0441\u0435\u0440\u0430\u044f \u0437\u043e\u043d\u0430 \u0438\u043b\u0438 \u0441\u043a\u0440\u0430\u0431\u0438\u043d\u0433 \u0441\u0430\u0439\u0442\u0430, \u0447\u0442\u043e \u043d\u0430 \u043f\u043e\u0441\u0442\u043e\u044f\u043d\u043d\u043e\u0439 \u043e\u0441\u043d\u043e\u0432\u0435 \u0434\u0435\u043b\u0430\u0442\u044c \u043d\u0435\u043b\u044c\u0437\u044f. \u042d\u0442\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u043b \u043a\u0430\u043a \u043e\u043f\u0446\u0438\u044e. \u0421\u0435\u0440\u0432\u0438\u0441 \u043c\u043e\u0436\u043d\u043e \u0441\u043a\u0430\u0447\u0430\u0442\u044c \u0438 \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u0432 docker, \u043d\u043e \u043f\u043e  \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u0432\u044b\u043a\u043b\u044e\u0447\u0435\u043d\u044b. \u0418 \u043d\u0430 \u043e\u0431\u0449\u0435\u0434\u043e\u0441\u0442\u0443\u043f\u043d\u043e\u043c \u0441\u0430\u0439\u0442\u0435 \u043e\u043d\u0438 \u0432\u044b\u043a\u043b\u044e\u0447\u0435\u043d\u044b.\u041c\u043d\u0435 \u043d\u0435\u043b\u044c\u0437\u044f \u0434\u0435\u043b\u0430\u0442\u044c \u0442\u0430\u043a\u0438\u0435 \u0437\u0430\u0434\u0430\u0447\u043a\u0438. \u041f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u043e\u0447\u0435\u043d\u044c \u043c\u043d\u043e\u0433\u043e \u0438\u0434\u0435\u0439 \u0438 \u0445\u043e\u0447\u0435\u0442\u0441\u044f \u0432\u0441\u0435 \u0441\u0440\u0430\u0437\u0443 \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u0442\u044c. \u0418\u0437\u043d\u0430\u0447\u0430\u043b\u044c\u043d\u043e \u044f \u0434\u043e\u0431\u0430\u0432\u0438\u043b \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u043c\u0435\u0442\u0430\u0434\u0430\u043d\u043d\u044b\u0445 \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432:@RestController@RequestMapping(&#171;\/api\/metadata&#187;)@RequiredArgsConstructor@Tag(name = &#171;Metadata&#187;, description = &#171;\u041c\u0435\u0442\u0430\u0434\u0430\u043d\u043d\u044b\u0435 \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432 \u0438 \u043f\u043e\u043b\u0435\u0439 \u0434\u043b\u044f UI-\u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0442\u043e\u0440\u0430&#187;)public class MetadataController {    private final MetadataService metadataService;    private final ApiKeyService apiKeyService;    @Operation(summary = &#171;\u0421\u043f\u0438\u0441\u043e\u043a \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432 (Book, Author, Magazine&#8230;)&#187;)    @GetMapping(&#171;\/objects&#187;)    public ResponseEntity&lt;List&lt;MtObject&gt;&gt; getObjects(            @RequestParam String apiKey,            @Parameter(example = &#171;1&#187;) @RequestParam(defaultValue = &#171;1&#187;) Integer orgId) {        Integer resolvedOrgId = apiKeyService.resolveOrgIdOrThrow(apiKey, ApiKeyScope.ADMIN);        return ResponseEntity.ok(metadataService.getObjectsByOrg(resolvedOrgId));    }    @Operation(summary = &#171;\u041f\u043e\u043b\u044f \u043e\u0431\u044a\u0435\u043a\u0442\u0430 \u2014 \u0438\u0441\u0442\u043e\u0447\u043d\u0438\u043a \u0434\u043b\u044f \u0447\u0435\u043a\u0431\u043e\u043a\u0441\u043e\u0432 \u0432 UI-\u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0442\u043e\u0440\u0435&#187;)    @GetMapping(&#171;\/objects\/{objectName}\/fields&#187;)    public ResponseEntity&lt;List&lt;FieldDto&gt;&gt; getFields(            @RequestParam String apiKey,            @Parameter(example = &#171;1&#187;) @RequestParam(defaultValue = &#171;1&#187;) Integer orgId,            @Parameter(example = &#171;Book&#187;) @PathVariable String objectName) {        Integer resolvedOrgId = apiKeyService.resolveOrgIdOrThrow(apiKey, ApiKeyScope.ADMIN);        MtObject object = metadataService.getObjectByName(resolvedOrgId, objectName);        List&lt;FieldDto&gt; dtos = metadataService.getFieldsByObject(resolvedOrgId, object.getObjId()).stream()                .map(this::toDto)                .toList();        return ResponseEntity.ok(dtos);    }    private FieldDto toDto(MtField f) {        return FieldDto.builder()                .fieldName(f.getFieldName())                .label(f.getLabel())                .dataType(f.getDataType())                .isIndexed(f.getIsIndexed())                .isRequired(f.getIsRequired())                .build();    }}\u0418 \u043f\u043b\u0430\u043d\u0438\u0440\u043e\u0432\u0430\u043b \u043f\u043e\u0442\u043e\u043c \u0440\u0430\u0441\u0448\u0438\u0440\u044f\u0442\u044c \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u043e \u0438 \u043c\u043e\u0436\u0435\u0442 \u043a \u044d\u0442\u043e\u043c\u0443 \u0432\u0435\u0440\u043d\u0443\u0441\u044c \u0441 \u0434\u043e\u0441\u0442\u0443\u043f\u043e\u043c \u043f\u043e\u0434 \u0430\u0434\u043c\u0438\u043d\u043e\u043c. \u041d\u043e \u0434\u043b\u044f \u043f\u0443\u0431\u043b\u0438\u0447\u043d\u043e\u0433\u043e \u0441\u0435\u0440\u0432\u0438\u0441\u0430 \u0443\u0431\u0440\u0430\u043b \u043f\u043e\u043a\u0430 \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e.\u041f\u043e\u0442\u043e\u043c \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u043b \u0440\u0443\u0447\u043d\u043e\u0435 \u043e\u0431\u043e\u0433\u0430\u0449\u0435\u043d\u0438\u0435 \u0434\u0430\u043d\u043d\u044b\u0445 \u0447\u0435\u0440\u0435\u0437 LLM. \u041a\u043e\u0433\u0434\u0430 LLM \u0441\u0430\u043c\u0430 \u0445\u043e\u0434\u0438\u0442 \u0438\u0449\u0435\u0442 \u043a\u043d\u0438\u0433\u0443 \u043a\u043e\u0442\u043e\u0440\u0443\u044e \u043d\u0435 &#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-493617","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/493617","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=493617"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/493617\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=493617"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=493617"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=493617"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}