Hello
I would like to search the documents that has specific name with API Rest.
I could make a api/v2/search with OTName but It return all object containing this name
i want to return the exact name only
Thanks in advance
If there are Accepted Answers, those will be shown by default. You can switch to 'All Replies' by selecting the tab below.
From the post by Patrick Pidduck :
[qlregion “OTName”] =”Test Folder”
The equality comparator forces matching on the entire string.
you may be able to use LQL to get exact matches see https://support.opentext.com/csm?sys_kb_id=d03eda8a87bf69501f4598273cbb3513&id=kb_article_view&sysparm_rank=3&sysparm_tsqueryId=868c03ee979a7950fa46bd2ef053afb3 otherwise a LiveReport/WebReport may be better, but remember that the OTName field is not unique.
how i can use the LQL to get my desired result
i am using it this way OTParentID:3359017 & OTName : "Customer"
regards
have you set LookFor to ExactPhrase as well ?
have you looked at adding other filters such as SubType, MimeType etc ? see also https://support.opentext.com/community?id=community_question&sys_id=d9c9ff151b18d51022d432a3cc4bcb7d&anchor=answer_fdb735a187d49910781b0ed8dabb35d0&view_source=searchResult
yes i tried it but getting the same result
i have tried to add other filters but did not find any one to achieve my goal which is searching for the exact object name
The link https://support.opentext.com/community?id=community_question&sys_id=d9c9ff151b18d51022d432a3cc4bcb7d&anchor=answer_fdb735a187d49910781b0ed8dabb35d0&view_source=searchResult&_ga=2.58861934.29635646.1699349983-1471608299.1663576899 is specifically about finding an exact match using LQL
did you find in this link what i should do ?
i read the post but did not find any new information