Posted by t14 on April 11, 2010 at 1:23pm
Hi
I want to implement the lucence search module into my Drupal site.
However, I have a custom module that I developed myself which pulls content from an xml file and displays it using xslt.
I was wondering if it is possible to use the Lucence search module to offer search capabilities for my xml content.
The xml content is stored in files on the server and not in a database.
Is it possible to search xml content with the Lucence module or its API?
I am also interested in any other solutions for searching xml content.
Thank you in advance for your time.

Comments
how about using the node import module?
If you wanted to get the xml content searchable, how about adding the content of the xml into the description field of nodes? Just an idea.
Alternatively, could you use the new nutch module? It might not exactly fit, but the concept is that it can crawl content from elsewhere and inject that content into search.
Hope this helps
scotjam
Hi I have finally found
Hi
I have finally found somtitme to solve this problem,
I am considering your first option "adding the content of the xml into the description field of nodes".
The only issue I am having with this now is how to keep the content in the node fields up-to-date because all of the information will be edited in the original xml, it will be preferable to avoid having to update the information in two places.
Also on a slight tangential, if I have cutom database table created for a custom module, is there a way to get the information in this table indexed for Drupals search or another search module.
Thanks for your help
Thanks for your reply. I will
Thanks for your reply.
I will look into both of your suggestions and post my results here.
or table_wizard module
or table_wizard module