[ 
https://issues.apache.org/jira/browse/SOLR-1858?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12853053#action_12853053
 ] 

Lance Norskog commented on SOLR-1858:
-------------------------------------

This could be handled with one simple change: add a new URL protocol 'solr'.

Details: the SolrJ library would include a new method that creates a server 
from an URL, and the server factory would support 'solr://' and 'solr://core' 
as URLs. The meaning of "solr://" changes when used within an app, an 
EmbeddedSolr instance, or within the web app.

 In an Embedded Solr instance, it refers to the embedded instance itself. In a 
servlet container instance, it refers to that instance. 'solr://' would not be 
supported within a client app, because there is no Solr instance in the app.

In short, the 'solr://' URL refers to the Solr instance available within the 
current JVM, _via the current classloader_. 

> Embedded Solr does not support Distributed Search
> -------------------------------------------------
>
>                 Key: SOLR-1858
>                 URL: https://issues.apache.org/jira/browse/SOLR-1858
>             Project: Solr
>          Issue Type: New Feature
>          Components: search
>            Reporter: Lance Norskog
>            Priority: Minor
>
> It is impossible to do a Distributed Search across multiple cores in an 
> EmbeddedSolr instance. Distributed Search only works for Solr HTTP-controlled 
> shards, and EmbeddedSolr does not export an HTTP interface.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to