Hi
I want to know about the code flow of apache solr module.In this module I want to change nid into own table.I want to change the code independ of nid. I know how solr works.So if anyone help me to describe the code flow of this module,it will vey helpful to me.

Thanks in advance

-sanraj

Comments

JacobSingh’s picture

Status: Active » Fixed

Hi Sanraj,

I'm not sure what you are asking or what kind of response you are looking for, but roughly:

1. The search module fires hook_update_index when cron is run

2. apachesolr_search.module implements this hook and builds XML from nodes to send to the solr server

3. apachesolr_search.module implements hook_search so when you go to search/apachesolr_search it will search the index

4. apachesolr.module implements hook_block which is used to build the faceted search blocks.

Hope that helps.

Jacob

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.