久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

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

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

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

      為什么 Lucene 不支持對現有文檔進行任何類型的更

      Why Lucene doesn#39;t support any type of update to an existing document(為什么 Lucene 不支持對現有文檔進行任何類型的更新)
        <tfoot id='Ui1GL'></tfoot>
        <legend id='Ui1GL'><style id='Ui1GL'><dir id='Ui1GL'><q id='Ui1GL'></q></dir></style></legend>

                <tbody id='Ui1GL'></tbody>

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

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

              • 本文介紹了為什么 Lucene 不支持對現有文檔進行任何類型的更新的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                問題描述

                我的用例涉及索引一個 Lucene 文檔,然后在以后的多個場合添加指向該現有文檔的術語,而不是為每個新術語刪除和重新添加整個文檔(因為性能,而不是保留原始條款).

                My use case involves index a Lucene document, then on multiple future occasions add terms that point to this existing doc, that's without deleting and re-adding the entire document for each new term (because of performance, and not keeping the original terms).

                我知道文檔不能真正更新.我的問題是為什么?

                I do know that a document can not be truly updated. My question is why?

                或者更準確地說,為什么不支持所有形式的更新(術語、存儲字段)?
                為什么不可能添加另一個術語來指向現有文檔 - 從技術上講:所需要的不僅僅是將現有的文檔 ID 放在術語的發布列表中.為什么這么難?是否有一些不可變的統計數據?

                Or more precisely, why are all forms of updates (terms, stored fields) not supported?
                Why it's not possible to add another term to point to an existing document - technically: isn't all that's needed is to have the existing doc Id placed in the posting list of the term. Why is that hard? Is there some immutable statistics that are in the way?

                是否有任何解決方法可以支持我將術語(索引字段)添加到現有文檔的用例?

                Are there any workarounds for supporting my usecase of adding a term (indexed field) to an existing doc?

                推薦答案

                我知道文檔不能真正更新.我的問題是為什么?

                I do know that a document can not be truly updated. My question is why?

                Gili,編輯文檔會導致相關術語發布發生變化,由于術語發布列表結構,這是有問題的.過帳列表被排序并按順序存儲在內存中.因此,要將文檔添加到術語的發布列表中,您必須為其提供更高的 doc id,這是通過刪除并重新索引整個文檔來完成的.

                Gili, editing a document will cause changes in the related terms postings and this is problematic due to to the terms posting-list structure. The posting-list is sorted and stored sequential in memory. Thus to add a document to a term's posting-list you have to give it a higher doc id this is done by deleting and re-index the entire document.

                這篇關于為什么 Lucene 不支持對現有文檔進行任何類型的更新的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

                【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!

                相關文檔推薦

                How can I detect integer overflow on 32 bits int?(如何檢測 32 位 int 上的整數溢出?)
                Local variables before return statements, does it matter?(return 語句之前的局部變量,這有關系嗎?)
                How to convert Integer to int?(如何將整數轉換為整數?)
                How do I create an int array with randomly shuffled numbers in a given range(如何在給定范圍內創建一個隨機打亂數字的 int 數組)
                Inconsistent behavior on java#39;s ==(java的行為不一致==)
                Why is Java able to store 0xff000000 as an int?(為什么 Java 能夠將 0xff000000 存儲為 int?)
                  <tfoot id='XtXay'></tfoot>
                  • <bdo id='XtXay'></bdo><ul id='XtXay'></ul>

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

                      • <small id='XtXay'></small><noframes id='XtXay'>

                        <legend id='XtXay'><style id='XtXay'><dir id='XtXay'><q id='XtXay'></q></dir></style></legend>
                          主站蜘蛛池模板: 亚洲自拍网站 | 日韩在线视频一区二区三区 | 欧美三级三级三级爽爽爽 | 一级做a爰片久久毛片潮喷 亚洲黄色天堂 | 欧美不卡视频 | 国产乱码一区二区三区 | av资源在线播放 | 蜜桃久久久 | 成人久久网站 | 日韩中文字幕视频 | 美女久久久久 | 黄色片在线播放 | 国产精品不卡视频 | 四虎成人在线 | 91福利区| 丁香综合网| 国产在线日韩 | 日本成人精品 | 久久久综合 | 精品久久久久久久 | 国产成人综合网 | 国产视频成人 | www.国产在线观看 | 对白刺激国产子与伦 | 免费看a级片 | 久久久久久久 | 一级黄色片网站 | 欧美视频a | 中文字幕在线免费观看 | 国产成人99久久亚洲综合精品 | www99热| 91av视频在线观看 | 日韩av在线看 | 日本在线一区二区三区 | 国产一级片网站 | 99视频在线观看免费 | 成人久久av | 97av在线视频| 国产福利一区二区 | 我要看一级黄色片 | 久久视频这里只有精品 |