Hi , I've setting up this module to work with apachesolr intergration with views.
In my store there is product between 100 $ and 14 000 $
I configured my block to split all our prices by 1000
after re-index and runing cron I Have only the filters

0 to 1000
1000 to 2000
2000 to 3000
.
.
until 11000 to 12000

seem's that the other product > 12000 aren't available on the filter's
any suggestion ?

Comments

nvl.sateesh’s picture

I am also experiencing the same issue. The total in the facet price does not add up to the total search results. I tried changing the divisions, the limit but could not fix it.

I have also checked to see if the price for the ones it is not display are indexed or not. These price fields are getting indexed because when I search for just those products it shows up in the search result and on the facet filter also.

Sel_Space, did you get any luck with this? If you managed to fix, please do let me know.

Thanks in advance!

eagle82’s picture

The issue here is the facet.limit item of Apache Solr. Basically the default is usually set to 20 instead of unlimited on this block. I added the following code to line 130 which basically guaruntees the limit will be set to -1 which is unlimited:

$limits = variable_get('apachesolr_facet_query_limits', array());
$limits['apachesolr_ubercart'][$delta] = (int) -1;
variable_set('apachesolr_facet_query_limits', $limits);

Did the trick for me.

velpan’s picture

@eagle82
thank you.
It works for me too.