[
https://issues.apache.org/jira/browse/SOLR-5017?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13704485#comment-13704485
]
Erick Erickson commented on SOLR-5017:
--------------------------------------
What can be accomplished by this that cannot be accomplished with the current
syntax?
Weighing in late, but scanning the comments, there's no case made for why this
is a better thing than using the current ! syntax. From what I can see,
simplistically it looks like putting what's on the left of the ! in its own
field (not a nuanced statement....).
And I'm neutral-to-negative on it without a compelling use-case that couldn't
be handled by the current syntax, mostly from the
perspective that I'd rather see "one true way" of accomplishing something than
two that can get out of synch. And
they will. I can imagine getting shard splitting, routing and all that stuff
right in one but not the other.
One place where it'll be easy to get wrong: Joel is working on routing from the
client so updates go to the right leader. We'll
have to put this logic in that code too.
I'm not sure the functionality is worth the complication, but maybe that's just
because routing gives me a headache.
All of the complexifications I imagine can be addressed, but is it worth the
effort? Without a compelling use-case for why I don't think so.
FWIW,
Erick
> Allow sharding based on the value of a field
> --------------------------------------------
>
> Key: SOLR-5017
> URL: https://issues.apache.org/jira/browse/SOLR-5017
> Project: Solr
> Issue Type: Sub-task
> Reporter: Noble Paul
> Assignee: Noble Paul
>
> We should be able to create a collection where sharding is done based on the
> value of a given field
> collections can be created with shardField=fieldName, which will be persisted
> in DocCollection in ZK
> implicit DocRouter would look at this field instead of _shard_ field
> CompositeIdDocRouter can also use this field instead of looking at the id
> field.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]