Common issues
To make the most of Learning to Rank (LTR), consider these helpful insights.
Negative scores
Lucene does not allow for negative query scores. This can be problematic if your raw features include negative values. To address this, confirm that your features are non-negative before training your model. You can achieve this by creating normalized fields with values shifted by the minimum value or by passing the scores through a function that produces a value greater than or equal to 0
.
Bugs
If you encounter a bug while working with the plugin, you can open an issue in the opensearch-learning-to-rank-base repository. The project team regularly investigates and resolves issues. If you are seeking general support, the issue may be closed and you may be directed to the relevant support channel(s).
Further assistance
If you need further assistance, join the Relevance Slack Community and participate in the #opensearch-learn-to-rank channel to receive guidance and support from the community.