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

A SearchHandler per search interface?

Two questions to answer early on when configuring Solr and thinking about who the consumers of the search services are:

  • Are you providing generic search services that may be consumed by a variety of end user clients?
  • Are you providing search to specific end user applications?

If you are providing generic search functionality to an unknown set of clients, then you may have just a single request handler handling search requests at /solr/select, which provides full access to the index. However, it is likely that Solr is powering interfaces for one or more applications that you know are going to make certain specific kinds of searches.

For example, say you have an e-commerce site that supports searching for products. ...

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