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

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

    1. <legend id='sQ8P8'><style id='sQ8P8'><dir id='sQ8P8'><q id='sQ8P8'></q></dir></style></legend>

        Node.js 有没有好的索引/搜索引擎?

        时间:2023-09-04

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

                  <small id='3ouA1'></small><noframes id='3ouA1'>

                    <tbody id='3ouA1'></tbody>
                • 本文介绍了Node.js 有没有好的索引/搜索引擎?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

                  问题描述

                  我正在为 node.js 应用程序寻找一个好的开源(使用 LGPL 或许可许可证)索引引擎,比如 Lucene.我正在寻找进程内索引和搜索,但对像 Sphinx 或 Solr 这样的索引服务器不感兴趣.

                  I'm looking for a good open source (with LGPL or a permissive license) indexing engine for a node.js application, something like Lucene. I'm looking for in-process indexing and search and am not interested in indexing servers like Sphinx or Solr.

                  我也不害怕为 C/C++ 库创建绑定,所以我也愿意接受这些建议.

                  I am not afraid to create bindings for a C/C++ library either so I'm open to those kind of suggestions as well.

                  到目前为止我已经找到了

                  So far I've found

                  • node-clucene 似乎不再积极维护(并且有几个未解决的问题)
                  • 我可以为 CLucene 创建自己的绑定,但它似乎很少维护,而且它的当前版本也远远落后于 Java Lucene
                  • Apache Lucy 似乎是为为动态语言创建绑定而设计的,但到目前为止它们没有节点绑定(也没有 C API),我还没有找到任何关于创建绑定的文档.我也没有找到任何关于其性能的基准.
                  • node-search似乎被放弃了
                  • jsii 好像还是个原型,也被废弃了
                  • fullproof,仅用于在网络浏览器中运行
                  • lunr.js 似乎只允许序列化整个索引,因此不可扩展
                  • node-clucene which doesn't seem to be actively maintained anymore (and has several open issues)
                  • I could create my own binding for CLucene but it seems to be quite sparsely maintained and its current version is also quite behind the Java Lucene
                  • Apache Lucy which seems to be designed for the purpose of creating bindings for dynamic languages, but so far they don't have node bindings (nor a C API) and I haven't found any docs about creating bindings. I also didn't find any benchmarks about its performance.
                  • node-search which seems to be abandoned
                  • jsii which seems to be still a prototype and is also abandoned
                  • fullproof which is only intended to run in a web broswer
                  • lunr.js which seems to only allow serializing the whole index, so isn't scalable

                  我可以自己动手",但我更喜欢使用现有的解决方案.

                  I could "roll my own", but I'd prefer to use an already existing solution.

                  为什么我对独立的索引服务器不感兴趣:我使用一个快速的进程内键值存储数据库,所以不得不退出会很浪费查询过程.

                  Why I'm not interested in a standalone index server: I use a fast in-process key-value store database, so it'd be quite a waste having to go out of process for querying.

                  推荐答案

                  只是对我之前答案的更新 - 因为讨论太多了,我不希望这个更新丢失.

                  Just an update to my earlier answer - since there was so much discussion I didn't want this update to get lost.

                  你可以下载它 这里:

                  这篇关于Node.js 有没有好的索引/搜索引擎?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!

                  上一篇:通过 javascript 对 CD-Rom 上的静态 HTML 文件进行全文 下一篇:在 JavaScript 中通过 JSON 对象进行类似 Lucene 的搜索

                  相关文章

                  最新文章

                  1. <legend id='JskO7'><style id='JskO7'><dir id='JskO7'><q id='JskO7'></q></dir></style></legend>

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

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