Hello ,
I have a requirement to use the full-text query but I faced some issues :
2) The documentation for this API is insufficient
If there are Accepted Answers, those will be shown by default. You can switch to 'All Replies' by selecting the tab below.
Hi @Med_2024, full-text is indeed disabled by default. I'll check with the team to update the documentation.
In the meantime, you can go to the tutorial/sample application in GitHub (https://github.com/opentext/demo-contract-approval-app). The "postman" folder contains both a postman collection and environment that you can run inside of Postman.
In the Cloud Developer Tutorial collection structure, the /Content Metadata Service (CMS)/full-text folder contains the different requests related to enabling FT indexing. Try this out to see if it solves your problem.
Hello @gvicari, Thank for your response , I enabled the Full-Text Query for my tenant , but for the POST api call
for executing the search query , I did not figure out how to provide the correct values the following parameters in the
body as I interested in the facets and the example in the postman collection dosen't cover this !
@Med_2024, this is with the content team and they are looking into your request.
Thanks @gvicari
We are indeed working with teams to update our documentation. @Med_2024 , thank you for your diligence and collaboration. I understand that you have connected with @LazarescuA to learn more about the search functionality.
@Med_2024 I have attached a collection with some examples for using facets. Let me know if this helps.
Hello @Prasanna Sridharan , Thank you for your response , so I tested the examples you provided , but in the API
calls results I can't see the information related to facets , only the collection of Type Instances ,
any idea about this ?
Hello @Med_2024 ,
If you run the tests that Prasana provided, there is an example for faceted search. The way that works, is:
If you want, you can post here the payload and the response to see if there is anything wrong in there.
Hello @LazarescuA and thank you for assisting ,
This is a simple test , I'm missing something ?
@LazarescuA , it worked with facet.field , I don't know if this search v1 or v2 ?
You can try the following endpoint to check your version of search:
/cms/tenants/{{tenant_id}}
Do a get REST request where tenant_id is your tenant id.
One of the response fields is searchVersion - for me it is 1.
@Prasanna Sridharan what is the right notation for facet field in the request body, facet.field or facet__field?
The searchVersion for me is 2 .
Hello @Prasanna Sridharan , Hello @LazarescuA , I have this issue when using the following query alone it returns
the result , but when used with facet the result is empty ?? Thank you