06-06-2023 11:21 AM
Hello,
I'm using the Alfresco Java API to do some queries through SearchService + SearchParemeters.
I know that SOLR is possible to use with HTTP POST instead of HTTP GET.
But is it possible to configure this with Alfresco? And make the Java SearchService use HTTP POST instead?
Best regards,
Francisco Duarte
06-07-2023 06:06 AM
You're right.
SearchServices is always using GET for search queries against SOLR server and there is no configuration to change this behaviour.
06-07-2023 02:12 AM
Regular Search REST API endpoint is using HTTP POST:
https://api-explorer.alfresco.com/api-explorer/?urls.primaryName=Search%20API#/search/search
06-07-2023 05:00 AM
Hello @angelborroy,
It may work as a workaround, but it doesn't mean the Java SearchService uses POST too correct?
Thanks for the answer,
Francisco Duarte
06-07-2023 06:06 AM
You're right.
SearchServices is always using GET for search queries against SOLR server and there is no configuration to change this behaviour.
Explore our Alfresco products with the links below. Use labels to filter content by product module.