Initial patch for a new revived D6 module of apachesolr + ubercart

Comments

nick_vh’s picture

StatusFileSize
new9.84 KB

And a new patch. Enables model, list price, sell price, weight, height, length, width facet blocks.

The price blocks can be divided in divisions like from 0 to 20€ (of kg..), from 20 to 40 and this division is configurable per block.

Hope I can see this contributed soon!

nick_vh’s picture

Suggestions:
- add image fields to the solr index
- add easier filtering (first start with 2 basic blocks and then filter with more blocks if possible)
This option should be discussed with general apachesolr facet blocks
- add all the possible attributes/fields of the ubercart product to the module
- add more custom filters and implement hooks so users can hook into this and make custom theming possible with theme hooks
- apachesolr_ubercart apachesolr_views integration. Would be cool.. :-)

Anyone has more ideas?

francewhoa’s picture

+1 for porting to Drupal 6. I would be happy to provide testing.

nick_vh’s picture

Still waiting on the submission to the head of this module :-)

Maintainer please reply ;-)

Frando’s picture

Title: Drupal 6 port + facet blocks » Drupal 6 port + facet blocks + sort on price
Category: feature » task
Priority: Normal » Critical
Status: Active » Needs review
StatusFileSize
new10.64 KB

We needed this for a client project, so I took the patch in #1 and worked on it some more. It now works fine with apachesolr module 6.x-1.0-rc2.

I also added sorting on price. As the current apachesolr API does not really make this possible in a clean way, the sort will only work if you apply a patch to apachesolr that I wrote. The patch is here: http://drupal.org/node/597174#comment-2121898. Hopefully this will make it into apachesolr 1.0-rc3.

The module will work fine without the patch as well, you just won't be able to sort on price.

This patch was sponsored by XARXA Media GmbH.

mikejoconnor’s picture

I've looked this over, and I think it's a step in the right direction, however I think we are missing attribute support.

I lost all of my data shortly after DrupalCon Paris, however I believe I have a backup of the code I have from my presentation. I'll see if I can find that and upload it.

Frando’s picture

So what's the way forward?
The latest patch provides a working port to Drupal 6 and even adds new features. So, I propose to just commit this patch, get out a development snapshot so people can start testing and then worry about more new features. The port is already adding new features which you don't do normally in one step, so let's not sidetrack this issue with more stuff but first get the basic port in. IMHO.

nick_vh’s picture

Commited this into a brand new D6 version and hopefully we'll see more of this! The patch that you were talking about was commited to apache solr ;-)

Good work Frando

nick_vh’s picture

Version: 5.x-1.x-dev » 6.x-1.x-dev
Status: Needs review » Closed (fixed)

Closed because commited