I would like to search for a text in an attribute of UCM content using RIDC. If I use GET_SEARCH_RESULTS service, I will be getting only the latest revision the of result document. But I want to get all the revisions, which will fall in to the given search criteria. is there any way for the same?
Asked
Active
Viewed 803 times
2 Answers
1
Sample code is here..
String whereClause = "UPPER(XCOMMENTS) LIKE '%VALUE%'";
dataBinder.putLocal("IdcService", "GET_DATARESULTSET");
dataBinder.putLocal("dataSource", "Documents");
dataBinder.putLocal("whereClause", whereClause);
dataBinder.putLocal("resultName", "YourResult");
ServiceResponse response =
idcClient.sendRequest(userContext, dataBinder);
System.out.println(response.toString());
DataBinder serverBinder = response.getResponseAsBinder();
DataResultSet resultSet = serverBinder.getResultSet("YourResult");

abhishek kalikota
- 11
- 2
0
Do you want to search for against full-text or metadata?
If metadata, you should be able to use service GET_DATARESULTSET and dataSource RevisionIDs.
If full-text, you might need to roll your own.

Jonathan Hult
- 1,351
- 2
- 13
- 19
-
Thanks Jonathan. I want to search on metadata only. I used the suggested service but Datasource as Documents. It worked to search on metadata. – abhishek kalikota Dec 19 '14 at 13:00