Before explaining how relevance works, it is important to distinguish between document processing and document access. To achieve the best performance possible, AFS computes upstream sort criteria , such as price, date, or availability, retrieved from metadata, at indexing time within processing pipelines, according to the indexing filter settings . This ensures optimal performance at query time.