How to set up Apache solr search for Book Specific search
If you are familiar with views this can be done with the following steps.

We have a contributed module for apache solr views, by installing this module you can change the views module to apache solr views i.e you can route the queries from database queries to apache solr.

Working example :

Step 1: 

Download and install the apache solr views module.


Once the module is installed the following steps is equivalent to creating a normal view with an exposed filters.

Step 2:

Create a new view I have named book search (I have created a normal menu  for the book search and added in the views path configuration i.e : " Path: /apachesolrfilters ", you can create a stand alone page or add it to any existing blocks), add fields and filters,

Fields : I have added content title, body &amp; content type
Filters: I have added  Content: Published (Yes), Content: Type (exposed) &amp; Content: Title (exposed) 



Configure the filter content type to show only the book types book1 &amp; book2.



Save the view and clear the cache.

Screen shot: