简体   繁体   English

Alfresco 4.1搜索集成?

[英]Alfresco 4.1 Search Integration?

I am using alfresco 4.1 & want to integrate it with solr search so that solr can access all alfresco content (keeping in mind authentication etc). 我正在使用alfresco 4.1,并希望将其与solr搜索集成在一起,以便solr可以访问所有露天内容(记住身份验证等)。

I know solr is inbuilt inside alfresco but i have a solr instance running separately which integrates searches from a number of other sources also such as DBs etc. 我知道solr内置在alfresco中,但是我有一个单独运行的solr实例,它集成了来自许多其他来源(例如数据库等)的搜索。

Which would be the best way forward? 哪个是最好的前进方向?

Regards. 问候。

I got one of the way to do it. 我有办法做到这一点。 I can install solr on a separate server & use solrj apis within alfresco for integration. 我可以将solr安装在单独的服务器上,并在户外使用solrj api进行集成。

Programatically, i can dump alfresco content for indexing to solr search using solrj using custom built xml for alfresco contents. 以编程方式,我可以转储露天目录内容,以便使用solrj对露天目录内容使用定制的xml进行索引以进行solr搜索。 Once xml are available to solr, it can be consumed by solr server & can be indexed by it. 一旦xml​​可用于solr,它就可以被solr服务器使用并可以对其进行索引。 These indexes would be separate from alfresco OOTB indexes. 这些索引将与露天OOTB索引分开。

Once indexed, it is good to go. 一旦被索引,那就好了。 Using solr apis, i can search same content in solr server, instead of alfresco plus benefit of integrating multiple content sources with solr so that solr can be used as universal search. 使用solr api,我可以在solr服务器中搜索相同的内容,而不必使用alfresco加上将多个内容源与solr集成在一起的好处,因此solr可以用作通用搜索。

However, when content items go to large volumes, i could see a performance hit as for every content item in alfresco , solr needs to index it. 但是,当内容项量很大时,我可以看到alfresco中的每个内容项都会受到性能的影响,solr需要对其进行索引。 Any workaround possible? 有什么解决方法?

Regards. 问候。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM