java api to retrieve text html RecordId
I want to search for recordID based on html text without the html blocks.
I tried with fieldsearchdimension and use RetrieveLimitedRecordsCommand. It always return zero record, no matter i set to Equal or contains as the search operator.
FieldSearchDimension searchDimension = new FieldSearchDimension(text html field code);
TextSearchConstraint txtConstraint = new TextSearchConstraint("test", TextSearchConstraint.EQUAL);
and then execute RetrieveLimitedRecordsCommand in order to get the search result. It always give me nothing.
In MDM, the preview text is :test" under normal preview, while in html it shows as below:
<meta content="text/html; charset=utf-8"
<meta name="GENERATOR" content="MSHTML 8.00.6001.18702" />
Anyone could share that searching for text html is possible using java api or could you share the correct search/command to use?