massimobrivio opened a new issue, #14295: URL: https://github.com/apache/lucene/issues/14295
### Description **Problem** The documentation for the RELEVANCE sort criteria states: *Represents sorting by computed relevance. Using this sort criteria returns the same results as calling [[Searcher#search()](https://lucene.apache.org/core/3_0_3/api/core/org/apache/lucene/search/Searcher.html#search(org.apache.lucene.search.Query,%20int))](https://lucene.apache.org/core/3_0_3/api/core/org/apache/lucene/search/Searcher.html#search(org.apache.lucene.search.Query,%20int))without a sort criteria, only with slightly more overhead.* However, the documentation doesn't explain how relevance is computed or what parameters influence this calculation. This is the link to the docs: https://lucene.apache.org/core/3_0_3/api/core/org/apache/lucene/search/Sort.html **Desired solution** A clear explanation of how the relevance-based sorting mechanism works, including the key parameters that determine result ordering. **More detail** I discovered this documentation gap while investigating the "relevance" sorting criteria in the arXiv API, which searches a database of preprint academic articles. While I learned that the system uses the Lucene class for sorting, there's no clear explanation of how this class actually works. You can find the issue here: https://github.com/arXiv/arxiv-docs/issues/1099 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org