Re: Building documents using content residing both in database tables and text files

2009-08-13 Thread Noble Paul നോബിള്‍ नोब्ळ्
isn't better to make a jar of PlaintextEntityProcessor and drop into solr.home/lib ? On Tue, Aug 11, 2009 at 11:05 PM, Sascha Szottsz...@zib.de wrote: Hi Noble, Noble Paul wrote: isn't it possible to do this by having two datasources (one Js=dbc and another File) and two entities . The

Re: Building documents using content residing both in database tables and text files

2009-08-11 Thread Noble Paul നോബിള്‍ नोब्ळ्
isn't it possible to do this by having two datasources (one Js=dbc and another File) and two entities . The outer entity can read from a DB and the inner entity can read from a file. On Tue, Aug 11, 2009 at 8:05 PM, Sascha Szottsz...@zib.de wrote: Hello, is it possible (and if it is, how can

Building documents using content residing both in database tables and text files

2009-08-11 Thread Sascha Szott
Hello, is it possible (and if it is, how can I accomplish it) to configure DIH to build up index documents by using content that resides in different data sources? Here is an example scenario: Let's assume we have a table T with two columns, ID (which is the primary key of T) and TITLE.

Re: Building documents using content residing both in database tables and text files

2009-08-11 Thread Sascha Szott
Hi Noble, Noble Paul wrote: isn't it possible to do this by having two datasources (one Js=dbc and another File) and two entities . The outer entity can read from a DB and the inner entity can read from a file. Yes, it is. Here's my db-data-config.xml file: !-- definition of data sources --