[Koha-bugs] [Bug 12478] Elasticsearch support for Koha

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Oct 2 12:10:20 CEST 2015


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12478

--- Comment #120 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Robin, It seems that something was wrong during the rebase process.
I have tried the updated branch without any success:

$ git reset --hard catalyst/elastic_search
$ installer/data/mysql/updatedatabase.pl # see error in previous comment, but I
should not that the following is still true if I remove the unique key
$ perl misc/search_tools/rebuild_elastic_search.pl -b -v # no error

I can now only search for "*", other patterns return nothing, and 
/koha-es_biblios/_search?q=*&pretty shows entries like:
{
      "_index" : "koha-es_biblios",
      "_type" : "data",
      "_id" : "11",
      "_score" : 1.0,
      "_source":{"record":[["LDR",null,null,"_","01199cam a22003134a
4500"],["001",null,null,"_","12011929"],["005",null,null,"_","20140507153623.0"],["008",null,null,"_","000518s2000
   ch a     b    001 0 eng  "],["010"," "," ","a","   00041664 "],["020"," ","
","a","1565924193"],["040"," "," ","a","DLC","c","DLC","d","DLC"],["042"," ","
","a","pcc"],["050","0","0","a","QA76.73.P22","b","G84
2000"],["082","0","0","a","005.2/762","2","21"],["100","1"," ","a","Guelich,
Scott.","9","8"],["245","1","0","a","CGI programming with Perl /","c","Scott
Guelich, Shishir Gundavaram and Gunther Birznieks."],["250"," "," ","a","2nd
ed."],["260"," "," ","a","Beijing ;","a","Cambridge, Mass.
:","b","O'Reilly,","c","2000."],["300"," "," ","a","xv, 451
p.","b","ill.","c","24 cm."],["504"," "," ","a","Includes bibliographical
references (p. 403-406) and index."],["650"," ","0","a","Perl (Computer program
language)","9","35"],["650"," ","0","a","CGI (Computer network
protocol)","9","37"],["650"," ","0","a","Internet
programming.","9","7"],["700","1"," ","a","Birznieks,
Gunther.","9","38"],["856","4","2","3","Publisher
description","u","http://www.loc.gov/catdir/enhancements/fy0715/00041664-d.html"],["906","
","
","a","7","b","cbc","c","orignew","d","1","e","ocip","f","20","g","y-gencatlg"],["942","
"," ","2","ddc","c","BK"],["955"," "," ","a","to ASCD pc16 05-18-00; jf05
(desc.) 05/18/00 ; jf11 to sl 5-19-00; jf12 to Dewey 05-23-00;aa03 5-24-00;CIP
ver jf0504/10/01; jf12 to BCCD 04-11-01"],["952"," ","
","0","0","1","0","4","0","6","_","7","0","8","GEN","9","32","a","ALPHA","b","ALPHA","c","GEN","d","2014-09-04","p","39999000000498","r","2014-09-04","w","2014-09-04","y","BK"],["999","
"," ","c","11","d","11"]],"_id":"11"}
    }

There is something wrong when the tables are populated.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list