cancel
Showing results for 
Search instead for 
Did you mean: 

SOLR HTTP POST

franciscoduarte
Champ in-the-making
Champ in-the-making

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

1 ACCEPTED ANSWER

You're right.

SearchServices is always using GET for search queries against SOLR server and there is no configuration to change this behaviour.

Hyland Developer Evangelist

View answer in original post

3 REPLIES 3

angelborroy
Community Manager Community Manager
Community Manager

Regular Search REST API endpoint is using HTTP POST:

https://api-explorer.alfresco.com/api-explorer/?urls.primaryName=Search%20API#/search/search

Hyland Developer Evangelist

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

You're right.

SearchServices is always using GET for search queries against SOLR server and there is no configuration to change this behaviour.

Hyland Developer Evangelist