enterprise search con liferay 6.1

27
Advanced Search & Indexing In Liferay 6.1 External sources integration Filippo Frignocca | Marcello Torriani Ariadne November 16th, 2012

Upload: ariadne

Post on 06-Dec-2014

4.624 views

Category:

Documents


3 download

DESCRIPTION

Presentazione di Marcello Torriani e Filippo Frignocca al Liferay Symposium italiano 2012

TRANSCRIPT

Page 1: Enterprise Search con Liferay 6.1

Advanced Search & IndexingIn Liferay 6.1

External sources integration

Filippo Frignocca | Marcello TorrianiAriadne

November 16th, 2012

Page 2: Enterprise Search con Liferay 6.1

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

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

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

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

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

Solr 4

Schema aware Search functions Plug handlers and function Cache Replication Statistics

Page 8: Enterprise Search con Liferay 6.1

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

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

ManifoldCF input connectors

Page 11: Enterprise Search con Liferay 6.1

Portal Assets and external CMIS-compliant repositories

UNIFIED INDEX(Solr)

External sources crawling(ManifoldCF)

Page 12: Enterprise Search con Liferay 6.1

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

Schema Definition for SolR 4.0 – Liferay 6.1 integration

primary key: uid

Page 14: Enterprise Search con Liferay 6.1

Fix to handle results with matches in all metadata, not only Content or Title

Page 15: Enterprise Search con Liferay 6.1

External Index Configuration

Page 16: Enterprise Search con Liferay 6.1

ManifoldCF output connector

Page 17: Enterprise Search con Liferay 6.1

ManifoldCF repository connector

Page 18: Enterprise Search con Liferay 6.1

ManifoldCF job scheduler

Page 19: Enterprise Search con Liferay 6.1

ManifoldCF job monitor

Page 20: Enterprise Search con Liferay 6.1

ManifoldCF output configuration

Page 21: Enterprise Search con Liferay 6.1

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

Indexed and Model classes

Page 23: Enterprise Search con Liferay 6.1

Faceted Search jsp Hook

Page 24: Enterprise Search con Liferay 6.1

Faceted Search Configuration

Page 25: Enterprise Search con Liferay 6.1

Faceted Search Results

Page 26: Enterprise Search con Liferay 6.1

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

Page 27: Enterprise Search con Liferay 6.1

Thank you!

www.ariadne.it

[email protected]

@ariadnesrl

[email protected]

[email protected]