null+****@clear*****
null+****@clear*****
2012年 8月 9日 (木) 15:26:27 JST
SHIMODA Hiroshi 2012-08-09 15:26:27 +0900 (Thu, 09 Aug 2012) New Revision: bf206cb0a2f1fe64e2ca6218779f76a7bdc14ce5 https://github.com/groonga/gcs/commit/bf206cb0a2f1fe64e2ca6218779f76a7bdc14ce5 Log: "database" => "domain" Modified files: bin/gcs-configure-text-options Modified: bin/gcs-configure-text-options (+2 -2) =================================================================== --- bin/gcs-configure-text-options 2012-08-09 15:25:25 +0900 (68635ff) +++ bin/gcs-configure-text-options 2012-08-09 15:26:27 +0900 (175e8e4) @@ -46,7 +46,7 @@ commandLine.assertDomainExists(); if (commandLine.options.printStems) { } else if (commandLine.options.printStopwords) { } else if (commandLine.options.printSynonyms) { - var synonyms = commandLine.database.getSynonymsSync(); + var synonyms = commandLine.domain.getSynonymsSync(); Object.keys(synonyms).forEach(function(term) { console.log([term].concat(synonyms[term]).join(',')); }); @@ -64,7 +64,7 @@ if (commandLine.options.printStems) { var key = terms.shift(); synonyms[key] = terms; }); - commandLine.database.updateSynonymsSync(synonyms); + commandLine.domain.updateSynonymsSync(synonyms); } } -------------- next part -------------- HTML$B$NE:IU%U%!%$%k$rJ]4I$7$^$7$?(B... 다운로드