Hey Jan,

Thanks for the suggestion! That would work for us and actually solve some
minor issues we've had with the currency field type.

On Mon, Jul 4, 2022 at 2:00 PM Jan Høydahl <[email protected]> wrote:

> Can you let your backend modify the prices at query time through a
> FunctionQuery, e.g. mul(price_field,0.8)?
>
> Jan
>
> > 28. jun. 2022 kl. 18:58 skrev Geren White <[email protected]>:
> >
> > Hello all,
> >
> > I'm wondering if anyone has run into a scenario where they need a
> currency
> > field type with conversion support but also regional pricing? Right now
> we
> > are using the currency field type so we can support items in multiple
> > currencies and convert the price at query time. We'd like to add support
> > for multiple price types or regional pricing so we were looking at
> > leveraging payloads. Since payloads are supported through a filter on
> > TextField and the currency field doesn't support analyzers/filters it
> > doesn't seem possible.
> >
> > Anyone run into this and have suggestions?
> >
> > --
> > *Geren White | Senior Director, Engineering*
> > *(e)* [email protected]
>
>

-- 
*Geren White | Senior Director, Engineering*
*(e)* [email protected]

Reply via email to