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

    <bdo id='GW1va'></bdo><ul id='GW1va'></ul>

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

      1. <tfoot id='GW1va'></tfoot>
        <legend id='GW1va'><style id='GW1va'><dir id='GW1va'><q id='GW1va'></q></dir></style></legend>
      2. Lucene 作为数据存储

        时间:2023-09-29
        <legend id='oFnGa'><style id='oFnGa'><dir id='oFnGa'><q id='oFnGa'></q></dir></style></legend>

      3. <tfoot id='oFnGa'></tfoot>
        • <small id='oFnGa'></small><noframes id='oFnGa'>

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

                    <tbody id='oFnGa'></tbody>
                  本文介绍了Lucene 作为数据存储的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

                  问题描述

                  是否可以使用 Lucene 作为成熟的数据存储(像其他(mongo,couch)nosql 变体).

                  Is it possible to use Lucene as full fledged data store (like other(mongo,couch) nosql variants).

                  我知道有一些限制,例如一个索引器新更新的文档不会显示在其他索引器中.所以我们需要重启索引器来获取更新.

                  I know there are some limitations like newly updated documents by one indexer will not be shown in other indexer. So we need to restart the indexer to get the updates.

                  但我最近偶然发现了 solr,似乎通过某种快照复制可以避免这些问题.

                  But i stumble upon solr lately, it seems these problems are avoided by some kind of snapshot replication.

                  所以我认为我可以使用 lucene 作为数据存储,因为这也使用 mongo 和 couch 内部使用的相同类型的文档(基于 JSON)来管理文档,并且其经过验证的索引算法可以超快速地获取记录.

                  So i thought i could use lucene as a data store since this also uses same kind of documents(JSON based) used by mongo and couch internally to manage documents, and its proven indexing algorithm fetches the records super fast.

                  但我很好奇以前有人试过吗..?如果不是,那么不选择这种方法的原因是什么.

                  But i am curious has anybody tried that before..? if not what are reasons not choosing this approach.

                  推荐答案

                  还有持久性的问题.虽然 Lucene 索引不应该被破坏,但我已经看到它发生了.Lucene 修复损坏索引的方法是将其丢弃并从原始数据重建".这对于索引工具来说非常有意义.但它确实需要您将数据存储在其他地方.

                  There is also the problem of durability. While a Lucene index should not get corrupted ever, I've seen it happen. And the approach Lucene takes to repairing a broken index is "throw it away and rebuild from the original data". Which makes perfect sense for an indexing tool. But it does require you to have the data stored somewhere else.

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

                  上一篇:“-"的 Lucene 索引问题特点 下一篇:使用 Solr 索引多种语言

                  相关文章

                  最新文章

                  • <bdo id='ekpB9'></bdo><ul id='ekpB9'></ul>

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

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