Re: Solr search not working after copying a new field to an existing Indexed Field

2012-09-14 Thread Erick Erickson
This should not be the case. Any time you add a document with a pre-existing , the old document is completely replaced by the new document. You do have to issue a commit before you'll see the new info though. And if you do not have a defined, you'll see two copies of the doc. And sometimes your

Re: Solr search not working after copying a new field to an existing Indexed Field

2012-09-11 Thread Mani
Eric, "When you add a doc with the same unique key as an old doc, the data associated with the first version of the doc is entirely thrown away and its as though you'd never indexed it at all", I did exactly the same. The old doc and new doc there is not a change except the Name has changed. Whe

Re: Solr search not working after copying a new field to an existing Indexed Field

2012-09-08 Thread Erick Erickson
Solr docs a complete delete and re-add, there's no way to do a partial update. When you add a doc with the same unique key as an old doc, the data associated with the first version of the doc is entirely thrown away and its as though you'd never indexed it at all, the second version completely rep

Re: Solr search not working after copying a new field to an existing Indexed Field

2012-09-07 Thread Mani
yes..I do have this uniquekey defined properly. id Before the schema change... After the schema change... -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-search-not-working-after-copying-a-new-field-to-an-existing-Indexed-Field-tp4005993p4006217.html Sent f

Re: Solr search not working after copying a new field to an existing Indexed Field

2012-09-07 Thread Kiran Jayakumar
Do you have the unique key set up in your schema.xml ? It should be automatic if you have the ID field and define it as the unique key. ID On Thu, Sep 6, 2012 at 11:50 AM, Mani wrote: > I have a made a schema change to copy an existing field "name" (Source > Field) > to an existing search fiel