Re: Searching accross Solr-Multicore
There's not much information to go on here. Please review: http://wiki.apache.org/solr/UsingMailingLists Best Erick On Mon, May 9, 2011 at 5:26 AM, Benyahya, Fahd wrote: > thanks for all those who have answered my questions. > But i still not understanding, why i cannot sent queries for each core own > and get results only form the core who has quired. > At first i'm not intersting to get resultes for all cores in one xml output > . to do that i need to make a distributed searching. > > Regards, > > Fahd > > On 9 May 2011 11:09, rajini maski wrote: > >> If the schema is different across cores , you can query across the cores >> only for those fields that are common. >> Querying across all cores for some query paramterer and gettin result set >> in >> one output xml can be achieved by shards >> >> >> http://localhost:8090/solr1&indent=on&q=*:*&shards=localhost:8090/solr1,localhost:8090/solr2&rows=10&start=0 >> >> >> Regards, >> Rajani >> >> >> On Mon, May 9, 2011 at 2:36 PM, Benyahya, Fahd > >wrote: >> >> > Hi, >> > >> > sorry that I did not so well explained my issue. >> > >> > That is exactly as you described it(* Or, is it that queries are working >> on >> > one core, and not on the >> > other?) >> > >> > Regards, >> > Fahd >> > >> > On 9 May 2011 10:58, Gora Mohanty wrote: >> > >> > > On Mon, May 9, 2011 at 2:10 PM, Benyahya, Fahd < >> fahd.benya...@netmoms.de >> > > >> > > wrote: >> > > > Hallo everyone, >> > > > >> > > > i'm using solr-multicore with 3 cores to index my Web-Site. For >> testing >> > > i'm >> > > > using the solr-admin GUI to get responses. The Problem is, that i get >> > > > results only from one core, but not from the others also. >> > > [...] >> > > >> > > What do you mean by "get results only from one core, but not from >> > > the others also"? >> > > * Are you querying one core, and expecting to get results >> > > from all? This is not possible: You have to either query >> > > each, or merge them into a single core. >> > > * Or, is it that queries are working on one core, and not on the >> > > other? >> > > >> > > Regards, >> > > Gora >> > > >> > >> >
Re: Searching accross Solr-Multicore
thanks for all those who have answered my questions. But i still not understanding, why i cannot sent queries for each core own and get results only form the core who has quired. At first i'm not intersting to get resultes for all cores in one xml output . to do that i need to make a distributed searching. Regards, Fahd On 9 May 2011 11:09, rajini maski wrote: > If the schema is different across cores , you can query across the cores > only for those fields that are common. > Querying across all cores for some query paramterer and gettin result set > in > one output xml can be achieved by shards > > > http://localhost:8090/solr1&indent=on&q=*:*&shards=localhost:8090/solr1,localhost:8090/solr2&rows=10&start=0 > > > Regards, > Rajani > > > On Mon, May 9, 2011 at 2:36 PM, Benyahya, Fahd >wrote: > > > Hi, > > > > sorry that I did not so well explained my issue. > > > > That is exactly as you described it(* Or, is it that queries are working > on > > one core, and not on the > > other?) > > > > Regards, > > Fahd > > > > On 9 May 2011 10:58, Gora Mohanty wrote: > > > > > On Mon, May 9, 2011 at 2:10 PM, Benyahya, Fahd < > fahd.benya...@netmoms.de > > > > > > wrote: > > > > Hallo everyone, > > > > > > > > i'm using solr-multicore with 3 cores to index my Web-Site. For > testing > > > i'm > > > > using the solr-admin GUI to get responses. The Problem is, that i get > > > > results only from one core, but not from the others also. > > > [...] > > > > > > What do you mean by "get results only from one core, but not from > > > the others also"? > > > * Are you querying one core, and expecting to get results > > > from all? This is not possible: You have to either query > > > each, or merge them into a single core. > > > * Or, is it that queries are working on one core, and not on the > > > other? > > > > > > Regards, > > > Gora > > > > > >
Re: Searching accross Solr-Multicore
If the schema is different across cores , you can query across the cores only for those fields that are common. Querying across all cores for some query paramterer and gettin result set in one output xml can be achieved by shards http://localhost:8090/solr1&indent=on&q=*:*&shards=localhost:8090/solr1,localhost:8090/solr2&rows=10&start=0 Regards, Rajani On Mon, May 9, 2011 at 2:36 PM, Benyahya, Fahd wrote: > Hi, > > sorry that I did not so well explained my issue. > > That is exactly as you described it(* Or, is it that queries are working on > one core, and not on the > other?) > > Regards, > Fahd > > On 9 May 2011 10:58, Gora Mohanty wrote: > > > On Mon, May 9, 2011 at 2:10 PM, Benyahya, Fahd > > > wrote: > > > Hallo everyone, > > > > > > i'm using solr-multicore with 3 cores to index my Web-Site. For testing > > i'm > > > using the solr-admin GUI to get responses. The Problem is, that i get > > > results only from one core, but not from the others also. > > [...] > > > > What do you mean by "get results only from one core, but not from > > the others also"? > > * Are you querying one core, and expecting to get results > > from all? This is not possible: You have to either query > > each, or merge them into a single core. > > * Or, is it that queries are working on one core, and not on the > > other? > > > > Regards, > > Gora > > >
Re: Searching accross Solr-Multicore
Hi, sorry that I did not so well explained my issue. That is exactly as you described it(* Or, is it that queries are working on one core, and not on the other?) Regards, Fahd On 9 May 2011 10:58, Gora Mohanty wrote: > On Mon, May 9, 2011 at 2:10 PM, Benyahya, Fahd > wrote: > > Hallo everyone, > > > > i'm using solr-multicore with 3 cores to index my Web-Site. For testing > i'm > > using the solr-admin GUI to get responses. The Problem is, that i get > > results only from one core, but not from the others also. > [...] > > What do you mean by "get results only from one core, but not from > the others also"? > * Are you querying one core, and expecting to get results > from all? This is not possible: You have to either query > each, or merge them into a single core. > * Or, is it that queries are working on one core, and not on the > other? > > Regards, > Gora >
Re: Searching accross Solr-Multicore
On Mon, May 9, 2011 at 2:10 PM, Benyahya, Fahd wrote: > Hallo everyone, > > i'm using solr-multicore with 3 cores to index my Web-Site. For testing i'm > using the solr-admin GUI to get responses. The Problem is, that i get > results only from one core, but not from the others also. [...] What do you mean by "get results only from one core, but not from the others also"? * Are you querying one core, and expecting to get results from all? This is not possible: You have to either query each, or merge them into a single core. * Or, is it that queries are working on one core, and not on the other? Regards, Gora