Nested documents is quite useful to model structural hierarchy data.
Sometimes, we only have parent document which doesn't have child documents
yet, we want to add it first, and then later update it: re-add the whole
document including the parent documents and its all child documents.
But we fou
Thanks Joel
Streaming is awesome, just had a huge implementation in my project. I found
out a couple more issues with streaming and did local hacks for them, would
raise them too.
On Sat, May 13, 2017 at 2:09 PM, Joel Bernstein wrote:
> Ah, then this is unexpected behavior. Can you open a ticket
Ah, then this is unexpected behavior. Can you open a ticket for this?
Joel Bernstein
http://joelsolr.blogspot.com/
On Sat, May 13, 2017 at 2:51 PM, Susmit Shukla
wrote:
> Hi Joel,
>
> I was using CloudSolrStream for the above test. Below is the call stack.
>
> at
> org.apache.http.impl.io.Chunk
Hi Joel,
I was using CloudSolrStream for the above test. Below is the call stack.
at
org.apache.http.impl.io.ChunkedInputStream.read(ChunkedInputStream.java:215)
at
org.apache.http.impl.io.ChunkedInputStream.close(ChunkedInputStream.java:316)
at
org.apache.http.impl.execchain.ResponseEntityProxy.
I was just reading the Java docs on the ChunkedInputStream.
"Note that this class NEVER closes the underlying stream"
In that scenario the /export would indeed continue to send data. I think we
can consider this an anti-pattern for the /export handler currently.
I would suggest using one of the
Hi Joel,
I did not observe that. On calling close() on stream, it cycled through all
the hits that /export handler calculated.
e.g. with a *:* query and export handler on a 100k document index, I could
see the 100kth record printed on the http wire debug log although close was
called after reading
Hi,
When doing a distributed query from solr 4.10.4 ,getting below exception
org.apache.solr.common.SolrException: org.apache.http.ParseException: Invalid
content type:
org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:311)
org
If the client closes the connection to the export handler then this
exception will occur automatically on the server.
Joel Bernstein
http://joelsolr.blogspot.com/
On Sat, May 13, 2017 at 1:46 AM, Susmit Shukla
wrote:
> Hi Joel,
>
> Thanks for the insight. How can this exception be thrown/forced