The attached patches provide support for the ApacheSolr module with Drupal 5 on pgsql.

I added the CREATE TABLE statements to the .install
I also removed a dpm() line in apachesolr.module that was raising a fatal function undefined error.

Lastly, I've attached an updated schema.xml and solrconfig.xml ( from the D6 version ) as those bundled with the D5 version cause Solr to fail to start due to field definition error. Will need to remove the .txt extension and change to .xml to work.

Tested and working, thanks.

DT

Comments

josh waihi’s picture

Status: Needs review » Reviewed & tested by the community

looks good. Tested and works.

claudiu.cristea’s picture

Version: 5.x-2.0-rc2 » 5.x-2.x-dev

Not very sure about .xml files.

davidwhthomas’s picture

The XML files are version drupal-0.9.3

I'd be happy to leave them here for people to find if needed.

They're not really related to the pgsql support.

The main stuff to commit is the .install and .module files

DT

claudiu.cristea’s picture

Status: Reviewed & tested by the community » Needs work

The hook_install() is implemented.

Please update the patch by adding PostgreSQL also to updates: 5000, 5005.

Thanks...

davidwhthomas’s picture

Status: Needs work » Needs review
StatusFileSize
new2.36 KB

Patch adding PostgreSQL support also to .install updates 5000, 5005 attached.

thanks,

DT

claudiu.cristea’s picture

Status: Needs review » Fixed

Thanks for your contribution. Committed in #326254.

Status: Fixed » Closed (fixed)

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