lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alessandro Benedetti <>
Subject Re: Merging Sets of Data from Two Different Sources
Date Fri, 12 Jun 2015 11:50:39 GMT
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


2015-06-11 22:36 GMT+01:00 Reitzel, Charles <>:

> 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 []
> Sent: Thursday, June 11, 2015 4:14 PM
> To:
> 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:
> Sent from the Solr - User mailing list archive at
> *************************************************************************
> 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.
> *************************************************************************


Benedetti Alessandro
Visiting card :

"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

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message