{"id":592,"date":"2021-01-27T10:51:14","date_gmt":"2021-01-27T01:51:14","guid":{"rendered":"https:\/\/technologyagency.net\/wordpress\/?p=592"},"modified":"2021-02-02T21:31:34","modified_gmt":"2021-02-02T12:31:34","slug":"hibernate-search-6-0-migration","status":"publish","type":"post","link":"https:\/\/technologyagency.net\/wordpress\/2021\/01\/27\/hibernate-search-6-0-migration\/","title":{"rendered":"Hibernate Search 6.0 Migration"},"content":{"rendered":"\n<p>\u81ea\u4f5c\u306e\u30a2\u30d7\u30ea\u306e\u30de\u30a4\u30b0\u30ec\u30fc\u30b7\u30e7\u30f3\u3059\u308b\u904e\u7a0b\u3067\u554f\u984c\u306b\u306a\u3063\u305f\u500b\u6240\u3092\u7e8f\u3081\u3066\u304a\u304f\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Hibernate Search 6\u306e\u5909\u66f4\u70b9<\/h2>\n\n\n\n<p>API\u304c\u5927\u5e45\u306b\u5909\u308f\u3063\u3066\u3044\u308b\u305f\u3081\u3001\u30b3\u30fc\u30c9\u4fee\u6b63\u306a\u3057\u306b\u79fb\u884c\u306f\u4e0d\u53ef\u3002API\u3092Elasticsearch\u306b\u6700\u9069\u5316\u3057\u305f\u305d\u3046\u306a\u306e\u3067\u3001Lucene\u3092\u4f7f\u7528\u3057\u3066\u304d\u305f\u304c\u3053\u308c\u3092\u6a5f\u306bElasticsearch\u306b\u5909\u66f4\u3059\u308b\u3053\u3068\u3092\u691c\u8a0e\u3057\u3066\u3082\u826f\u3044\u304b\u3082\u77e5\u308c\u306a\u3044\u3002<\/p>\n\n\n\n<h5 class=\"wp-block-heading\">\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u306e\u518d\u4f5c\u6210<\/h5>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: java; title: ; notranslate\" title=\"\">\n\/\/ Hibernate5\nFullTextEntityManager txtentityManager = Search.getFullTextEntityManager(entityManager);\nMassIndexer massIndexer = txtentityManager.createIndexer();\n\n\/\/ Hibernate6\nSearchSession searchSession = Search.session(entityManager);\nMassIndexer massIndexer = searchSession.massIndexer();\n\n\/\/ \u5171\u901a\nmassIndexer.start()\n<\/pre><\/div>\n\n\n<h5 class=\"wp-block-heading\">\u30d5\u30a1\u30bb\u30c3\u30c8\u306e\u4f5c\u6210<\/h5>\n\n\n\n<p>\u5168\u304f\u540c\u3058\u3088\u3046\u306b\u79fb\u884c\u306f\u51fa\u6765\u306a\u304b\u3063\u305f\u30025\u306e\u5834\u5408\u306f\u623b\u308a\u5024\u304cList&lt;Facet&gt;\u3067\u30016\u306e\u5834\u5408\u306fMap&lt;String, Long&gt;\u306b\u306a\u308b\u3002String\u306e\u90e8\u5206\u306f\u30d5\u30a3\u30fc\u30eb\u30c9\u306e\u5c5e\u6027\u6bce\u306b\u5909\u66f4\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u3002<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: java; title: ; notranslate\" title=\"\">\n\/\/ Hibernate5\nFullTextEntityManager txtentityManager = Search.getFullTextEntityManager(entityManager);\nSearchFactory searchFactory = txtentityManager.getSearchFactory();\nQueryBuilder builder = searchFactory.buildQueryBuilder().forEntity(searchedEntity).get();\nFacetingRequest categoryFacetingRequest = builder.facet()\n    .name(field + searchedEntity.getSimpleName()).onField(field).discrete()\n    .orderedBy(FacetSortOrder.COUNT_DESC).includeZeroCounts(false).maxFacetCount(maxCount)\n    .createFacetingRequest();\n\nQuery luceneQuery = builder.all().createQuery();\nFullTextQuery fullTextQuery = txtentityManager.createFullTextQuery(luceneQuery);\nFacetManager facetManager = fullTextQuery.getFacetManager();\nfacetManager.enableFaceting(categoryFacetingRequest);\n\nreturn facetManager.getFacets(field + searchedEntity.getSimpleName());\n\n\/\/ Hibernate6\nSearchSession searchSession = Search.session(entityManager);\nAggregationKey&lt;Map&lt;String, Long&gt;&gt; countByKey = AggregationKey.of(field);\n\nSearchResult&lt;?&gt; result = searchSession.search(User.class)\n    .where(f -&gt; f.matchAll())\n    .aggregation(countByKey, f -&gt; f.terms()\n        .field(field, String.class)\n        .orderByCountDescending()\n        .minDocumentCount(1)\n        .maxTermCount(maxCount))\n    .fetch(20);\n\nresult.hits();\n\nreturn result.aggregation(countByKey);\n<\/pre><\/div>\n\n\n<h5 class=\"wp-block-heading\">\u30a2\u30ca\u30e9\u30a4\u30b6\u30fc\u306e\u5909\u66f4<\/h5>\n\n\n\n<p>@Analyzer(impl = JapaneseAnalyzer.class)\u306f\u306a\u304f\u306a\u308a\u3001@FullTextField(analyzer = &#8220;japanese&#8221;)\u306e\u69d8\u306b\u3067\u30d5\u30a3\u30fc\u30eb\u30c9\u6bce\u306b\u6307\u5b9a\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u3002\u3057\u304b\u3082\u3001\u30ab\u30b9\u30bf\u30e0\u30a2\u30ca\u30e9\u30a4\u30b6\u30fc\u3092\u5225\u9014\u81ea\u5206\u3067\u5b9a\u7fa9\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u3002@NormalizerDef\u3082\u4f7f\u7528\u51fa\u6765\u306a\u304f\u306a\u3063\u3066\u3044\u308b\u305f\u3081\u3001\u30a2\u30ce\u30c6\u30fc\u30b7\u30e7\u30f3\u3067\u7d30\u304b\u304f\u51e6\u7406\u3092\u6307\u5b9a\u51fa\u6765\u306a\u304f\u306a\u3063\u3066\u3044\u308b\u3002<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: java; title: ; notranslate\" title=\"\">\npublic class CustomLuceneAnalysisConfigurer implements LuceneAnalysisConfigurer {\n\n    @Override\n    public void configure(LuceneAnalysisConfigurationContext context) {\n        context.analyzer(&quot;japanese&quot;).instance(new JapaneseAnalyzer());\n    }\n}\n<\/pre><\/div>\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nhibernate.search.backend.analysis.configurer = &amp;lt;\u30d1\u30c3\u30b1\u30fc\u30b8&gt;.CustomLuceneAnalysisConfigurer\n<\/pre><\/div>\n\n\n<p>LuceneAnalysisConfigurer\u3092\u5b9a\u7fa9\u3057\u3066\u3001\u4ee5\u4e0b\u306e\u69d8\u306b\u6307\u5b9a\u3059\u308b\u3002<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: java; title: ; notranslate\" title=\"\">\n@FullTextField(analyzer = &quot;japanese&quot;)\nprivate String text;\n<\/pre><\/div>\n\n\n<h5 class=\"wp-block-heading\">FullTextQuery\u306e\u5ec3\u6b62<\/h5>\n\n\n\n<p>\u4eca\u307e\u3067\u306f\u5168\u6587\u691c\u7d22\u7528\u30af\u30a8\u30ea\uff08FullTextQuery\uff09\u3092\u4f5c\u6210\u3059\u308b\u305f\u3081\u306blucene\u3092\u4f7f\u7528\u3059\u308b\u5834\u9762\u304c\u3042\u3063\u305f\u304c\u3001\u305d\u308c\u3089\u306f\u30d0\u30c3\u30af\u30a8\u30f3\u30c9\u306b\u79fb\u52d5\u3057\u305f\u304b\u3089\u3001\u4eca\u5f8c\u306f\u4f7f\u7528\u3057\u306a\u3044\u3088\u3046\u306b\u3068\u3044\u3046\u3053\u3068\u304b\u3002lucene\u306eQuery\u3092\u4f7f\u7528\u3057\u306a\u304f\u3066\u3082\u691c\u7d22\u30ed\u30b8\u30c3\u30af\u3092\u8a18\u8ff0\u3059\u308b\u3053\u3068\u304c\u51fa\u6765\u308b\u3088\u3046\u306b\u306a\u3063\u305f\u3002<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: java; title: ; notranslate\" title=\"\">\nSearch.session(entityManager).search(User.class)\n        .where(f -&gt; {\n            if (userSearchCriteria.getUsername() == null &amp;&amp; userSearchCriteria.getEmail() == null) {\n                return f.matchAll();\n            } else {\n                return f.bool(b -&gt; {\n                    if (userSearchCriteria.getUsername() != null) {\n                        b.should(f.match().field(UserSearchCriteria.USERNAME_FIELD)\n                                .matching(userSearchCriteria.getUsername()));\n                    }\n                    if (userSearchCriteria.getEmail() != null) {\n                        b.should(f.match().field(UserSearchCriteria.EMAIL_FIELD)\n                                .matching(userSearchCriteria.getEmail()));\n                    }\n                });\n            }\n        })\n        .sort(f -&gt; f.field(UserSearchCriteria.USERNAME_FIELD + &quot;Sort&quot;))\n        .fetchHits(Long.valueOf(pageRequest.getOffset()).intValue(), pageRequest.getPageSize());\n<\/pre><\/div>\n\n\n<h5 class=\"wp-block-heading\">\u8d77\u52d5\u8a2d\u5b9a\u306e\u5909\u66f4<\/h5>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: xml; title: ; notranslate\" title=\"\">\n\/\/ Hibernate5\n&lt;prop key=&quot;hibernate.search.lucene_version&quot;&gt;LUCENE_CURRENT&lt;\/prop&gt;\n&lt;prop key=&quot;hibernate.search.default.directory_provider&quot;&gt;filesystem&lt;\/prop&gt;\n&lt;prop key=&quot;hibernate.search.default.locking_strategy&quot;&gt;simple&lt;\/prop&gt;\n&lt;prop key=&quot;hibernate.search.default.exclusive_index_use&quot;&gt;true&lt;\/prop&gt;\n&lt;prop key=&quot;hibernate.search.default.indexBase&quot;&gt;${hibernate.search.indexBase}&lt;\/prop&gt;\n\n\/\/ Hibernate6\n&lt;prop key=&quot;hibernate.search.backend.lucene_version&quot;&gt;LATEST&lt;\/prop&gt;\n&lt;prop key=&quot;hibernate.search.backend.directory.type&quot;&gt;local-filesystem&lt;\/prop&gt;\n&lt;prop key=&quot;hibernate.search.backend.directory.root&quot;&gt;${hibernate.search.indexBase}&lt;\/prop&gt;\n&lt;prop key=&quot;hibernate.search.backend.analysis.configurer&quot;&gt;common.dao.impl.CustomLuceneAnalysisConfigurer&lt;\/prop&gt;\n\n<\/pre><\/div>\n\n\n<h5 class=\"wp-block-heading\">Bean\u30a2\u30ce\u30c6\u30fc\u30b7\u30e7\u30f3\u306e\u5909\u66f4<\/h5>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: java; title: ; notranslate\" title=\"\">\n\/\/ Hibernate5\n@Field\n@Field(name = &quot;usernameSort&quot;, normalizer = @Normalizer(definition = &quot;userSort&quot;))\n@SortableField(forField = &quot;usernameSort&quot;)\nprivate String username;\n\n@Field(name = &quot;firstNameFacet&quot;, analyze = Analyze.NO)\n@Facet(forField = &quot;firstNameFacet&quot;)\nprivate String firstName;\n\n\/\/ Hibernate6\n@FullTextField(analyzer = &quot;japanese&quot;)\n@KeywordField(name = &quot;usernameSort&quot;, sortable = Sortable.YES)\nprivate String username;\n\n@KeywordField(name = &quot;firstNameFacet&quot;, aggregable = Aggregable.YES)\nprivate String firstName;\n<\/pre><\/div>\n\n\n<h5 class=\"wp-block-heading\">Spring Boot<\/h5>\n\n\n\n<p>\u30de\u30cb\u30e5\u30a2\u30eb\u901a\u308a\u4e0b\u8a18\u3092\u8ffd\u52a0\u3059\u308b\u3068\u3001\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u3066\u3057\u307e\u3046\u3002\u307e\u3060\u3001\u5bfe\u5fdc\u3057\u3066\u3044\u306a\u3044\u306e\u304b\u3082\u3057\u308c\u306a\u3044\u3002<br>Caused by: org.hibernate.search.util.common.AssertionFailure: Unexpected duplicate key: enabled &#8212; this may indicate a bug or a missing test in Hibernate Search. Please report it: https:\/\/hibernate.org\/community\/<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: groovy; title: ; notranslate\" title=\"\">\nimplementation &#039;org.apache.lucene:lucene-analyzers-kuromoji:8.7.0&#039;\nimplementation &#039;org.hibernate.search:hibernate-search-mapper-orm:6.0.0.Final&#039;\nimplementation &#039;org.hibernate.search:hibernate-search-backend-lucene:6.0.0.Final&#039;\n<\/pre><\/div>","protected":false},"excerpt":{"rendered":"<p>\u81ea\u4f5c\u306e\u30a2\u30d7\u30ea\u306e\u30de\u30a4\u30b0\u30ec\u30fc\u30b7\u30e7\u30f3\u3059\u308b\u904e\u7a0b\u3067\u554f\u984c\u306b\u306a\u3063\u305f\u500b\u6240\u3092\u7e8f\u3081\u3066\u304a\u304f\u3002 Hibernate Search 6\u306e\u5909\u66f4\u70b9 API\u304c\u5927\u5e45\u306b\u5909\u308f\u3063\u3066\u3044\u308b\u305f\u3081\u3001\u30b3\u30fc\u30c9\u4fee\u6b63\u306a\u3057\u306b\u79fb\u884c\u306f\u4e0d\u53ef\u3002API\u3092Elasticsearch\u306b\u6700\u9069\u5316 &hellip; <a href=\"https:\/\/technologyagency.net\/wordpress\/2021\/01\/27\/hibernate-search-6-0-migration\/\" class=\"more-link\"><span class=\"screen-reader-text\">&#8220;Hibernate Search 6.0 Migration&#8221; \u306e<\/span>\u7d9a\u304d\u3092\u8aad\u3080<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[31],"class_list":["post-592","post","type-post","status-publish","format-standard","hentry","category-java","tag-hibernate-search"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Hibernate Search 6.0 Migration - I want to lead an easy life.<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/technologyagency.net\/wordpress\/2021\/01\/27\/hibernate-search-6-0-migration\/\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Hibernate Search 6.0 Migration - I want to lead an easy life.\" \/>\n<meta property=\"og:description\" content=\"\u81ea\u4f5c\u306e\u30a2\u30d7\u30ea\u306e\u30de\u30a4\u30b0\u30ec\u30fc\u30b7\u30e7\u30f3\u3059\u308b\u904e\u7a0b\u3067\u554f\u984c\u306b\u306a\u3063\u305f\u500b\u6240\u3092\u7e8f\u3081\u3066\u304a\u304f\u3002 Hibernate Search 6\u306e\u5909\u66f4\u70b9 API\u304c\u5927\u5e45\u306b\u5909\u308f\u3063\u3066\u3044\u308b\u305f\u3081\u3001\u30b3\u30fc\u30c9\u4fee\u6b63\u306a\u3057\u306b\u79fb\u884c\u306f\u4e0d\u53ef\u3002API\u3092Elasticsearch\u306b\u6700\u9069\u5316 &hellip; &quot;Hibernate Search 6.0 Migration&quot; \u306e\u7d9a\u304d\u3092\u8aad\u3080\" \/>\n<meta property=\"og:url\" content=\"https:\/\/technologyagency.net\/wordpress\/2021\/01\/27\/hibernate-search-6-0-migration\/\" \/>\n<meta property=\"og:site_name\" content=\"I want to lead an easy life.\" \/>\n<meta property=\"article:published_time\" content=\"2021-01-27T01:51:14+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-02-02T12:31:34+00:00\" \/>\n<meta name=\"author\" content=\"hide6644\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u57f7\u7b46\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"hide6644\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"2\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/technologyagency.net\\\/wordpress\\\/2021\\\/01\\\/27\\\/hibernate-search-6-0-migration\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/technologyagency.net\\\/wordpress\\\/2021\\\/01\\\/27\\\/hibernate-search-6-0-migration\\\/\"},\"author\":{\"name\":\"hide6644\",\"@id\":\"https:\\\/\\\/technologyagency.net\\\/wordpress\\\/#\\\/schema\\\/person\\\/a25355beaa102da2b2d79b00f5865b63\"},\"headline\":\"Hibernate Search 6.0 Migration\",\"datePublished\":\"2021-01-27T01:51:14+00:00\",\"dateModified\":\"2021-02-02T12:31:34+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/technologyagency.net\\\/wordpress\\\/2021\\\/01\\\/27\\\/hibernate-search-6-0-migration\\\/\"},\"wordCount\":69,\"commentCount\":0,\"keywords\":[\"Hibernate Search\"],\"articleSection\":[\"Java\"],\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/technologyagency.net\\\/wordpress\\\/2021\\\/01\\\/27\\\/hibernate-search-6-0-migration\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/technologyagency.net\\\/wordpress\\\/2021\\\/01\\\/27\\\/hibernate-search-6-0-migration\\\/\",\"url\":\"https:\\\/\\\/technologyagency.net\\\/wordpress\\\/2021\\\/01\\\/27\\\/hibernate-search-6-0-migration\\\/\",\"name\":\"Hibernate Search 6.0 Migration - I want to lead an easy life.\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/technologyagency.net\\\/wordpress\\\/#website\"},\"datePublished\":\"2021-01-27T01:51:14+00:00\",\"dateModified\":\"2021-02-02T12:31:34+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/technologyagency.net\\\/wordpress\\\/#\\\/schema\\\/person\\\/a25355beaa102da2b2d79b00f5865b63\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/technologyagency.net\\\/wordpress\\\/2021\\\/01\\\/27\\\/hibernate-search-6-0-migration\\\/#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/technologyagency.net\\\/wordpress\\\/2021\\\/01\\\/27\\\/hibernate-search-6-0-migration\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/technologyagency.net\\\/wordpress\\\/2021\\\/01\\\/27\\\/hibernate-search-6-0-migration\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u30db\u30fc\u30e0\",\"item\":\"https:\\\/\\\/technologyagency.net\\\/wordpress\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Hibernate Search 6.0 Migration\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/technologyagency.net\\\/wordpress\\\/#website\",\"url\":\"https:\\\/\\\/technologyagency.net\\\/wordpress\\\/\",\"name\":\"I want to lead an easy life.\",\"description\":\"Technical Notes\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/technologyagency.net\\\/wordpress\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ja\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/technologyagency.net\\\/wordpress\\\/#\\\/schema\\\/person\\\/a25355beaa102da2b2d79b00f5865b63\",\"name\":\"hide6644\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/a5df48aece572798f5aacd2dd90331e28bd249c13f736badb5116e3d43c5d5e9?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/a5df48aece572798f5aacd2dd90331e28bd249c13f736badb5116e3d43c5d5e9?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/a5df48aece572798f5aacd2dd90331e28bd249c13f736badb5116e3d43c5d5e9?s=96&d=mm&r=g\",\"caption\":\"hide6644\"},\"url\":\"https:\\\/\\\/technologyagency.net\\\/wordpress\\\/author\\\/hide6644\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Hibernate Search 6.0 Migration - I want to lead an easy life.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/technologyagency.net\/wordpress\/2021\/01\/27\/hibernate-search-6-0-migration\/","og_locale":"ja_JP","og_type":"article","og_title":"Hibernate Search 6.0 Migration - I want to lead an easy life.","og_description":"\u81ea\u4f5c\u306e\u30a2\u30d7\u30ea\u306e\u30de\u30a4\u30b0\u30ec\u30fc\u30b7\u30e7\u30f3\u3059\u308b\u904e\u7a0b\u3067\u554f\u984c\u306b\u306a\u3063\u305f\u500b\u6240\u3092\u7e8f\u3081\u3066\u304a\u304f\u3002 Hibernate Search 6\u306e\u5909\u66f4\u70b9 API\u304c\u5927\u5e45\u306b\u5909\u308f\u3063\u3066\u3044\u308b\u305f\u3081\u3001\u30b3\u30fc\u30c9\u4fee\u6b63\u306a\u3057\u306b\u79fb\u884c\u306f\u4e0d\u53ef\u3002API\u3092Elasticsearch\u306b\u6700\u9069\u5316 &hellip; \"Hibernate Search 6.0 Migration\" \u306e\u7d9a\u304d\u3092\u8aad\u3080","og_url":"https:\/\/technologyagency.net\/wordpress\/2021\/01\/27\/hibernate-search-6-0-migration\/","og_site_name":"I want to lead an easy life.","article_published_time":"2021-01-27T01:51:14+00:00","article_modified_time":"2021-02-02T12:31:34+00:00","author":"hide6644","twitter_card":"summary_large_image","twitter_misc":{"\u57f7\u7b46\u8005":"hide6644","\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593":"2\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/technologyagency.net\/wordpress\/2021\/01\/27\/hibernate-search-6-0-migration\/#article","isPartOf":{"@id":"https:\/\/technologyagency.net\/wordpress\/2021\/01\/27\/hibernate-search-6-0-migration\/"},"author":{"name":"hide6644","@id":"https:\/\/technologyagency.net\/wordpress\/#\/schema\/person\/a25355beaa102da2b2d79b00f5865b63"},"headline":"Hibernate Search 6.0 Migration","datePublished":"2021-01-27T01:51:14+00:00","dateModified":"2021-02-02T12:31:34+00:00","mainEntityOfPage":{"@id":"https:\/\/technologyagency.net\/wordpress\/2021\/01\/27\/hibernate-search-6-0-migration\/"},"wordCount":69,"commentCount":0,"keywords":["Hibernate Search"],"articleSection":["Java"],"inLanguage":"ja","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/technologyagency.net\/wordpress\/2021\/01\/27\/hibernate-search-6-0-migration\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/technologyagency.net\/wordpress\/2021\/01\/27\/hibernate-search-6-0-migration\/","url":"https:\/\/technologyagency.net\/wordpress\/2021\/01\/27\/hibernate-search-6-0-migration\/","name":"Hibernate Search 6.0 Migration - I want to lead an easy life.","isPartOf":{"@id":"https:\/\/technologyagency.net\/wordpress\/#website"},"datePublished":"2021-01-27T01:51:14+00:00","dateModified":"2021-02-02T12:31:34+00:00","author":{"@id":"https:\/\/technologyagency.net\/wordpress\/#\/schema\/person\/a25355beaa102da2b2d79b00f5865b63"},"breadcrumb":{"@id":"https:\/\/technologyagency.net\/wordpress\/2021\/01\/27\/hibernate-search-6-0-migration\/#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/technologyagency.net\/wordpress\/2021\/01\/27\/hibernate-search-6-0-migration\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/technologyagency.net\/wordpress\/2021\/01\/27\/hibernate-search-6-0-migration\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u30db\u30fc\u30e0","item":"https:\/\/technologyagency.net\/wordpress\/"},{"@type":"ListItem","position":2,"name":"Hibernate Search 6.0 Migration"}]},{"@type":"WebSite","@id":"https:\/\/technologyagency.net\/wordpress\/#website","url":"https:\/\/technologyagency.net\/wordpress\/","name":"I want to lead an easy life.","description":"Technical Notes","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/technologyagency.net\/wordpress\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ja"},{"@type":"Person","@id":"https:\/\/technologyagency.net\/wordpress\/#\/schema\/person\/a25355beaa102da2b2d79b00f5865b63","name":"hide6644","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/secure.gravatar.com\/avatar\/a5df48aece572798f5aacd2dd90331e28bd249c13f736badb5116e3d43c5d5e9?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/a5df48aece572798f5aacd2dd90331e28bd249c13f736badb5116e3d43c5d5e9?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/a5df48aece572798f5aacd2dd90331e28bd249c13f736badb5116e3d43c5d5e9?s=96&d=mm&r=g","caption":"hide6644"},"url":"https:\/\/technologyagency.net\/wordpress\/author\/hide6644\/"}]}},"_links":{"self":[{"href":"https:\/\/technologyagency.net\/wordpress\/wp-json\/wp\/v2\/posts\/592","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/technologyagency.net\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/technologyagency.net\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/technologyagency.net\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/technologyagency.net\/wordpress\/wp-json\/wp\/v2\/comments?post=592"}],"version-history":[{"count":23,"href":"https:\/\/technologyagency.net\/wordpress\/wp-json\/wp\/v2\/posts\/592\/revisions"}],"predecessor-version":[{"id":790,"href":"https:\/\/technologyagency.net\/wordpress\/wp-json\/wp\/v2\/posts\/592\/revisions\/790"}],"wp:attachment":[{"href":"https:\/\/technologyagency.net\/wordpress\/wp-json\/wp\/v2\/media?parent=592"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/technologyagency.net\/wordpress\/wp-json\/wp\/v2\/categories?post=592"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/technologyagency.net\/wordpress\/wp-json\/wp\/v2\/tags?post=592"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}