See SOLR-3814, which says that this issue is fixed by SOLR-3743, which will
be in 4.0.
See:
https://issues.apache.org/jira/browse/SOLR-3814
-- Jack Krupansky
-----Original Message-----
From: Jonatan Fournier
Sent: Tuesday, September 18, 2012 1:35 PM
To: solr-user@lucene.apache.org
Subject: Duplicate in copyField
Hi,
I have something strange happening (4.0-BETA), I have a title field:
<field name="title" type="string" indexed="false" stored="true"
omitNorms="true"/>
And a copyField:
<copyField source="foo" dest="title"/>
Note that I don't have multivalue set for the title field, but I do
end up with multiple value in my field:
{
"responseHeader":{
"status":0,
"QTime":371,
"params":{
"indent":"true",
"wt":"json",
"q":"domain:dyslexia-test.com"}},
"response":{"numFound":1,"start":0,"maxScore":13.414578,"docs":[
{
"id":"9f13185f8134ff75cb1c6106ac5db63f",
"foo":"bar",
"title":["bar",
"bar"],
...
}
I made two operations on that document.
First I created it by populating some of its fields, and in a second
pass, I queried the document via "id" add other values to the
un-populated fields and send the document back.
Why is there more than one value for title? At worst should the 2nd
operation overwrites the original value?
Cheers,
/jonathan