i just create new computed field for sorting search result alphabetical ascending, but when i put page size for result as example 8 it displays only 3 in page load, while if i used any other field in sorting it's working fine , i don't know why!
2 Answers
The most common reason for an error like that is the fact that your index is not in sync with your database.
In your index there are items which are not in database anymore - Solr returns a set of documents but when SXA tries to map them to Sitecore items, they are not in database, so the results displayed on your website show less items then requested.
Solution? If that's a reason of your issues, simply rebuild the index to make sure it's in sync with what is in your database.
Try the same query directly within your solr first, if it's not giving expected results then you may proceed with re-indexing.
If it's working fine with your solr, you may have issue in your rendering logic in code.