Re: cursorMark value causes Request-URI Too Long excpetion

2017-05-22 Thread Chris Hostetter
: I've been using cursorMark for quite a while, but I noticed that sometimes : the value is huge (more than 8K). It results in Request-URI Too Long FWIW: cursorMark values are simple "string safe" encoded forms of sort fields -- so my guess is you are sorting on some really long string values?

Re: cursorMark value causes Request-URI Too Long excpetion

2017-05-18 Thread gigo314
Thanks a lot. I didn't think of switching to application/x-www-form-urlencoded content type. It solved my issue :) -- View this message in context: http://lucene.472066.n3.nabble.com/cursorMark-value-causes-Request-URI-Too-Long-excpetion-tp4335472p4335691.html Sent from the Solr - User mailing

Re: cursorMark value causes Request-URI Too Long excpetion

2017-05-18 Thread Shawn Heisey
On 5/18/2017 1:52 AM, gigo314 wrote: > Thanks, that was my assumption as well that all parameters should are > supported by both GET and POST. However, when using JSON API I keep getting > 400 error code: > > /Request/: > {"query":"*","cursorMark":"*","sort":"id asc"} > > /Response/: >

Re: cursorMark value causes Request-URI Too Long excpetion

2017-05-18 Thread gigo314
uot;,"code":400}} Also I was not able to find any examples of cursorMark being used in POST, neither on the wiki page <https://cwiki.apache.org/confluence/display/solr/JSON+Request+API> , nor in the reference guide <http://mirrors.dotsrc.org/apache/lucene/solr/ref-guide/apache-solr-ref-guide-6.5.pdf> . Am I using wrong parameter name? Thanks! -- View this message in context: http://lucene.472066.n3.nabble.com/cursorMark-value-causes-Request-URI-Too-Long-excpetion-tp4335472p4335590.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: cursorMark value causes Request-URI Too Long excpetion

2017-05-17 Thread Shawn Heisey
On 5/17/2017 2:40 AM, Giedrius wrote: > I've been using cursorMark for quite a while, but I noticed that > sometimes the value is huge (more than 8K). It results in Request-URI > Too Long response. Is there a way to send cursorMark in POST request's > Body? If it is, could you please provide an

cursorMark value causes Request-URI Too Long excpetion

2017-05-17 Thread Giedrius
Hi, I've been using cursorMark for quite a while, but I noticed that sometimes the value is huge (more than 8K). It results in Request-URI Too Long response. Is there a way to send cursorMark in POST request's Body? If it is, could you please provide an example? If post is not possilbe, is there