Re: Using dynamically calculated value for sorting

2015-10-01 Thread bbarani
Thanks for your reply. Overall design has changed little bit. Now I will be sending the SKU id (SKU id is in SOLR document) to an external API and it will return a new price to me for that SKU based on some logic (I wont be calculating the new price). Once I get that value I need to use that ne

Re: Using dynamically calculated value for sorting

2015-09-29 Thread Chris Hostetter
: sorting. We are planning to introduce discounts based on login credentials : and we have to dynamically calculate price (using base price in SOLR feed) : based on a specific discount returned by an API. Now after the discount is : calculated we want to sort based on the new price (discounted pri

Re: Using dynamically calculated value for sorting

2015-09-29 Thread Leonardo Foderaro
Hi, please take a look at Alba, a framework which simplifies the development of new Solr plugins. You can write a plugin (e.g. custom function to be used to boost/sort your docs or a custom Response Writer) in literally five lines of code. More specifically I think these two examples could be usef