利用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.
更多推荐
发布评论