how do we get max results related to query in lscs?
Do a query with start=0 and max=1. The "total" attribute of the root node will show how many total matches there were in the repository.