Loading presentation...

Present Remotely

Send the link below via email or IM

Copy

Present to your audience

Start remote presentation

  • Invited audience members will follow you as you navigate and present
  • People invited to a presentation do not need a Prezi account
  • This link expires 10 minutes after you close the presentation
  • A maximum of 30 users can follow your presentation
  • Learn more about this feature in our knowledge base article

Do you really want to delete this prezi?

Neither you, nor the coeditors you shared it with will be able to recover it again.

DeleteCancel

Make your likes visible on Facebook?

Connect your Facebook account to Prezi and let your likes appear on your timeline.
You can change this under Settings & Account at any time.

No, thanks

Stop searching in the dark. Start finding in the light.

My talk at the 010PHP meetup in Rotterdam, where I will discuss the disadvantages of a self made search 'engine', and why you should use a real engine such as Solr or ElasticSearch.
by

Roberto Gardenier

on 27 June 2014

Comments (0)

Please log in to add your comment.

Report abuse

Transcript of Stop searching in the dark. Start finding in the light.

Stop
searching
in the dark.
Start
finding
in the light!

Hi, can you help me find stuff?
Common troubles / mistakes
I feel a disturbance in the search...
- 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!
Hello Search
Let's search and sort relevance
Moar! Moar! Moar!
I need a search solution, but my site isn't big enough for a real search engine.

I'll write my own.
Source: http://stackoverflow.com/questions/1241602/mysql-match-across-multiple-tables
Collections, I need collections!
Highlights
Source: http://forums.devshed.com/php-development-5/highlight-search-result-from-mysql-database-search-118642.html
What could I use instead?
Hi, my name is Solr!
- 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...
Hi, my name is Solarium!
- Supports all basic and most
of Solr's more extended functionality.
- Such as:
- Facets,
- Grouping,
- Spellchecking,
- MoreLikeThis,
- Hit highlighting
- Sharding,
- Load balancing
And more!

Hi, my name is Nutch!
- 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.
Hi, my name is Elasticsearch
- 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
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 !
Now lets add stuff!
Let's retrieve stuff!
- Install Solarium using Composer
- Create a config.php and
configure your connection
Get Solarium
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!
Configure Solr
WHOAMI
Roberto Gardenier

Developer @ SIMgroep
1 of the 3 founders of 010PHP

PHP Enthusiast
Blogger
Drummer
Movies

@caroganet
caroga.net
Full transcript