何时创建新的solr核心?(When to create new solr core?)

编程入门 行业动态 更新时间:2024-10-26 06:32:32
何时创建新的solr核心?(When to create new solr core?)

利用solr的应用程序通常会创建单个核心,还是应该创建一个新核心来处理不相关数据的每个搜索功能。

例如,我有一个用户搜索,文档搜索,客户端搜索和工作流搜索的应用程序。 通常会创建四个内核来支持这个,或者只是将所有数据加载到一个内核中吗?

Do applications that utilize solr typically create a single core, or should one create a new core to handle each search function for unrelated data.

For example, I have an application with user search, document search, client search, and workflow search. Would one typically create four cores to support this, or simply load all the data into a single core?

最满意答案

这取决于你搜索的内容。 如果您的文档搜索与用户搜索完全分开,并且您从不搜索这两种类型 - 将它们分开。 但是,如果您使用一个查询搜索用户,文档和客户端 - 使它们相同。

That depends on what you search for. If your document search is completely separate from user search and you never search across both of those types - make them separate. But if you search across users and documents and clients with one query - make them same.

更多推荐

本文发布于:2023-08-02 00:10:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1368017.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:核心   solr   core   create

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!