We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IQueryable<Entity> ents = ... IBulkResponse res = client.IndexMany(ents, npindexname, "objects");
generates an empty POST _bulk request if ents is empty:
ents
POST http://myhost/nonephoneticindex/_bulk HTTP/1.1 Accept: application/json Content-Type: application/json Host: myhost Proxy-Connection: Keep-Alive empty
empty
The result is
HTTP/1.0 411 Length Required Server: squid/2.6.STABLE18 Date: Thu, 04 Jul 2013 13:55:27 GMT Content-Type: text/html Content-Length: 1522 Expires: Thu, 04 Jul 2013 13:55:27 GMT X-Squid-Error: ERR_INVALID_REQ 0 X-Cache: MISS from webproxy.myorganization.com X-Cache-Lookup: NONE from webproxy.myorganization.com:80 Proxy-Connection: close some html ...
some html ...
The text was updated successfully, but these errors were encountered:
aa1992e
Hey @salyh thanks for reporting.
Not all the bulk generation routines handled an empty collection correctly some only checked for null. This is now fixed.
Sorry, something went wrong.
No branches or pull requests
generates an empty POST _bulk request if
ents
is empty:POST http://myhost/nonephoneticindex/_bulk HTTP/1.1
Accept: application/json
Content-Type: application/json
Host: myhost
Proxy-Connection: Keep-Alive
empty
The result is
HTTP/1.0 411 Length Required
Server: squid/2.6.STABLE18
Date: Thu, 04 Jul 2013 13:55:27 GMT
Content-Type: text/html
Content-Length: 1522
Expires: Thu, 04 Jul 2013 13:55:27 GMT
X-Squid-Error: ERR_INVALID_REQ 0
X-Cache: MISS from webproxy.myorganization.com
X-Cache-Lookup: NONE from webproxy.myorganization.com:80
Proxy-Connection: close
some html ...
The text was updated successfully, but these errors were encountered: