Hi Paden, probably you don't even need to customise the DIH. I would give it a try.
To answer your question , yes, federated search is definitely possible with Solr in simple ways Cheers 2015-06-11 22:36 GMT+01:00 Reitzel, Charles <charles.reit...@tiaa-cref.org>: > Yes. Typically, the content file is used to populate a single field in > each document, e.g. "content". Typically, this field is the primary target > for searches. Sometimes, additional metadata (title, author, etc.) can > be extracted from the source files. But the idea remains the same: the > two sources (database record + file) are merged into single searchable > document in solr. > > If you write your own indexer using SolrJ, you have more control the > loading process and, imo, the approach is clearer. All the pieces come > together in one place. > > But Alessandro says the same result is achievable using > DataImportHandler. Probably worth a try before writing code... > > -----Original Message----- > From: Paden [mailto:rumsey...@gmail.com] > Sent: Thursday, June 11, 2015 4:14 PM > To: solr-user@lucene.apache.org > Subject: Re: Merging Sets of Data from Two Different Sources > > So you're saying I could merge both the metadata in the database and their > files in the file system into one query-able item in solr by just > customizing the DIH correctly and getting the right schema? > > (I'm sorry this sounds like a redundant question but I've been trying to > find an answer for the past couple of days and it seems like people > sometimes misunderstand what I'm asking) > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Merging-Sets-of-Data-from-Two-Different-Sources-tp4211166p4211248.html > Sent from the Solr - User mailing list archive at Nabble.com. > > ************************************************************************* > This e-mail may contain confidential or privileged information. > If you are not the intended recipient, please notify the sender > immediately and then delete it. > > TIAA-CREF > ************************************************************************* > > -- -------------------------- Benedetti Alessandro Visiting card : http://about.me/alessandro_benedetti "Tyger, tyger burning bright In the forests of the night, What immortal hand or eye Could frame thy fearful symmetry?" William Blake - Songs of Experience -1794 England