O'Reilly logo

Apache Solr 3 Enterprise Search Server by Eric Pugh, David Smiley

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 7. Search Components

Solr's primary extension mechanism is called a Search Component . You've actually been using several of them already: QueryComponent performs the actual searches (notably the q parameter), DebugComponent outputs the invaluable query debugging information when setting debugQuery , and FacetComponent performs the faceting we used in Chapter 6, Faceting. In addition, there are many more that do all sorts of useful things that can really enhance your search experience:

  • Highlighting: For returning highlighted text snippets of matching text in the original data
  • Spell checking: For suggesting alternative queries; often called "Did you mean?"
  • Suggester*: For suggesting complete queries based on partially typed input; often ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required