Hi,

I have been indexing documents for a long time usign /update/extract.
Everyhting has been working well until I got a new requirement to add
nested documents

I added to schema.xml
<field name="type_level" type="string" indexed="true" stored="true"
docValues="true" /> <field name="_root_" type="string" indexed="true" stored
="true" multiValued="false" required="false" />

My unique field
<field name="DocID" type="string" indexed="true" stored="true" />
<uniqueKey>DocID</uniqueKey>

Ater doing this my reques to /update/extract to reindex the same document
duplicates the document in SOlr.
Here my request. I only changed the new parametes type_level:parent

http://server:8983/solr/document/update/extract?
literal.id=6584239&
resource.name=&
wt=xml&
literal.DocID=6584239&
literal.CoreID=6584239&
literal.DocIsAttachToPNB=False&
literal.DocAuthorID=1455&
literal.DocIsAttachToPerson=True&
literal.DocIsAttachToAssign=False&
literal.DocIsAttachToCompany=False&
literal.DocVersionID=4504527&
literal.InsertDateSD=2011-01-03T07%3a51%3a00.0Z&
literal.DocNameS=Squires+David+RES.doc&
literal.DocCateNameS=Resume%2fCV&
literal.DocAreaCateNameS=Person+Module&
literal.type_level=parent&
stream.url=http%3a%2f%2flocalhost%3a8081%2f4%2f50%2f45%2fSquires%2520David%2520RES15EAC416-AF05-4D38-A4F9-7B489962C167.docx&
overwrite=true&
commit=true

After this request the document appear duplicated. the only difference
between the old and new one is type_level:parent.

Anyone has any idea why this is happening.

Regads,
Sergio Maroto

Reply via email to