[
https://issues.apache.org/jira/browse/SOLR-3347?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13251784#comment-13251784
]
Benson Margulies commented on SOLR-3347:
----------------------------------------
Jan Høydahl,
I don't normally do radical edits to the description. However, in this
particular case, my initial diagnostic theory was so wildly wrong that I felt
it appropriate to either edit the description or close the JIRA and open a new
one.
As for the patch file names, that's just laziness. On the other hand, I'm one
of the many people around the ASF making use of the git mirrors, especially
when working on code where I'm not a committer -- thus 'git format-patch'.
You're the first person around here to express any problem with that. I wonder
if there's some trick to get git to make a patch that is indistinguishable from
svn diff.
> deleteByQuery failing with SolrCloud without _version_ in schema.xml
> --------------------------------------------------------------------
>
> Key: SOLR-3347
> URL: https://issues.apache.org/jira/browse/SOLR-3347
> Project: Solr
> Issue Type: Bug
> Components: SolrCloud
> Reporter: Benson Margulies
> Fix For: 4.0
>
> Attachments:
> 0001-Attempt-to-repro-problem-with-del-and-SolrCloud.patch,
> provision-and-start.sh, schema.xml, solrconfig.xml
>
>
> Distributed execution of deleteByQuery("\*:\*") depends on the existence of a
> field \_version\_ in the schema. The default schema has no comment on this
> field to indicate its important or relevance to SolrCloud, and no message is
> logged nor error status returned when there is no such field. The code in
> DistributedUpdateProcessor just has an if statement that never ever does any
> local deleting without it.
> I don't know whether the intention was that this should work or not. If
> someone would clue me in, I'd make a patch for schema.xml to add comments, or
> a patch to D-U-P to add logging. If it was supposed to work, I'm probably not
> qualified to make the fix to make it work.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
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]