The scores will not be comparable. Scores are only relevant within one search on one core, so comparing them across two queries (even if it's the same query but against two different cores) is meaningless.
So, given your setup I would just use the results from one of the cores and fill in data from the other... But why do you have two cores in the first place? Is it really necessary or is it just making things more complex? Best Erick On Fri, Dec 3, 2010 at 1:36 PM, Ma, Xiaohui (NIH/NLM/LHC) [C] < xiao...@mail.nlm.nih.gov> wrote: > Please correct me if I am doing something wrong. I really appreciate your > help! > > I have a core for metadata (xml files) and a core for pdf documents. > Sometimes I need search them separately, sometimes I need search both of > them together. There is the same key which is related them for each item. > > For example, the xml files look like following: > <?xml version="1.0" encoding="ISO-8859-1"?> > <List> > <Item> > <Key>rmaaac.pdf</Key> > <TI>something<TI> > <UI>rmaaac</UI> > </Item> > <Item> > . > </List> > > I index rmaaac.pdf file with same Key and UI field in another core. Here is > the example after I index rmaaac.pdf. > <?xml version="1.0" encoding="UTF-8" ?> > <response> > <lst name="responseHeader"> > <int name="status">0</int> > <int name="QTime">3</int> > <lst name="params"> > <str name="indent">on</str> > <str name="start">0</str> > <str name="q">collectionid: RM</str> > <str name="rows">10</str> > <str name="version">2.2</str> > </lst> > </lst> > <result name="response" numFound="1" start="0"> > <doc> > <str name="UI">rmaaaa</str> > <str name="Key">rmaaaa.pdf</str> > <str name="metadata_content">something....</str> > </doc> > </result> > > The result information which is display to user comes from metadata, not > from pdf files. If I search a term from documents, in order to display > search results to user, I have to get Keys from documents and then redo > search from metadata. Then score is different. > > Please give me some suggestions! > > Thanks so much, > Xiaohui > > -----Original Message----- > From: Erick Erickson [mailto:erickerick...@gmail.com] > Sent: Friday, December 03, 2010 12:37 PM > To: solr-user@lucene.apache.org > Subject: Re: score from two cores > > Uhhm, what are you trying to do? What do you want to do with the scores > from > two cores? > > Best > Erick > > On Fri, Dec 3, 2010 at 11:21 AM, Ma, Xiaohui (NIH/NLM/LHC) [C] < > xiao...@mail.nlm.nih.gov> wrote: > > > I have multiple cores. How can I deal with score? > > > > Thanks so much for help! > > Xiaohui > > >