You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by MitchK <mi...@web.de> on 2010/04/06 08:09:13 UTC

Re: How to add new entity to the solr index without having to re-index previously stored data.

Maddy,

you need to reindex the whole record, if you change or add any kind of data
that belongs to it. 

Please, note that you need to subscribe to the solr-user-mailing list, since
not everyone is using Nabble to get Mailinglist-postings. 

Kind regards,
- Mitch


Maddy.Jsh wrote:
> 
> I indexed my solr using DIH. This is my config file
> <entity name="entity1" 
>             query="select id FROM db1">
> 
> 
> 		<field column="id" name="id"/>
> 	
> 		<entity name="entity2"
> 				query="select name FROM db2 where id='${db1.id}'">
> 			<field column="name" name="name"/>
> 
> 		</entity>
> </entity>
> 
> I now need to add another entity "entity3". Is there a way to only index
> entity3?
> 
-- 
View this message in context: http://n3.nabble.com/How-to-add-new-entity-to-the-solr-index-without-having-to-re-index-previously-stored-data-tp699537p699561.html
Sent from the Solr - User mailing list archive at Nabble.com.