Fixed a bug introduced recently: recon candidates were not serializing their topic types for the data view, so in the data view we can't send back a candidate's types when the user wants to match the candidate to some cells. I need to figure out a better way to optimize this.

git-svn-id: http://google-refine.googlecode.com/svn/trunk@350 7d457c2a-affb-35e4-300a-418c747d4874
This commit is contained in:
David Huynh 2010-03-24 03:58:52 +00:00
parent 00cce1b99a
commit 4df1c4107a

View File

@ -49,7 +49,7 @@ public class ReconCandidate implements HasFields, Jsonizable {
writer.key("name"); writer.value(topicName);
writer.key("score"); writer.value(score);
if (!options.containsKey("reconCandidateOmitTypes")) {
/* if (!options.containsKey("reconCandidateOmitTypes")) */ {
writer.key("types"); writer.array();
for (String typeID : typeIDs) {
writer.value(typeID);