Drupal, searching dynamically created pages

251 Views Asked by At

My drupal site contains a page where product details are generated from the database based on product id. One requirement is that product details be searchable. The Drupal search indexes the static pages. How can I index the details generated in the dynamic pages.

edit1: I am using php filter to generate the page. Ex drupalurl/products/id1, drupalurl/products/id2, drupalurl/products/id3 all will pull different content from the db.

1

There are 1 best solutions below

0
On

hook_update_index - might be the solution to your problem. You will need to "render" your dynamic fields and send them to the indexer using this hook.