I can certainly do: search for the unique key or combination of other fields, 
then put rest fields of this document plus new fields back to it.

I know this is not a too smart way, before I do that, is there any solr guru 
out there who can think of a better way?

Thanks much,
- Kevin

-----Original Message-----
From: Kevin Xiao [mailto:[EMAIL PROTECTED]
Sent: Saturday, June 07, 2008 9:32 AM
To: solr-user@lucene.apache.org
Subject: add new fields to existing index

Hi,

We have a huge existing index (~40G), and we decided to add more fields on the 
top of it from a different source. Say, I have a index with UniqueKey, FieldA, 
FieldB, FieldC, I want to add FieldD to it, so I create a document with 
UniqueKey, FieldD and do a solr commit. By doing that is it going to affect 
already indexed FieldA, FieldB, FieldC?

More general, if I have a index with UniqueKey, CommonField1, CommonField2, 
FieldA, FieldB, FieldC and I create a document with only CommonField1, 
CommonField2, FieldD (without the UniqueKey), is solr going to find and update 
the existing document?

Thanks for helping.

- Kevin

Reply via email to