Reputation: 1084
I can't find some information about using solr in the Liferay portal. How to use solr integrated to the liferay? Solr documentation doesn't contain information about it. But in the Liferay reasources I found information about integration solr plugin only. How I can indexing and searching data from the portlet of liferay portal? Probably i don't understand some general principles... Pls, explain me it.
Upvotes: 0
Views: 2518
Reputation: 619
Liferay itself does not use SOLR, it provides fulltext search using Lucene directly. For developers and administrators it is well hidden under Liferay's own search mechanism (check the Indexer and BaseIndexer classess). The API allows you to do the following two basic tasks: Add search capability to your own portlet (check Liferay's Knowledge Base portlet as well) and Extend or Modify search capabilities of Liferay's objects.
Returning to SOLR, if you want to integrate it with Liferay, you have to do it on your own. But even then you will use only through Liferay's API, not directly. SOLR is very usefull when doing clustering. If you have a bigger installation, Lucene index replication (or other clustering strategies) may not be efficient enough. There are lot of articles about how to integrate Liferay with Lucene, check this for example.
Upvotes: 1