<legend id='B7wpa'><style id='B7wpa'><dir id='B7wpa'><q id='B7wpa'></q></dir></style></legend>
      <tfoot id='B7wpa'></tfoot>
      • <bdo id='B7wpa'></bdo><ul id='B7wpa'></ul>

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

      <i id='B7wpa'><tr id='B7wpa'><dt id='B7wpa'><q id='B7wpa'><span id='B7wpa'><b id='B7wpa'><form id='B7wpa'><ins id='B7wpa'></ins><ul id='B7wpa'></ul><sub id='B7wpa'></sub></form><legend id='B7wpa'></legend><bdo id='B7wpa'><pre id='B7wpa'><center id='B7wpa'></center></pre></bdo></b><th id='B7wpa'></th></span></q></dt></tr></i><div id='B7wpa'><tfoot id='B7wpa'></tfoot><dl id='B7wpa'><fieldset id='B7wpa'></fieldset></dl></div>
      1. Lucene JDBC 目录

        时间:2023-09-29
      2. <tfoot id='HhgrP'></tfoot>
            <tbody id='HhgrP'></tbody>

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

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

                • <bdo id='HhgrP'></bdo><ul id='HhgrP'></ul>
                  <legend id='HhgrP'><style id='HhgrP'><dir id='HhgrP'><q id='HhgrP'></q></dir></style></legend>
                  本文介绍了Lucene JDBC 目录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

                  问题描述

                  我正在使用 Lucene 3.5.0 在我的网站上做一些基本的搜索工作.我想将索引存储在 Mysql 数据库的 JDBC 目录中.我打算使用 Compass 项目来执行此操作,但经过更多研究并实际尝试了代码,我发现 Compass 是一个死项目,它不再与当前版本的 Lucene 兼容.

                  I am using Lucene 3.5.0 to do some basic search stuff on my website. I want to store the index in a JDBC Directory in my Mysql Database. I was going to use the Compass Project to do this, but with some more research and actually trying the code I have found that Compass is a dead project and it no longer is compatible with the current version of Lucene.

                  还有其他选项可以将我的索引存储在 JDBC 目录中吗?Lucene 不提供这个原生是有原因的吗?出于某种原因,在 HDD 上存储是更好的选择吗?

                  Is there another option to store my index in a JDBC Directory? Is there a reason Lucene does not offer this native? Is storing on the HDD a better option for some reason?

                  推荐答案

                  来自 常见问题解答:

                  Lucene 不支持开箱即用的功能,但有几个人实现了 JdbcDirectory 的.到目前为止,我们看到的报告表明,这种实现的性能不是很好,但它是可行的.

                  Lucene does not support that functionality out of the box, but several people have implemented JdbcDirectory's. The reports we have seen so far indicate that performance with such implementations is not great, but it is doable.

                  另一种方法是将索引作为 BLOB 存储在数据库中,如果您有多个节点运行您的应用程序,这可能会很有用.如果为 BLOB 添加时间戳,每个节点都可以检查索引是否已更新并从数据库中重新创建索引文件.

                  Another approach would be to store the index in the database as a BLOB, this could be useful if you have multiple nodes running your application. If you add a timestamp to the BLOB each node could check whether the index has been updated and recreate the index file from the DB.

                  这篇关于Lucene JDBC 目录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!

                  上一篇:Solr:如何动态提升有限数量的文档?QueryElevationCo 下一篇:Lucene 搜索结果按自定义订单列表排序(每个用户唯

                  相关文章

                  最新文章

                  <i id='aaXSL'><tr id='aaXSL'><dt id='aaXSL'><q id='aaXSL'><span id='aaXSL'><b id='aaXSL'><form id='aaXSL'><ins id='aaXSL'></ins><ul id='aaXSL'></ul><sub id='aaXSL'></sub></form><legend id='aaXSL'></legend><bdo id='aaXSL'><pre id='aaXSL'><center id='aaXSL'></center></pre></bdo></b><th id='aaXSL'></th></span></q></dt></tr></i><div id='aaXSL'><tfoot id='aaXSL'></tfoot><dl id='aaXSL'><fieldset id='aaXSL'></fieldset></dl></div>
                  <tfoot id='aaXSL'></tfoot>
                    • <bdo id='aaXSL'></bdo><ul id='aaXSL'></ul>

                    <legend id='aaXSL'><style id='aaXSL'><dir id='aaXSL'><q id='aaXSL'></q></dir></style></legend>

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