Developer forum

Forum » Ecommerce - Standard features » Price range facet

Price range facet

Nuno Aguiar
Reply

Hi,

 

Using a price range facet we noticed that we don't get the lowest and maximum for the unfiltered set, making it impossible to use something like this https://jqueryui.com/slider/#range

 

How can we get those values?

 

Best Regards,

Nuno Aguiar


Replies

 
Jeppe Eriksson Agger Dynamicweb Employee
Jeppe Eriksson Agger
Reply

Hi Nuno,

This is currently not possible. There doesn't seem to be a way to do that easily in Lucene.Net 3.0.3, which, at the time of writing this, is the latest version. We can do some trickery to get the values but it comes at a performance cost.

We'll have to discuss this internally and decide what we want to do. I'll keep you updated.

- Jeppe

 
Nuno Aguiar
Reply

Hi Jeppe,

 

I understand. RIght now the only way I can think of if to to an ajax call to the same page withouth the price range query parameters just to get the highest/lowest value and update the slider. If you think of a better way to do it let me know.

 

Best Regards,

Nuno Aguiar

 

You must be logged in to post in the forum