Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
By joetomgo on
Upon successful adding, editing or deleting content from Drupal, I would like the engine to create an XML file that is created and saved into a specific folder for processing to update the Solr engine.
Can someone tell me in layman terms how to go about this?
A typical file looks like this:
Drupal is saving me lots of time in developing a cms for our website...
Newspaper boy
Introduction
CMS
This example file would be saved as ''11222.xml''
THanks for any help.
Comments
hook_update_index
You can use hook_update index to post to Solr when content is updated, rather than creating a separate XML file - I have this working; it's quite straightforward.
Solr
Would you be willing to share the code to make this work? I'm new to PHP and Drupal and am just learning.
Thanks for the lead.
new module
http://drupal.org/project/solr