lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Miller (Commented) (JIRA)" <>
Subject [jira] [Commented] (SOLR-3154) SolrJ CloudServer should be leader and network aware when adding docs
Date Mon, 05 Mar 2012 14:05:58 GMT


Mark Miller commented on SOLR-3154:

The main difficulty here is that to get the readable to indexed id that we hash, we need the
field type and the id field. The id field we can simply have the user supply - but technically
each field type can impl a custom method to get the indexed id that we hash on. Not sure what
we do about this, but initially I was thinking we could support one or two field types (int,
string) and just copy the (simple) logic for these two types into the server impl. Then the
user would also have to supply the type (int,string) of the id field as well - though we could
default it to what the example schema uses.
> SolrJ CloudServer should be leader and network aware when adding docs
> ---------------------------------------------------------------------
>                 Key: SOLR-3154
>                 URL:
>             Project: Solr
>          Issue Type: Improvement
>          Components: SolrCloud
>    Affects Versions: 4.0
>            Reporter: Grant Ingersoll
>            Priority: Minor
>             Fix For: 4.0
> It would be good when indexing if the SolrJ CloudServer was leader aware so that we could
avoid doing an extra hop for the data.  It would also be good if one could easily set things
up based on data locality principles.  This might mean that CloudServer is aware of where
on the network it is and would pick leaders that are as close as possible (i.e. local, perhaps.)
 This would come in to play when working with tools like Hadoop or other grid computing frameworks.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message