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

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

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

    2. <tfoot id='nWrYS'></tfoot>

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

        Solr 中的查詢超時

        Timing out a query in Solr(Solr 中的查詢超時)

      1. <tfoot id='NBVGH'></tfoot>
          <bdo id='NBVGH'></bdo><ul id='NBVGH'></ul>
          • <legend id='NBVGH'><style id='NBVGH'><dir id='NBVGH'><q id='NBVGH'></q></dir></style></legend>

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

                  <tbody id='NBVGH'></tbody>

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

                  本文介紹了Solr 中的查詢超時的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學(xué)習(xí)吧!

                  問題描述

                  我通過自定義開發(fā)層對 solr 進(jìn)行查詢,并且在我的層中超時的少數(shù)查詢?nèi)栽?solr 實例中.solr 中是否有一個參數(shù)可以用來使特定查詢超時

                  I hitting queries to solr through a custom developed layer and few queries which i time out in my layer are still in the solr instance. Is there a parameter in solr which can be used to time out an particular query

                  推薦答案

                  如 中所述客戶端斷開連接后 Solr 查詢是否繼續(xù)? 和 寫在 Solr 常見問題解答中

                  在內(nèi)部,Solr 不會對任何請求進(jìn)行超時 - 它允許更新和查詢都需要花費多長時間才能完全處理.

                  Internally, Solr does nothing to time out any requests -- it lets both updates and queries take however long they need to take to be processed fully.

                  但在常見問題解答中的同一位置寫入

                  But at the same spot in the FAQ is written

                  但是,用于運行 Solr 的 servlet 容器可能會對所有請求施加任意超時限制.如果您發(fā)現(xiàn)此值太低,請查閱您的 Serlvet 容器的文檔.(在 Jetty 中,相關(guān)設(shè)置是maxIdleTime",以毫秒為單位)

                  However, the servlet container being used to run Solr may impose arbitrary timeout limits on all requests. Please consult the documentation for your Serlvet container if you find that this value is too low. (In Jetty, the relevant setting is "maxIdleTime" which is in milliseconds)

                  因此,您可以將容器配置為關(guān)閉長時間運行的請求,以便連接的 HTTPClients 接收關(guān)閉.

                  So you may configure your container to close a long-running request so that the HTTPClients connected receive a shutdown.

                  但這可能還不夠,但 Solr 內(nèi)部可能仍在工作,在您的服務(wù)器上產(chǎn)生負(fù)載.因此可以使用常用的timeAllowed參數(shù).

                  However that may not be enough, Solr could internally still be working though, generating load on your Server. Therefore the common timeAllowed parameter may be used.

                  timeAllowed - 此參數(shù)指定允許完成搜索的時間量(以毫秒為單位).如果此時間在搜索完成之前到期,將返回任何部分結(jié)果.

                  timeAllowed - This parameter specifies the amount of time, in milliseconds, allowed for a search to complete. If this time expires before the search is complete, any partial results will be returned.

                  在每個請求中或在您的 solrconfig.xml 中配置為默認(rèn)值.

                  Either with each request or configured as default in your solrconfig.xml.

                  <requestHandler name="standard" class="solr.StandardRequestHandler" default="true">
                      <lst name="defaults">
                          <!-- other parts left out -->
                          <!-- timeout (in milliseconds) -->
                          <int name="timeAllowed">5000</int>
                      </lst>
                  </requestHandler>
                  

                  這篇關(guān)于Solr 中的查詢超時的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網(wǎng)!

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

                  相關(guān)文檔推薦

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

                    <tfoot id='2WbJY'></tfoot>
                      <tbody id='2WbJY'></tbody>

                      <small id='2WbJY'></small><noframes id='2WbJY'>

                          <bdo id='2WbJY'></bdo><ul id='2WbJY'></ul>
                        • <i id='2WbJY'><tr id='2WbJY'><dt id='2WbJY'><q id='2WbJY'><span id='2WbJY'><b id='2WbJY'><form id='2WbJY'><ins id='2WbJY'></ins><ul id='2WbJY'></ul><sub id='2WbJY'></sub></form><legend id='2WbJY'></legend><bdo id='2WbJY'><pre id='2WbJY'><center id='2WbJY'></center></pre></bdo></b><th id='2WbJY'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='2WbJY'><tfoot id='2WbJY'></tfoot><dl id='2WbJY'><fieldset id='2WbJY'></fieldset></dl></div>
                          <legend id='2WbJY'><style id='2WbJY'><dir id='2WbJY'><q id='2WbJY'></q></dir></style></legend>
                          1. 主站蜘蛛池模板: 中文字幕一级毛片视频 | 99视频免费在线观看 | 91精品国产综合久久精品 | 麻豆一区二区三区精品视频 | 国产福利在线 | 成人a视频在线观看 | 97精品超碰一区二区三区 | 九九九久久国产免费 | 亚洲国产精品久久久久秋霞不卡 | 中文字幕一区二区三区精彩视频 | 亚洲小视频在线播放 | 国产精品小视频在线观看 | 久久大陆| 国产成人综合在线 | 色婷婷综合久久久中文字幕 | 久久国产精品一区 | 久久精品国产一区二区 | 日本三级网 | 国产91丝袜在线播放 | 国产免费麻豆视频 | 免费看国产精品视频 | 欧日韩在线观看 | 欧美国产视频 | 欧美午夜视频 | 九九九久久国产免费 | 成人二区| 日韩三级一区 | 欧美视频在线一区 | 欧美亚洲视频在线观看 | 国产 日韩 欧美 在线 | 国产探花在线精品一区二区 | 高清人人天天夜夜曰狠狠狠狠 | 欧美精品一区在线发布 | 国产激情片在线观看 | 成人永久免费视频 | 九一视频在线播放 | 成人在线观看网址 | 在线91| 欧美激情亚洲天堂 | 综合国产 | 日韩中文字幕 |