if each field from the db goes to a separate field in solr as-is . Then it is very simple.
if you need to split/join fields before feeding it into solr fields you may need to apply transformers an example on how your db field looks like and how you wish it to look like in solr would be helpful On Wed, Jul 22, 2009 at 11:57 AM, Julian Davchev<j...@drun.net> wrote: > Hi folks, > > I have around 50k documents that are reindexed now and then. > > Question is what would be the fastest approach to all this. > > Data is just text ~20fields or so. It comes from database but is first > specially formated to get to format suitable for passing in solr. > > Currently xml post is used but have the feeling this is not optimal for > speed wise when it is up to bulk import/reindex. > > I see http://wiki.apache.org/solr/DataImportHandler but kinda fail to > see howto do this specially formated data so solr makes use of it. > > Are there some real examples,articles on howto use this? > -- ----------------------------------------------------- Noble Paul | Principal Engineer| AOL | http://aol.com