lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lance Norskog (JIRA)" <>
Subject [jira] Commented: (SOLR-1858) Embedded Solr does not support Distributed Search
Date Sat, 03 Apr 2010 01:56:27 GMT


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:
>             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.

View raw message