lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "tom liu (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-1395) Integrate Katta
Date Fri, 14 Oct 2011 08:10:13 GMT

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

tom liu commented on SOLR-1395:
-------------------------------

JohnWu:
i use the solr's regex rule to point which core would be use.
First, in sub-proxy and top-solr, i merge two schema into one schema, eg. merge book and address
schemas into bookaddress, then put bookaddress schema into top-solr and sub-proxy, so that
solr would find every field in them.
Then, on top-solr machine, i install one nginx proxy, it will act on a cache and proxy.
Last, setup nginx, let's direct to correct cores. for example:
1. in solr parameters, i add one such as: target=book[ or address]
2. in nginx, i setup:
{noformat}
    if ($args ~* ^(.*)target%3a(\\w*)(.*)$){
          set $shard $2;
          rewrite (.*) $1?shards=$shard\\\\w* break;
    }
    if ($args ~* ^(.*)target:(\\w*)(.*)$){
          set $shard $2;
          rewrite (.*) $1?shards=$shard\\\\w* break;
    }
{noformat}
3. then, the reqest url would be changed to URL&shards=book\w*
                
> 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: 3.5, 4.0
>
>         Attachments: SOLR-1395.patch, SOLR-1395.patch, SOLR-1395.patch, 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-katta-0.6.3-4.patch,
solr1395.jpg, 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.
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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message