Nolan Lawson created SOLR-4821:
----------------------------------

             Summary: Restrict non-search handlers in distributed search
                 Key: SOLR-4821
                 URL: https://issues.apache.org/jira/browse/SOLR-4821
             Project: Solr
          Issue Type: Improvement
          Components: SolrCloud
    Affects Versions: 4.3
            Reporter: Nolan Lawson


This patch uncomments and fixes some code in SolrCore that was checking that 
only SearchHandlers were accessible in distributed search.

It appears to have been commented out because it was breaking the {{/spell}} 
handler in the examples.  I believe I've figured out the cause of the problem 
and have written (mostly uncommented, tbh) some unit tests to demonstrate that 
the {{/spell}} handler will work fine now, while still disallowing 
non-SearchHandlers (such as {{/update}}).

Here's a short blog post I wrote on the subject: http://wp.me/p1t8Ca-Hm

Attached are separate patches for the fix and the unit tests, so you can verify 
that the tests fail before the fix and succeed afterward.

--
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: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to