Thanks a lot for your inputs Michael. I will check about FunctionQuery.
Thanks again :-)
--
Kumaran R
Chennai, India
On Fri, Sep 3, 2021 at 9:22 PM Michael Sokolov wrote:
> Sorry I'm not sure I understand what you're trying to do. Maybe you
> want to match a document having a computed value?
Sorry I'm not sure I understand what you're trying to do. Maybe you
want to match a document having a computed value? This is going to be
potentially costly, potentially requiring post-filtering of all hits
matching for other reasons. I think there is a
FunctionQuery/FunctionRangeQuery that might h
Hi Michael, Thanks for the response.
Based on my understanding, we can use the expressions module in lucene to
reorder search results using custom score calculations based on expression
using stored fields.
But i am not sure how to do the same for lucene document hits(doc hits
matching 2 USD with
Have you looked at the expressions module? It provides support for
user-defined computation using values from the index based on a simple
expression language. It might prove useful to you if the exchange rate
needs to be tracked very dynamically.
On Thu, Sep 2, 2021 at 2:15 PM Kumaran Ramasubraman
I am having one use case regarding currency based search. I want to get any
suggestions or pointers..
For example,
Assume,
1USD = 75 INR
1USD = 42190 IRR
similarly, we have support for 100 currencies as of now.
Record1 created with PRICE 150 INR & EXCHANGE_RATE 75 for USD
Record2 created with PRI