Closed (fixed)
Project:
Apachesolr Ubercart Integration
Version:
6.x-1.2
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
16 Oct 2010 at 21:16 UTC
Updated:
26 Jan 2012 at 16:40 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
nick_vhI suppose you will have to supply me with a patch for the module in order that this module works nicely together with views 3 apache solr integration ;-)
What I would suggest for an easy fix is to alter the query from the views in code and look how it's being built up.
If you are able to find out how to alter it, and which extra argument you would like to add it should be an easy process
Comment #2
amen commentedI'm also very interested in this. I'll take a look at it and hope my programming skills rise up to the task.
Comment #3
dronacarya commentedThere's a possible solution @ #728088: Add support for CCK Decimal fields and Numeric Facets.
I don't think it's an apachesolr_ubercart issue. The "problem" is with apachesolr_views. You have to tweak the module to accept numeric fields as arguments.
Comment #4
nick_vhSorry for not responding earlier. Busy Christmas times for all of us :-)
Good luck in solving it. If I can help by reviewing or adding a patch here and there I'd be glad to.
For now setting this to duplicate then.
Comment #5
jrust commentedThe attached patch exposes all of the fields indexed by apachesolr_ubercart to apachesolr_views. This allows any of the apachesolr_ubercart fields to be used in sorting or as arguments for apachesolr_views. The ability to use them as arguments also has the added benefit of making the facets work on the views pages as well (though you still need to apply the patch referenced in #728088: Add support for CCK Decimal fields and Numeric Facets).
Comment #6
pebosi commentedTested and working, applied both patches manually.
Comment #7
nick_vhPerfect! I will commit this today :)
Comment #8
Anonymous (not verified) commentedHello,
I've applied the patch and added a price aragument in my view but I receive this error when I try to filter by price.
"The Apache Solr search engine is not available"
The results page is empty.
Should I do something else to make it work ?
Thank you.
Comment #9
nick_vhSince I haven't tested this I hardly have an idea. Maybe you could start specifying which versions you are using?
Comment #10
Anonymous (not verified) commentedMy mistake. Forgot to apply the patch from http://drupal.org/node/728088
Sorry...
Comment #11
nick_vhCommitted