I am using "solr.RandomSortField
" to sort search result randomly base on passed random seed. it is working fine and giving same order for same random seed key.
Issue is:
When index version get changed by creating/deleting doc using API at run time. Then random order also get changed for same key between newer and older version.
By Searching in google, i came to know that "RandomSortField" use index version so when index version get changed sort order also get change.
Is there any way to exclude index version from random sort or pass index version to my query to search in older version instead of new updated version and get same order while paging search result.
Mostly getting issue in pagination whenever order change. get duplicate result after some page.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…