0

我想使用 RIDC 在 UCM 内容的属性中搜索文本。如果我使用 GET_SEARCH_RESULTS 服务,我将只获得结果文档的最新版本。但我想获得所有的修订,这将属于给定的搜索条件。有什么办法吗?

4

2 回答 2

1

示例代码在这里..

        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");
于 2014-12-19T13:03:09.957 回答
0

您要搜索全文还是元数据?

如果是元数据,您应该能够使用服务GET_DATARESULTSET和 dataSource RevisionIDs

如果是全文,您可能需要自己滚动。

于 2014-12-18T01:08:36.340 回答