Download - Enterprise Search con Liferay 6.1
![Page 1: Enterprise Search con Liferay 6.1](https://reader033.vdocument.in/reader033/viewer/2022061206/54823741b4af9fb72b8b4813/html5/thumbnails/1.jpg)
Advanced Search & IndexingIn Liferay 6.1
External sources integration
Filippo Frignocca | Marcello TorrianiAriadne
November 16th, 2012
![Page 2: Enterprise Search con Liferay 6.1](https://reader033.vdocument.in/reader033/viewer/2022061206/54823741b4af9fb72b8b4813/html5/thumbnails/2.jpg)
Intro & Agenda
Search in intranet portals Business requirements: clustering,
advanced indexing configuration, external sources integration
Ariadne experience Liferay 6.1 indexing and searching
solutions Our solution: Liferay 6.1, Solr 4.0,
ManifoldCF
![Page 3: Enterprise Search con Liferay 6.1](https://reader033.vdocument.in/reader033/viewer/2022061206/54823741b4af9fb72b8b4813/html5/thumbnails/3.jpg)
Search in intranet portal
Large amount of structered and unstructured content
Content can be anywhere: DB, filesystem, repository…
Users have to find information quickly and efficiently
![Page 4: Enterprise Search con Liferay 6.1](https://reader033.vdocument.in/reader033/viewer/2022061206/54823741b4af9fb72b8b4813/html5/thumbnails/4.jpg)
Business requirements
Indexing & Searching in an enterprise environment means:
Seamless integration in SERP External sources indexing Clustered environment Scalability Advanced indexing features needs
![Page 5: Enterprise Search con Liferay 6.1](https://reader033.vdocument.in/reader033/viewer/2022061206/54823741b4af9fb72b8b4813/html5/thumbnails/5.jpg)
Our past work in Ariadne
On Liferay 5.x Deep customization: a new Web CMS Integration of a Content Repository ElasticSearch Integration of external contents: Google Search Appliance
![Page 6: Enterprise Search con Liferay 6.1](https://reader033.vdocument.in/reader033/viewer/2022061206/54823741b4af9fb72b8b4813/html5/thumbnails/6.jpg)
Liferay 6.1 and search
Opensearch Faceted search Document & Media search:
Liferay 6.1 supports searching both local and remote repositories.
The search capabilities, however, are limited to the facilities that is provided by the protocol
![Page 7: Enterprise Search con Liferay 6.1](https://reader033.vdocument.in/reader033/viewer/2022061206/54823741b4af9fb72b8b4813/html5/thumbnails/7.jpg)
Solr 4
Schema aware Search functions Plug handlers and function Cache Replication Statistics
![Page 8: Enterprise Search con Liferay 6.1](https://reader033.vdocument.in/reader033/viewer/2022061206/54823741b4af9fb72b8b4813/html5/thumbnails/8.jpg)
SolrCloud
High scale, fault tolerant, distributed indexing and search
Collections (indexes) may span through different SolrCores
Zookeeper manage cluster configuration and coordination
![Page 9: Enterprise Search con Liferay 6.1](https://reader033.vdocument.in/reader033/viewer/2022061206/54823741b4af9fb72b8b4813/html5/thumbnails/9.jpg)
ManifoldCF
Crawler framework for connecting source content repositories (Sharepoint, Documentum, web sites, shares,...) to indexers (Solr, Elasticsearch, …)
Resilient, incremental Integrated with document security Connectors:
● Authority connectors: map user name to access to a repository
● Repository connectors: fetch documents from a repository
● Output connectors: push documents to (an indexer)
![Page 10: Enterprise Search con Liferay 6.1](https://reader033.vdocument.in/reader033/viewer/2022061206/54823741b4af9fb72b8b4813/html5/thumbnails/10.jpg)
ManifoldCF input connectors
![Page 11: Enterprise Search con Liferay 6.1](https://reader033.vdocument.in/reader033/viewer/2022061206/54823741b4af9fb72b8b4813/html5/thumbnails/11.jpg)
Portal Assets and external CMIS-compliant repositories
UNIFIED INDEX(Solr)
External sources crawling(ManifoldCF)
![Page 12: Enterprise Search con Liferay 6.1](https://reader033.vdocument.in/reader033/viewer/2022061206/54823741b4af9fb72b8b4813/html5/thumbnails/12.jpg)
Liferay 6.1 & Solr 4
Liferay integrates Solr 1.4 Upgrade to 4.0:
● Index Schema Definition
● Solr plugin fix to handle void snippet results
● Solr plugin configuration to connect to external Index Engine/Cluster
![Page 13: Enterprise Search con Liferay 6.1](https://reader033.vdocument.in/reader033/viewer/2022061206/54823741b4af9fb72b8b4813/html5/thumbnails/13.jpg)
Schema Definition for SolR 4.0 – Liferay 6.1 integration
primary key: uid
![Page 14: Enterprise Search con Liferay 6.1](https://reader033.vdocument.in/reader033/viewer/2022061206/54823741b4af9fb72b8b4813/html5/thumbnails/14.jpg)
Fix to handle results with matches in all metadata, not only Content or Title
![Page 15: Enterprise Search con Liferay 6.1](https://reader033.vdocument.in/reader033/viewer/2022061206/54823741b4af9fb72b8b4813/html5/thumbnails/15.jpg)
External Index Configuration
![Page 16: Enterprise Search con Liferay 6.1](https://reader033.vdocument.in/reader033/viewer/2022061206/54823741b4af9fb72b8b4813/html5/thumbnails/16.jpg)
ManifoldCF output connector
![Page 17: Enterprise Search con Liferay 6.1](https://reader033.vdocument.in/reader033/viewer/2022061206/54823741b4af9fb72b8b4813/html5/thumbnails/17.jpg)
ManifoldCF repository connector
![Page 18: Enterprise Search con Liferay 6.1](https://reader033.vdocument.in/reader033/viewer/2022061206/54823741b4af9fb72b8b4813/html5/thumbnails/18.jpg)
ManifoldCF job scheduler
![Page 19: Enterprise Search con Liferay 6.1](https://reader033.vdocument.in/reader033/viewer/2022061206/54823741b4af9fb72b8b4813/html5/thumbnails/19.jpg)
ManifoldCF job monitor
![Page 20: Enterprise Search con Liferay 6.1](https://reader033.vdocument.in/reader033/viewer/2022061206/54823741b4af9fb72b8b4813/html5/thumbnails/20.jpg)
ManifoldCF output configuration
![Page 21: Enterprise Search con Liferay 6.1](https://reader033.vdocument.in/reader033/viewer/2022061206/54823741b4af9fb72b8b4813/html5/thumbnails/21.jpg)
Custom plugin
To show external source search results in the Liferay Faceted Search Portlet we need to:
Define one (or more) Asset Model Class Configure a custom Indexer Class Implement proper Hook to override the result page jsps Properly configure the Faceted Search Portlet
![Page 22: Enterprise Search con Liferay 6.1](https://reader033.vdocument.in/reader033/viewer/2022061206/54823741b4af9fb72b8b4813/html5/thumbnails/22.jpg)
Indexed and Model classes
![Page 23: Enterprise Search con Liferay 6.1](https://reader033.vdocument.in/reader033/viewer/2022061206/54823741b4af9fb72b8b4813/html5/thumbnails/23.jpg)
Faceted Search jsp Hook
![Page 24: Enterprise Search con Liferay 6.1](https://reader033.vdocument.in/reader033/viewer/2022061206/54823741b4af9fb72b8b4813/html5/thumbnails/24.jpg)
Faceted Search Configuration
![Page 25: Enterprise Search con Liferay 6.1](https://reader033.vdocument.in/reader033/viewer/2022061206/54823741b4af9fb72b8b4813/html5/thumbnails/25.jpg)
Faceted Search Results
![Page 26: Enterprise Search con Liferay 6.1](https://reader033.vdocument.in/reader033/viewer/2022061206/54823741b4af9fb72b8b4813/html5/thumbnails/26.jpg)
Work in progress
Indexing and searching protected resources Optimize External Asset Management Tags and Categories consistence check Optimize Index schema mapping Entry detail link management for external results