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

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

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

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

      1. <tfoot id='T0Mwr'></tfoot>

        Zend Lucene 和 Java Lucene 的性能比较

        performance comparision between Zend Lucene and Java Lucene(Zend Lucene 和 Java Lucene 的性能比较)

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

            <tbody id='RzJgT'></tbody>

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

                1. 本文介绍了Zend Lucene 和 Java Lucene 的性能比较的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  Zend Lucene 和 Java Lucene 是用 PHP 构建的分别是java,PHP语言的层次比java高.

                  Zend Lucene and Java Lucene are built in PHP and java repectively, and PHP language has a higher level than java.

                  只是想知道这两者在索引构建和数据搜索方面的性能差异有多大?

                  Just wondering How big the performance difference among these two, regarding to index building and data searching?

                  让java创建和重建索引,让php使用索引是否更有效?

                  Is it much more effective to let java create and rebuild index, and let php use the index?

                  推荐答案

                  这是来自 Zend 认证工程师的一句话.

                  This is a quote from a Zend Certified Engineer.

                  根据我更好的判断,我工作的公司迁移了我们的以前的搜索解决方案Zend_Search_Lucene.在漂亮重型硬件,索引百万份文件花了几个小时,并且搜索速度相对较慢.这索引过程消耗大量内存和索引频繁已损坏(使用 1.5.2).一个单通配符搜索字面意思让网络服务器瘫痪,所以我们禁用了该功能.记忆搜索的使用率非常高,并且结果每秒请求数必然像我们一样严重下降减少 Apache 子节点的数量进程.

                  Against my better judgment, the company I work for migrated our previous search solution to Zend_Search_Lucene. On pretty heavy-duty hardware, indexing a million documents took several hours, and searches were relatively slow. The indexing process consumed vast amounts of memory, and the indexes frequently became corrupted (using 1.5.2). A single wild card search literally brought the web server to its knees, so we disabled that feature. Memory usage was very high for searches, and as a result requests per second necessarily declined heavily as we had to reduce the number of Apache child processes.

                  我们已经搬到 Solr (a基于 Lucene 的 Java 搜索服务器)和差异是巨大的.索引现在大约需要 10 分钟搜索速度快如闪电.什么不同的语言.

                  We have since moved to Solr (a Lucene-based Java search server) and the difference is dramatic. Indexing now takes around 10 minutes and searches are lightning fast. What a difference a language makes.

                  原创文章

                  在这种情况下,Java.

                  In this case, Java.

                  这篇关于Zend Lucene 和 Java Lucene 的性能比较的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

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

                  相关文档推荐

                  How do I parse XML containing custom namespaces using SimpleXML?(如何使用 SimpleXML 解析包含自定义命名空间的 XML?)
                  SimpleXML SOAP response Namespace issues(SimpleXML SOAP 响应命名空间问题)
                  Problems with PHP namespaces and built-in classes, how to fix?(PHP 命名空间和内置类的问题,如何解决?)
                  Use php namespace inside function(在函数内部使用 php 命名空间)
                  unexpected #39;use#39; (T_USE) when trying to use composer(尝试使用作曲家时意外的“使用(T_USE))
                  PHP adding custom namespace using autoloader from composer(PHP使用来自作曲家的自动加载器添加自定义命名空间)
                  <i id='MXvjz'><tr id='MXvjz'><dt id='MXvjz'><q id='MXvjz'><span id='MXvjz'><b id='MXvjz'><form id='MXvjz'><ins id='MXvjz'></ins><ul id='MXvjz'></ul><sub id='MXvjz'></sub></form><legend id='MXvjz'></legend><bdo id='MXvjz'><pre id='MXvjz'><center id='MXvjz'></center></pre></bdo></b><th id='MXvjz'></th></span></q></dt></tr></i><div id='MXvjz'><tfoot id='MXvjz'></tfoot><dl id='MXvjz'><fieldset id='MXvjz'></fieldset></dl></div>
                  1. <legend id='MXvjz'><style id='MXvjz'><dir id='MXvjz'><q id='MXvjz'></q></dir></style></legend>

                      <tfoot id='MXvjz'></tfoot>
                      • <small id='MXvjz'></small><noframes id='MXvjz'>

                          <bdo id='MXvjz'></bdo><ul id='MXvjz'></ul>
                              <tbody id='MXvjz'></tbody>