You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am currently working on a project using the Elasticsearch Learning to Rank (LTR) plugin, and I've encountered a challenge that I hope to get some insights on.
In my use case, I need to incorporate external scores (fetched from an external service) into the ranking process of Elasticsearch search results. These external scores cannot not indexed in Elasticsearch and need to be dynamically retrieved and applied during the search query.
In other words, I want to create a featureset where some fields need to be hydrated from an external api call. So, the flow might go like this -
Perform the retrieval query which might fetch 300-500 documents.
Before performing the sltr query I want fetch certain scores for each document.
When I perform the sltr query I want to pass the external scores. Here, the LTR model has been trained on these external scores (obviously).
After going over the docs and searching the internet here are the two solutions I found and wanted your thoughts -
Extra Logging Can I use the this feature in Scala to add extra features from an external source? It states that it will add values to the log_entry which can be later used in training. So, if it ok to expect that I can inject external values this way?
Can I pass external values in "params" in the sltr query?
The text was updated successfully, but these errors were encountered:
Hello everyone,
I am currently working on a project using the Elasticsearch Learning to Rank (LTR) plugin, and I've encountered a challenge that I hope to get some insights on.
In my use case, I need to incorporate external scores (fetched from an external service) into the ranking process of Elasticsearch search results. These external scores cannot not indexed in Elasticsearch and need to be dynamically retrieved and applied during the search query.
In other words, I want to create a featureset where some fields need to be hydrated from an external api call. So, the flow might go like this -
sltr
query I want fetch certain scores for each document.sltr
query I want to pass the external scores. Here, the LTR model has been trained on these external scores (obviously).After going over the docs and searching the internet here are the two solutions I found and wanted your thoughts -
log_entry
which can be later used in training. So, if it ok to expect that I can inject external values this way?sltr
query?The text was updated successfully, but these errors were encountered: