[ 
https://issues.apache.org/jira/browse/SOLR-1395?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12983586#action_12983586
 ] 

JohnWu commented on SOLR-1395:
------------------------------

oh, TomLiu:

I use the MultiEmbeddedSearchHandler in query core, but the request also can 
not through the code:

// add end
                NamedList nl = resp.getValues();
                nl.add("QueriedShards", shards);                

// Added by tom liu
                SolrDocumentList sdl = (SolrDocumentList)nl.get("response");
                if( sdl == null ){
                        nl.add("response", new SolrDocumentList());
                        if( log.isWarnEnabled() )
                                log.warn("SolrServer.SolrResponse: no 
response");
                }

if you use the katta start the embedded solr, the queryComponent is the 
necessary component for solr, so the above code will throw the exception of 
cast DocSlice to SolrDocumentList.
Does I miss some step?

what means but XMLWrite or EmbeddedServer returns SolrDocumentList from 
DocList.?



> Integrate Katta
> ---------------
>
>                 Key: SOLR-1395
>                 URL: https://issues.apache.org/jira/browse/SOLR-1395
>             Project: Solr
>          Issue Type: New Feature
>    Affects Versions: 1.4
>            Reporter: Jason Rutherglen
>            Priority: Minor
>             Fix For: Next
>
>         Attachments: back-end.log, front-end.log, hadoop-core-0.19.0.jar, 
> katta-core-0.6-dev.jar, katta-solrcores.jpg, katta.node.properties, 
> katta.zk.properties, log4j-1.2.13.jar, solr-1395-1431-3.patch, 
> solr-1395-1431-4.patch, solr-1395-1431-katta0.6.patch, 
> solr-1395-1431-katta0.6.patch, solr-1395-1431.patch, 
> solr-1395-katta-0.6.2-1.patch, solr-1395-katta-0.6.2-2.patch, 
> solr-1395-katta-0.6.2-3.patch, solr-1395-katta-0.6.2.patch, SOLR-1395.patch, 
> SOLR-1395.patch, SOLR-1395.patch, test-katta-core-0.6-dev.jar, 
> zkclient-0.1-dev.jar, zookeeper-3.2.1.jar
>
>   Original Estimate: 336h
>  Remaining Estimate: 336h
>
> We'll integrate Katta into Solr so that:
> * Distributed search uses Hadoop RPC
> * Shard/SolrCore distribution and management
> * Zookeeper based failover
> * Indexes may be built using Hadoop

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to