What is the best way to rank external API data and internal data from OpenSearch?

0

Use Case:

  • I have an OpenSearch service instance with 'internal' documents
  • I have 'external' data that I pull in from an API, ie Slack
  • I need to combine the internal and external data and rank them for relevancy - preferably with OpenSearch

What is the best way to do this? I am considering indexing the data and then deleting the index immediately, but I worry that latency would be a concern.

質問済み 5ヶ月前199ビュー
1回答
0

There could be multiple ways using which you will get desired output. However, for the most relevant ranking you have to test out patterns. However, for Relevance-based score calculation You can use sort clauses with relevant scoring . Also, as OpenSearch assign relevance scores using keyword, document age, algorithm or any custom rule. You need to assign relevance score appropriately for both your internal and external data, you can then sort the combined results based on their relevance scores.

You can refer to the below documentation for detailed information on "Learning to Rank" best-practices for Amazon OpenSearch Service.

https://docs.aws.amazon.com/opensearch-service/latest/developerguide/learning-to-rank.html

AWS
サポートエンジニア
回答済み 5ヶ月前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ