RAM Quesry returning only 1000 Assets
![]()
Hi,
Inspite of setting max search result to 4000, I am getting only 1000 asset as search query (In actual it should have sent 1567 assets). Below is the code I am using. SearchQuery query = session.createAssetQuery(searchString); int maxResult = 4000; query.setMaxResults(maxResult); //Get RAM search Result SearchResult searchResult = session.getAssets(query); //Get retrieved assets RAMAssetSearchResult[] assets = (RAMAssetSearchResult[])searchResult.getAssetSearchResults(); Abhinav |
One answer
![]()
Queries are limited to 1000 results. If you need more than 1000 results you will have run multiple queries and call query.setResultsStartIndex().
|
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.