[Koha-bugs] [Bug 21675] Unable to add to a basket with ElasticSearch enabled

2018-12-07 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21675

Jonathan Druart  changed:

   What|Removed |Added

 Status|REOPENED|RESOLVED
 Resolution|--- |FIXED
   See Also||https://bugs.koha-community
   ||.org/bugzilla3/show_bug.cgi
   ||?id=21974

--- Comment #9 from Jonathan Druart  
---
Reza, I have opened bug 21974 to deal with cxn_pool. I think the original error
reported here was a configuration problem as Aleisha was testing it locally.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
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/


[Koha-bugs] [Bug 21675] Unable to add to a basket with ElasticSearch enabled

2018-12-06 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21675

Reza  changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
 Resolution|INVALID |---

--- Comment #8 from Reza  ---
I contacted Catalyst to solve the issue for us. 

Our Koha is installed with a memcached and an elastic search cluster with two
nodes.


This is the finding:



On line 92 of Koha::SearchEngine::Elasticsearch I
removed cxn_pool => 'Sniff',

This allowed us to connect to the Amazon Elastic cluster.
I then dropped and recreated the Elasticsearch indexes

I note that it errored if you tried to do the default 5000 records per
commit, and that it still didn't like 1000, but it was happy at 100

So when you run

koha-elasticsearch --rebuild apiit   you want to also add -c 100 so it
does 100 records at a time.

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
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/


[Koha-bugs] [Bug 21675] Unable to add to a basket with ElasticSearch enabled

2018-12-06 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21675

Jonathan Druart  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |INVALID

--- Comment #7 from Jonathan Druart  
---
(for the record)

Works for me finally, I had to upgrade elastic and:

% cd /usr/share/elasticsearch
% sudo bin/elasticsearch-plugin remove analysis-icu
% sudo bin/elasticsearch-plugin install analysis-icu

hit
/cgi-bin/koha/admin/searchengine/elasticsearch/mappings.pl?op=reset_know_what_i_am_doing=1

% perl misc/search_tools/rebuild_elastic_search.pl -d
% sudo koha-elasticsearch --rebuild -b -a kohadev

not trivial...

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
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/


[Koha-bugs] [Bug 21675] Unable to add to a basket with ElasticSearch enabled

2018-12-06 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21675

Jonathan Druart  changed:

   What|Removed |Added

   Severity|critical|normal

--- Comment #6 from Jonathan Druart  
---
Scratch the last comment, I get the same error with a "normal search"

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
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/


[Koha-bugs] [Bug 21675] Unable to add to a basket with ElasticSearch enabled

2018-12-06 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21675

--- Comment #5 from Jonathan Druart  
---
(In reply to Reza from comment #2)
> I am facing the same issue.

I do not think it is the same issue, it looks like a configuration problem.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
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/


[Koha-bugs] [Bug 21675] Unable to add to a basket with ElasticSearch enabled

2018-12-06 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21675

Jonathan Druart  changed:

   What|Removed |Added

   Severity|major   |critical
 CC||jonathan.dru...@bugs.koha-c
   ||ommunity.org

--- Comment #4 from Jonathan Druart  
---
Same here, search is working ok, so it's not a configuration issue.

I'd say the problem is that we are passing the result of build_query_compat to
simple_search_compat. Regarding other calls it expects a string.
It also appears from addbooks.pl

The POD says both are ok:
"""
 A thing to search for. It could be a simple string, or something constructed
 with the appropriate QueryBuilder module.
"""

Hard to say what is expected as this method is not covered by tests (!)

Upping severity.

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
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/


[Koha-bugs] [Bug 21675] Unable to add to a basket with ElasticSearch enabled

2018-11-28 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21675

--- Comment #3 from Reza  ---
Koha Version 18.11.00.000

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
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/


[Koha-bugs] [Bug 21675] Unable to add to a basket with ElasticSearch enabled

2018-11-28 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21675

reza.ga...@apu.edu.my  changed:

   What|Removed |Added

 CC||reza.ga...@apu.edu.my

--- Comment #2 from reza.ga...@apu.edu.my  ---
I am facing the same issue. After upgrading to the latest:



$ koha-elasticsearch --verbose --rebuild $instance

Indexing biblios
[NoNodes] ** No nodes are available:
[vpc-els-w2lu.ap-southeast-1.es.amazonaws.com], called from sub
Search::Elasticsearch::Role::Client::Direct::__ANON__ at
/usr/share/koha/lib/Koha/SearchEngine/Elasticsearch/Indexer.pm line 382.

ES is up and running with 2 nodes.



Curl response from Koha server:

{
  "name" : "PiJKGkk",
  "cluster_name" : "1894980:els",
  "cluster_uuid" : "KJB8jbkjhjki78KJKJ88",
  "version" : {
"number" : "5.5.2",
"build_hash" : "b2f0c09",
"build_date" : "2018-09-11T13:05:43.663Z",
"build_snapshot" : true,
"lucene_version" : "6.6.0"
  },
  "tagline" : "You Know, for Search"
}

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
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/


[Koha-bugs] [Bug 21675] Unable to add to a basket with ElasticSearch enabled

2018-11-21 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21675

Nick Clemens  changed:

   What|Removed |Added

 CC||n...@bywatersolutions.com

--- Comment #1 from Nick Clemens  ---
The "No nodes are available" message suggests an issue with your ES server, can
you confirm ES is running and searchign si working and then see if this can be
recreated?

I can add to baskets with no issues.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
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/


[Koha-bugs] [Bug 21675] Unable to add to a basket with ElasticSearch enabled

2018-10-28 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21675

Katrin Fischer  changed:

   What|Removed |Added

  Component|Acquisitions|Searching - Elasticsearch
 QA Contact|testo...@bugs.koha-communit |
   |y.org   |
 CC||katrin.fisc...@bsz-bw.de

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
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/