Hi all,

Not sure how good my title is, but here is a (hopefully) better explanation
on what I mean.

I am indexing a set of articles from a DB. Each article has an author. The
author is saved in then the DB as an author ID, which is a number.

There is another table in the DB with more relevant information about the
author. Basically it has columns like:

id, firstname, lastname, email, userid

I set up the DIH so that it returns the userid, and it works fine:

<arr name="author">
   <str>jdoe</str>
   <str>msmith</str>
</arr>

Would it be possible to return all of the information about the author
(first name, ...) as a subset of the results above?

Here is what I mean:

<arr name="author">
   <arr name="jdoe">
      <str name="firstName">John</str>
      <str name="lastName">Doe</str>
      <str name="email">j...@doe.com</str>
   </arr>
   ...
</arr>

Something similar to that at least...

Not sure how descriptive I was, but any pointers would be highly
appreciated.

Cheers

-- 
View this message in context: 
http://www.nabble.com/Question-about-formatting-the-results-returned-from-Solr-tp24719831p24719831.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to