You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by "ravi.n" <ra...@ornext.com> on 2012/11/02 11:42:33 UTC

Re: SOLR - To point multiple indexes in different folder

Erick,

We are forming request something like below for default /select request
handler, will this cause an issue?
So far we are not facing any recursive issues.

http://94.101.147.150:8080/solr/select/?q=*%3A*&version=2.2&start=0&rows=10&indent=on&shards=localhost:8080/solr/coll1,localhost:8080/solr/coll2,localhost:8080/solr/coll3,localhost:8080/solr/coll4,localhost:8080/solr/coll5,localhost:8080/solr/coll6,localhost:8080/solr/coll7

Below is the solrconfig for /select

  <requestHandler name="/select" class="solr.SearchHandler">
     <lst name="defaults">
       <str name="echoParams">explicit</str>
       <int name="rows">10</int>
       <str name="df">recordid</str>
     </lst>

recordid - is the unique field in the document.

Regards,
Ravi



--
View this message in context: http://lucene.472066.n3.nabble.com/SOLR-To-point-multiple-indexes-in-different-folder-tp4016640p4017783.html
Sent from the Solr - User mailing list archive at Nabble.com.

Re: SOLR - To point multiple indexes in different folder

Posted by "ravi.n" <ra...@ornext.com>.
Thanks Eric.



--
View this message in context: http://lucene.472066.n3.nabble.com/SOLR-To-point-multiple-indexes-in-different-folder-tp4016640p4019812.html
Sent from the Solr - User mailing list archive at Nabble.com.

Re: SOLR - To point multiple indexes in different folder

Posted by Erick Erickson <er...@gmail.com>.
That should be OK. The recursive bit happens when you define the shard
locations in your config files in the default search handler.


On Fri, Nov 2, 2012 at 6:42 AM, ravi.n <ra...@ornext.com> wrote:

> Erick,
>
> We are forming request something like below for default /select request
> handler, will this cause an issue?
> So far we are not facing any recursive issues.
>
>
> http://94.101.147.150:8080/solr/select/?q=*%3A*&version=2.2&start=0&rows=10&indent=on&shards=localhost:8080/solr/coll1,localhost:8080/solr/coll2,localhost:8080/solr/coll3,localhost:8080/solr/coll4,localhost:8080/solr/coll5,localhost:8080/solr/coll6,localhost:8080/solr/coll7
>
> Below is the solrconfig for /select
>
>   <requestHandler name="/select" class="solr.SearchHandler">
>      <lst name="defaults">
>        <str name="echoParams">explicit</str>
>        <int name="rows">10</int>
>        <str name="df">recordid</str>
>      </lst>
>
> recordid - is the unique field in the document.
>
> Regards,
> Ravi
>
>
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/SOLR-To-point-multiple-indexes-in-different-folder-tp4016640p4017783.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>