mirror of https://github.com/apache/lucene.git
SOLR-3073: Fixed 'Invalid UUID string' error
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1238678 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
d3e50cad5f
commit
cf538e6f74
|
@ -541,6 +541,9 @@ Bug Fixes
|
|||
|
||||
* SOLR-2280: commitWithin ignored for a delete query (Juan Grande via janhoy)
|
||||
|
||||
* SOLR-3073: Fixed 'Invalid UUID string' error when having an UUID field as
|
||||
the unique key and executing a distributed grouping request. (Devon Krisman, Martijn van Groningen)
|
||||
|
||||
Other Changes
|
||||
----------------------
|
||||
* SOLR-2922: Upgrade commons-io and commons-lang to 2.1 and 2.6, respectively. (koji)
|
||||
|
|
|
@ -184,7 +184,7 @@ public class TopGroupsResultTransformer implements ShardResultTransformer<List<C
|
|||
documents.add(document);
|
||||
|
||||
Document doc = retrieveDocument(uniqueField, searchGroup.scoreDocs[i].doc);
|
||||
document.add("id", uniqueField.getType().toObject(doc.getField(uniqueField.getName())));
|
||||
document.add("id", uniqueField.getType().toExternal(doc.getField(uniqueField.getName())));
|
||||
if (!Float.isNaN(searchGroup.scoreDocs[i].score)) {
|
||||
document.add("score", searchGroup.scoreDocs[i].score);
|
||||
}
|
||||
|
@ -237,7 +237,7 @@ public class TopGroupsResultTransformer implements ShardResultTransformer<List<C
|
|||
documents.add(document);
|
||||
|
||||
Document doc = retrieveDocument(uniqueField, scoreDoc.doc);
|
||||
document.add("id", uniqueField.getType().toObject(doc.getField(uniqueField.getName())));
|
||||
document.add("id", uniqueField.getType().toExternal(doc.getField(uniqueField.getName())));
|
||||
if (rb.getGroupingSpec().isNeedScore()) {
|
||||
document.add("score", scoreDoc.score);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue