• <i id='8oakq'><tr id='8oakq'><dt id='8oakq'><q id='8oakq'><span id='8oakq'><b id='8oakq'><form id='8oakq'><ins id='8oakq'></ins><ul id='8oakq'></ul><sub id='8oakq'></sub></form><legend id='8oakq'></legend><bdo id='8oakq'><pre id='8oakq'><center id='8oakq'></center></pre></bdo></b><th id='8oakq'></th></span></q></dt></tr></i><div id='8oakq'><tfoot id='8oakq'></tfoot><dl id='8oakq'><fieldset id='8oakq'></fieldset></dl></div>
      <bdo id='8oakq'></bdo><ul id='8oakq'></ul>
  • <legend id='8oakq'><style id='8oakq'><dir id='8oakq'><q id='8oakq'></q></dir></style></legend>
  • <small id='8oakq'></small><noframes id='8oakq'>

    <tfoot id='8oakq'></tfoot>
      1. Lucene 作为数据存储

        Lucene as data store(Lucene 作为数据存储)
            <tbody id='KRQ97'></tbody>

          1. <tfoot id='KRQ97'></tfoot>
            • <bdo id='KRQ97'></bdo><ul id='KRQ97'></ul>

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

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

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

                1. 本文介绍了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 作为数据存储的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  Lucene Porter Stemmer not public(Lucene Porter Stemmer 未公开)
                  How to index pdf, ppt, xl files in lucene (java based or python or php any of these is fine)?(如何在 lucene 中索引 pdf、ppt、xl 文件(基于 java 或 python 或 php 中的任何一个都可以)?)
                  KeywordAnalyzer and LowerCaseFilter/LowerCaseTokenizer(KeywordAnalyzer 和 LowerCaseFilter/LowerCaseTokenizer)
                  How to search between dates (Hibernate Search)?(如何在日期之间搜索(休眠搜索)?)
                  How to get positions from a document term vector in Lucene?(如何从 Lucene 中的文档术语向量中获取位置?)
                  Java Lucene 4.5 how to search by case insensitive(Java Lucene 4.5如何按不区分大小写进行搜索)
                    <tbody id='i1Ma9'></tbody>
                  <legend id='i1Ma9'><style id='i1Ma9'><dir id='i1Ma9'><q id='i1Ma9'></q></dir></style></legend>

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

                    • <bdo id='i1Ma9'></bdo><ul id='i1Ma9'></ul>
                    • <tfoot id='i1Ma9'></tfoot>

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