lucene-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew McCombe <>
Subject Re: How can I use Lucene to index a database?
Date Mon, 11 May 2009 10:45:25 GMT

You should take a look at the DataImport Handler and use the examples
on that page.  I've recently learned this myself and this has been the
#1 source of help.

There are two steps to set up when using this.  The first one is the
initial import of your data.  This is called the 'full-import'.  Once
this has been done you then use a delta-import to import any new or
updated data into Solr.

One thing to remember is to rebuild any spellchecker indexes after the
delta import.

Hope this Helps

2009/5/11 uday kumar maddigatla <>:
> hi,
> we are new to Lucene. We want to index the database using lucene.
> we don't know where  to start. we already done the indexing of documents.
> But we don;t know how to index database using lucene, We started searching
> in google. we found one query regarding this by you people.
> please tell us how to index the database. A series of steps(where to change
> or update) will helps us.
> Richard Marr wrote:
>>> Thank you for your reply.
>>> I'm just affraid of choosing wrong option for the project and later it
>>> would
>>> be harder to change it.
>> I'm making the same kinds of decisions at the moment. My plan is to
>> use an RDBMS to store the "master" copy of our data, because that
>> technology is a ubiquitous skill set, and we know its capabilities
>> almost instinctively.
>> For example, we can hire a DBA off-the-shelf to deal with database
>> replication without having to explain the details of our other systems
>> to them, but doing the same thing with Lucene would require them to
>> have experience with it.
>> This way we can save our scarce brain-power for more interesting problems
>> :)
>> Rich
> --
> View this message in context:
> Sent from the Lucene - General mailing list archive at

View raw message