searching content stored in xml using Lucence

Events happening in the community are now at Drupal community events on www.drupal.org.
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.

Categories: , ,

Comments

how about using the node import module?

Posted by scotjam on April 13, 2010 at 7:59pm

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

Posted by t14 on June 14, 2010 at 9:38am

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

Posted by t14 on April 15, 2010 at 10:22am

Thanks for your reply.

I will look into both of your suggestions and post my results here.

or table_wizard module

Posted by ddorian on May 1, 2010 at 8:52am

or table_wizard module

Lucene, Nutch and Solr

Group organizers

Group categories

Projects

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

AltStyle によって変換されたページ (->オリジナル) /