Re: Solr7 embeded req: Bad content type error

2018-08-29 Thread Alfonso Noriega
ry > > Andrea > > > On 29/08/2018 14:07, Alfonso Noriega wrote: > > Yes, I realized that changing the method to GET solves the issue but it > is > > intentionally set to POST as in a real case scenario we had the issue of > > users creating too long queries which where f

Re: Solr7 embeded req: Bad content type error

2018-08-29 Thread Alfonso Noriega
; EmbeddedSolrServer expects to find a valid JSON. Did you try to remove > the Method param? > > Andrea > > > On 29/08/2018 13:12, Alfonso Noriega wrote: > > Hi Andrea, > > > > Thanks for your help, something which is relevant and I forgot to mention > >

Re: Solr7 embeded req: Bad content type error

2018-08-29 Thread Alfonso Noriega
ream which as far as I > remember wraps the request body, and not the request params. So as > request body Solr expects a valid JSON payload, but in your case, if I > got you, you're sending plain query parameters (through SolrJ). > > Best, > Andrea > > On 29/08/2018

Solr7 embeded req: Bad content type error

2018-08-29 Thread Alfonso Noriega
ow to fix this issue? The library has in the pom defined the following solr depedencies : *.* *.* *.* *7.4.0* *.* *.* *.* ** *org.apache.solr* *solr-core* *${solr.version}* ** ** *org.apache.solr* *solr-solrj* *${solr.version}* ** Thanks! -- Alfonso Noriega Softwa

Re: Filter Must/Must not clauses and parenthesis

2018-05-08 Thread Alfonso Noriega
Thanks Shawn! I was not thinking of it as a subtraction but it makes all the sense put like that. On 8 May 2018 at 17:55, Shawn Heisey wrote: > On 5/8/2018 4:02 AM, Alfonso Noriega wrote: > >> I found solr 5.5.4 is doing some unexpected behavior (at least >> unexpected >

Filter Must/Must not clauses and parenthesis

2018-05-08 Thread Alfonso Noriega
is happening? Thanks for your help, Alfonso. -- Alfonso Noriega Software engineer Redlink GmbH e: alfonso.nori...@redlink.co w: http://redlink.co