http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12478
--- Comment #105 from Peter Zhao <[email protected]> --- (In reply to Robin Sheat from comment #104) > (In reply to Peter Zhao from comment #103) > > After I changed "uri_escape" to "uri_escape_utf8", ES can index and Opac can > > search Chinese in MARC21 structure. > > > > But it does not work in UNIMARC structure. It shows messy code. > > The code paths between MARC21 and UNIMARC shouldn't differ in ways that > would make a difference here. The only place where it comes up is > determining that XXXy goes into "author" or whatever. The following are 3 records, Chinese words show messy code, English words show correct, but they cannot search through Opac. koha@koha:~$ curl -XGET 'http://localhost:9200/koha_biblios/_search?pretty=1' { "took" : 3, "timed_out" : false, "_shards" : { "total" : 5, "successful" : 5, "failed" : 0 }, "hits" : { "total" : 3, "max_score" : 1.0, "hits" : [ { "_index" : "koha_biblios", "_type" : "data", "_id" : "1", "_score" : 1.0, "_source":{"pubdate":" ","subject":[["åºç£æ"],["åºç£æ"],["ç¥å¦"]],"author__facet":[["赵红å"]],"_id":"1","author":[["赵红å"]],"subject__facet":[["åºç£æ"],["åºç£æ"],["ç¥å¦"]],"record":[["LDR",null,null,"_","00261nam 22001213 4500"],["001",null,null,"_","1"],["005",null,null,"_","20150903102757.0"],["090"," "," ","a","1"],["100"," "," ","a","20150903d u||y0chiy50 ea"],["200"," "," ","a","åºç£æææ³å²","c","Peter","f","赵红å"],["600"," "," ","a","åºç£æ"],["601"," "," ","a","ç¥å¦"],["942"," "," ","c","BK"],["999"," "," ","c","1","d","1"]],"ta":"u","title":[["åºç£æææ³å²"],["Peter"]],"onloan":"0","Local-number":[["1"]]} }, { "_index" : "koha_biblios", "_type" : "data", "_id" : "2", "_score" : 1.0, "_source":{"pubdate":" ","subject":[["åºç£æ"],["åºç£æ"],["ç¥å¦"]],"author__facet":[["peter"]],"_id":"2","author":[["peter"]],"subject__facet":[["åºç£æ"],["åºç£æ"],["ç¥å¦"]],"record":[["LDR",null,null,"_","00257nam 22001213 4500"],["001",null,null,"_","2"],["005",null,null,"_","20150903105155.0"],["090"," "," ","a","2"],["100"," "," ","a","20150903d u||y0chiy50 ea"],["200"," "," ","a","åºç£æææ³å²","c","Peter","f","peter"],["600"," "," ","a","åºç£æ"],["601"," "," ","a","ç¥å¦"],["942"," "," ","c","BK"],["999"," "," ","c","2","d","2"]],"ta":"u","title":[["åºç£æææ³å²"],["Peter"]],"onloan":"0","Local-number":[["2"]]} }, { "_index" : "koha_biblios", "_type" : "data", "_id" : "3", "_score" : 1.0, "_source":{"pubdate":" ","subject":[["History"],["History"],["Christianity"]],"author__facet":[["Peter"]],"_id":"3","author":[["Peter"]],"subject__facet":[["History"],["History"],["Christianity"]],"record":[["LDR",null,null,"_","00259nam 22001213 4500"],["001",null,null,"_","3"],["005",null,null,"_","20150903125354.0"],["090"," "," ","a","3"],["100"," "," ","a","20150903d u||y0frey50 ba"],["200"," "," ","a","History of Christianity","f","Peter"],["600"," "," ","a","History"],["601"," "," ","a","Christianity"],["942"," "," ","c","BK"],["999"," "," ","c","3","d","3"]],"ta":"u","title":[["History of Christianity"]],"onloan":"0","Local-number":[["3"]]} } ] } } koha@koha:~$ -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
