Introducing 

Prezi AI.

Your new presentation assistant.

Refine, enhance, and tailor your content, source relevant images, and edit visuals quicker than ever before.

Loading…
Transcript

WHOAMI

Roberto Gardenier

Developer @ SIMgroep

1 of the 3 founders of 010PHP

PHP Enthusiast

Blogger

Drummer

Movies

@caroganet

caroga.net

Stop searching in the dark.

Start finding in the light!

What could I use instead?

Hi, my name is Solarium!

Hi, my name is Solr!

- Supports all basic and most

of Solr's more extended functionality.

- Such as:

- Facets,

- Grouping,

- Spellchecking,

- MoreLikeThis,

- Hit highlighting

- Sharding,

- Load balancing

And more!

- Open source search platform,

based on Apache Lucene

- Powerful full-text search,

- (Hit) highlighting,

- Faceted search,

- Rich document (e.g., Word, PDF)

handling

- REST-like HTTP/XML and JSON

API's

- Active community

And much more...

I feel a disturbance in the search...

Hi, my name is Elasticsearch

Hi, my name is Nutch!

- Also based on Apache Lucene

- RESTful JSON API

- Distributed, therefore, high availability

- Gaining insights, such as real time

analytics and data insight

- Schema free

- Active community as well

- They have a cool bonsai tree on their

site

- Highly extensible and Scalable.

- Two actively codebases.

- Active community.

- Based on Apache Hadoop or

Gora (abstracted) data storage

- Works with Solr or Elasticsearch,

natively

- Rich Text searches, using Apache

Tika.

- These are not the documents you're

looking for

- Can we easily expand our searches?

- What about Richt Text Documents?

- Why did we wrote all this, when we could

use a Open Source solution?

Let's talk Solr / Solarium!

Hi, can you help me find stuff?

Now lets add stuff!

Configure Solr

First run?

- Make sure you have java v1.6 or greater

- wget http://ftp.nluug.nl/internet/apache/lucene/solr/4.4.0/solr-4.4.0.tgz

- Extract

- cd solr-4.4.0/example/

- java -jar start.jar

- Browse to http://localhost:8983/solr

- No worries, solr comes with example

configuration files !

Let's retrieve stuff!

Common troubles / mistakes

These are the documents

I was searching for!

- Your search solution is now

scalable, extendable !

- No difficulties or headaches about

how it works!

- Native support for Rich Text

Documents! (Apache Tika).

- Focus on presenting your results!

Get Solarium

- Install Solarium using Composer

- Create a config.php and

configure your connection

I need a search solution, but my site isn't big enough for a real search engine.

I'll write my own.

Let's search and sort relevance

Collections, I need collections!

Hello Search

Highlights

Moar! Moar! Moar!

Source: http://stackoverflow.com/questions/1241602/mysql-match-across-multiple-tables

Source: http://forums.devshed.com/php-development-5/highlight-search-result-from-mysql-database-search-118642.html

Learn more about creating dynamic, engaging presentations with Prezi