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
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