[Koha-bugs] [Bug 12478] Elasticsearch support for Koha
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Mar 10 06:21:47 CET 2015
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12478
--- Comment #50 from Peter Zhao <peterzhaonj at 163.com> ---
(In reply to Robin Sheat from comment #48)
> 404 means there is no index with that name, you need to verify that the
> index name that you're providing is correct. You can do that with:
>
> curl 'koha-es:9200/_cat/indices?v'
>
> It is possible that there's a bug that if there aren't enough records to
> commit, nothing happens. I haven't tested that case yet. Try setting the
> commit option to the rebuild to '1'
I try to set the commit option to the rebuild to '1'. And then when rebuild the
record, it stays on “ is commiting”.
~$ /home/koha/kohaclone/misc/search_tools/rebuild_elastic_search.pl -v -d
Indexing biblios
1
Committing...
-----------
~$ curl 'localhost:9200/_cat/indices?v'
health index pri rep docs.count docs.deleted store.size pri.store.size
yellow koha_biblios 5 1 0 0 575b 575b
-------------
~$ curl -XGET 'http://localhost:9200/koha_biblios/_search?pretty=1'
{
"took" : 1,
"timed_out" : false,
"_shards" : {
"total" : 5,
"successful" : 5,
"failed" : 0
},
"hits" : {
"total" : 0,
"max_score" : null,
"hits" : [ ]
}
}
-----------
koha-conf.xml
<elasticsearch>
<server>localhost:9200</server>
<index_name>koha</index_name>
</elasticsearch>
----------
elasticsearch.yml
cluster.name: koha
node.name: "koha"
--------------
Should I change more setting information?
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list