first indico workshop

12
First Indico Workshop INDICO SEARCH Adrian Mönnich 29-27 May 2013 CERN

Upload: airlia

Post on 15-Feb-2016

59 views

Category:

Documents


1 download

DESCRIPTION

First Indico Workshop. INDICO SEARCH. 29-27 May 2013 CERN. Adrian Mönnich. Why have a talk about this?. Searching is easy?! WHERE title LIKE '%foo%' No, it’s not! Indico doesn’t use SQL at all Even if it did, it would be extremely slow and not flexible - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: First  Indico  Workshop

First Indico Workshop

INDICO SEARCHAdrian Mönnich

29-27 May 2013 CERN

Page 2: First  Indico  Workshop

Why have a talk about this?Searching is easy?! WHERE title LIKE '%foo%'

No, it’s not!Indico doesn’t use SQL at allEven if it did, it would be extremely slow and not flexibleWe use external search engines and let them access our data

Page 3: First  Indico  Workshop

What’s there?Indico Plugins: Search and Live Sync

Search plugins provide the search interface for usersLive Sync plugins let search engines access Indico dataOne search plugin and one live sync plugin per engine

Page 4: First  Indico  Workshop

What’s there?Which engines are available

> CERN Search https://search.cern.ch> Invenio http://invenio-software.org> Sorry, no Google integration available (by default)

Page 5: First  Indico  Workshop

What’s there?How are they integrated?

> Redirect to search engine’s site (e.g. Invenio)> Inside Indico: Retrieved by Indico (e.g. Invenio)> Inside Indico: Embedded Iframe (e.g. CERN Search)

Page 6: First  Indico  Workshop

How to use them?Configuring Indico is easy: Search Plugin

Let’s use InvenioNot much to configureInvenio URL and mode“Reload All Manually”

Page 7: First  Indico  Workshop

How to use them?Configuring Indico is easy: Live Sync Plugin

Add a new agent

Page 8: First  Indico  Workshop

How to use them?Configuring Indico is easy: Live Sync Plugin

Start the agent

Page 9: First  Indico  Workshop

How to use them?Configuring Indico is easy: Live Sync Plugin

Perform the initial data export (slow if DB is large!)

Page 10: First  Indico  Workshop

How to use them?Configuring Indico is easy: Live Sync Plugin

AFTER the export has finished, start the agent and add a task

$ indico_livesync agent inv0 add_task

Page 11: First  Indico  Workshop

It works!Check the Indico header

Page 12: First  Indico  Workshop

Adrian Mönnich

Questions?

https://github.com/ThiefMaster