How to build a custom search engine

1,660 views

Published on

Step-by-step guide which explains you how to build a user-friendly search engine with query completion, facetted search, presets and filters on top of Apache Lucene/Solr. Searchbox's search framework is highly configurable and allows you to benefit from the advanced search engine features out of the box. Are you looking to start a search project within your company/organization? This will perfectly fit as a corporate search engine. Searchbox framework is a good alternative to solaritas, the default frontend that apache Solr provides.

Published in: Technology
0 Comments
3 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
1,660
On SlideShare
0
From Embeds
0
Number of Embeds
23
Actions
Shares
0
Downloads
0
Comments
0
Likes
3
Embeds 0
No embeds

No notes for slide

How to build a custom search engine

  1. 1. HOW TO BUILD YOUR SEARCH ENGINE by Searchbox.com
  2. 2. INTRODUCTIONAbout Searchbox: About Solr: Highly configurable search Blazing fast open source framework on top of Solr enterprise search platform Search frontend / UI Lucene-based search server Available as a Service Has REST-like HTTP/XML and JSON APIs
  3. 3. SOLR IS GREAT BUT... It remains a search server XML, JSON or CSV output Solaritas frontend / Velocity templates for quick prototypeUsers expect a lot when it comes to Search Experience
  4. 4. SOLR OUTPUT SAMPLESolaritas XML Output
  5. 5. LOTS OF WORK IN PERSPECTIVEBuilding your own UIon top of Solr will be aBIG project. Thinkabout: Advanced filters, Presets (datasources), Facetted search, Result highlight, ...
  6. 6. INTRODUCING SEARCHBOXCan be seen on: http://www.opportunity-finder.com
  7. 7. A SEARCH PROJECT WITH SEARCHBOX1. Identify your information sources2. Index those sources into our Solr Backend using: 2.1. Our Connector framework (RSS, WEB, XML, CMIS / Sharepoint, TYPO3, ...) 2.2.The Standard Solr API with a client library 2.3. Custom DataImportHandlers for large datasets3. Configure / Shape the search experience
  8. 8. CONFIGURE / SHAPE THE SEARCH EXPERIENCE
  9. 9. AGENDAHere we assume you signed up to a free trial and you indexed some data1. Look at the available fields2. Define a search preset3. Define required fields / search criterias4. Create a visualization template for your data5. Configure user filters / facets
  10. 10. This is the searchframework (searchbox.com) backend
  11. 11. In this example wehave 204 documents
  12. 12. A presetcan’t work without a unique key and a title
  13. 13. Our PrestWe didn’tdefine any field yet
  14. 14. We weight the titlemore than the rest
  15. 15. We now have three fields
  16. 16. Now wehave three fields on the result page ... But no template
  17. 17. This is a pretty basictemplate, in that case the id is a url
  18. 18. Query completion + live searchWe now have a basic search experience
  19. 19. Now wecreate a facet based on the “source”
  20. 20. Sticky facets based on the data source
  21. 21. We only want the documents for source “site”
  22. 22. We renamed the presetWe no longer have the facets
  23. 23. THIS WAS A PRETTYSIMPLE SEARCHBOX
  24. 24. NOW LET’S LOOK AT SOME SAMPLES Demos can be found onhttp://www.searchbox.com/resources/online-demos/
  25. 25. “Sort by” “Clickable tags” Rangefacets with histogram
  26. 26. Semantically related content Basic dynamic template
  27. 27. 6 Presets with distinct parameters Left templatecolumn with meta Related content from a different data source
  28. 28. WHAT’S NEXTCheck our online documentation http://help.searchbox.comCheck our website http://www.searchbox.comSign up to a free trial http://www.searchbox.com/free-trial/

×