How to show book information in search result page I want to show some extra book information in the search result page like node id, book id, book name etc.
I have added some code in search-result.tpl.php but its still not showing.

$node-&gt;book['bid']  //is added to show book id.
$node-&gt;node['nid'] //is added to show node id.


Let me know where i am doing wrong.
Finally managed it using search-result.tpl.php file which copied in theme folder.

 $url = $variables['result']['fields']['url']; 


this variable gives search result urls from which i extracted book name and based in book name i printed book id.
@Anil, thanks for the help which guide me at right direction and got to know many more.