Make sure you contact us (or email [email protected]) in order to have remoteStreaming enabled for your Opensolr index. Once we’ve enabled that, you can go ahead and make sure the below stuff is setup correctly in your index. This should work for any index, not just for use with Drupal.
You’re integrating Drupal 10 with OpenSolr and encountering this error:
Remote Streaming is disabled.
—even after setting enableRemoteStreaming="true"
inside <requestDispatcher>
.
OpenSolr does not rely solely on the <requestDispatcher>
setting. While setting this is required, it’s not sufficient.
Here’s the complete step-by-step to get remote PDF indexing via stream.url
working:
In your solrconfig.xml
:
<requestDispatcher>
, this must exist:<requestDispatcher handleSelect="true">
<requestParsers enableRemoteStreaming="true" multipartUploadLimitInKB="2048000" />
</requestDispatcher>
Look for this section (or add it if it doesn’t exist):
<requestHandler name="/update/extract" class="solr.extraction.ExtractingRequestHandler">
<lst name="initParams">
<bool name="allowRemoteStreaming">true</bool>
</lst>
</requestHandler>
✅ This is the part that is usually forgotten. Without this, Solr will silently reject stream.url
requests with that Remote Streaming is disabled
error.
Make sure to:
After updating and re-uploading:
59a6fb53f5a58b06f113c1badef132cd
)You can test remote PDF indexing using:
curl "https://host.opensolr.com/solr/<INDEX_NAME>/update/extract?stream.url=https://example.com/sample.pdf&literal.id=test-doc&commit=true"
You should see a 200 OK and no longer get the Remote Streaming is disabled
error.
There isn’t a single perfect guide, but here are the closest:
Or reach out to [email protected]