<small id='Ir1q8'></small><noframes id='Ir1q8'>

          <bdo id='Ir1q8'></bdo><ul id='Ir1q8'></ul>
      1. <legend id='Ir1q8'><style id='Ir1q8'><dir id='Ir1q8'><q id='Ir1q8'></q></dir></style></legend>
        <tfoot id='Ir1q8'></tfoot>
        <i id='Ir1q8'><tr id='Ir1q8'><dt id='Ir1q8'><q id='Ir1q8'><span id='Ir1q8'><b id='Ir1q8'><form id='Ir1q8'><ins id='Ir1q8'></ins><ul id='Ir1q8'></ul><sub id='Ir1q8'></sub></form><legend id='Ir1q8'></legend><bdo id='Ir1q8'><pre id='Ir1q8'><center id='Ir1q8'></center></pre></bdo></b><th id='Ir1q8'></th></span></q></dt></tr></i><div id='Ir1q8'><tfoot id='Ir1q8'></tfoot><dl id='Ir1q8'><fieldset id='Ir1q8'></fieldset></dl></div>
      2. 没有数据库的休眠搜索

        时间:2023-06-28

            <small id='UvDgD'></small><noframes id='UvDgD'>

            <legend id='UvDgD'><style id='UvDgD'><dir id='UvDgD'><q id='UvDgD'></q></dir></style></legend>
          1. <tfoot id='UvDgD'></tfoot>
                <tbody id='UvDgD'></tbody>
              • <bdo id='UvDgD'></bdo><ul id='UvDgD'></ul>
                <i id='UvDgD'><tr id='UvDgD'><dt id='UvDgD'><q id='UvDgD'><span id='UvDgD'><b id='UvDgD'><form id='UvDgD'><ins id='UvDgD'></ins><ul id='UvDgD'></ul><sub id='UvDgD'></sub></form><legend id='UvDgD'></legend><bdo id='UvDgD'><pre id='UvDgD'><center id='UvDgD'></center></pre></bdo></b><th id='UvDgD'></th></span></q></dt></tr></i><div id='UvDgD'><tfoot id='UvDgD'></tfoot><dl id='UvDgD'><fieldset id='UvDgD'></fieldset></dl></div>
                • 本文介绍了没有数据库的休眠搜索的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  是否可以只对它的注释使用休眠搜索(bean => 文档/文档 => bean 映射),而根本不使用数据库?如果是这样,是否有任何在线示例基本上显示了如何设置?

                  Is it possible to use hibernate-search only for it's annotations (bean => document/document => bean mapping), without using a database at all? If so, are there any online samples that show basically how to set this up?

                  我发现以下内容:http://mojodna.net/2006/10/02/searchable-annotation-driven-indexing-and-searching-with-lucene.html,但如果它支持我的使用,我更喜欢hibernate-search案例.

                  I found the following: http://mojodna.net/2006/10/02/searchable-annotation-driven-indexing-and-searching-with-lucene.html, but I'd prefer hibernate-search if it supports my use case.

                  推荐答案

                  我不认为这是可能的,因为当您启用 Hibernate 搜索时,您将在实体上启用它,并且该实体具有对表和搜索索引的引用.

                  I don't think that's possible because when you enable Hibernate search you are enabling that on a Entity and that Entity has references to the table and the search index.

                  这篇关于没有数据库的休眠搜索的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  上一篇:为什么 Query、TermQuery 等不再在 Lucene 4.0 中实现 Serializable? 下一篇:显示来自 Lucene 搜索结果的示例文本

                  相关文章

                • <tfoot id='jx7Tb'></tfoot>

                      <i id='jx7Tb'><tr id='jx7Tb'><dt id='jx7Tb'><q id='jx7Tb'><span id='jx7Tb'><b id='jx7Tb'><form id='jx7Tb'><ins id='jx7Tb'></ins><ul id='jx7Tb'></ul><sub id='jx7Tb'></sub></form><legend id='jx7Tb'></legend><bdo id='jx7Tb'><pre id='jx7Tb'><center id='jx7Tb'></center></pre></bdo></b><th id='jx7Tb'></th></span></q></dt></tr></i><div id='jx7Tb'><tfoot id='jx7Tb'></tfoot><dl id='jx7Tb'><fieldset id='jx7Tb'></fieldset></dl></div>
                    1. <legend id='jx7Tb'><style id='jx7Tb'><dir id='jx7Tb'><q id='jx7Tb'></q></dir></style></legend>

                        <bdo id='jx7Tb'></bdo><ul id='jx7Tb'></ul>
                    2. <small id='jx7Tb'></small><noframes id='jx7Tb'>