SOLR HTTP POST

cancel
Showing results for 
Search instead for 
Did you mean: 
franciscoduarte
Member II

SOLR HTTP POST

Jump to solution

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 Solution

Accepted Solutions
angelborroy
Alfresco Employee

Re: SOLR HTTP POST

Jump to solution

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 solution in original post

3 Replies
angelborroy
Alfresco Employee

Re: SOLR HTTP POST

Jump to solution

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
franciscoduarte
Member II

Re: SOLR HTTP POST

Jump to solution

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

angelborroy
Alfresco Employee

Re: SOLR HTTP POST

Jump to solution

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