[Koha-bugs] [Bug 25669] ElasticSearch 6: [types removal] Specifying types in put mapping requests is deprecated (incompatible with 7)

2024-04-02 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25669

Aude Charillon  changed:

   What|Removed |Added

 Status|Needs documenting   |RESOLVED
 Resolution|--- |FIXED
 CC||aude.charillon@ptfs-europe.
   ||com

--- Comment #62 from Aude Charillon  ---
No changes to Koha Manual needed.

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://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 25669] ElasticSearch 6: [types removal] Specifying types in put mapping requests is deprecated (incompatible with 7)

2023-05-10 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25669

koha-US bug tracker  changed:

   What|Removed |Added

 CC||bugzi...@koha-us.org

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://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 25669] ElasticSearch 6: [types removal] Specifying types in put mapping requests is deprecated (incompatible with 7)

2022-11-27 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25669

--- Comment #61 from Victor Grousset/tuxayo  ---
Updated doc to reflect this:
https://wiki.koha-community.org/wiki/System_requirements_and_recommendations

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://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 25669] ElasticSearch 6: [types removal] Specifying types in put mapping requests is deprecated (incompatible with 7)

2022-11-07 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25669

--- Comment #60 from Nick Clemens  ---
Correct, 6.8 is required for include_type_name:
https://www.elastic.co/blog/moving-from-types-to-typeless-apis-in-elasticsearch-7-0

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://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 25669] ElasticSearch 6: [types removal] Specifying types in put mapping requests is deprecated (incompatible with 7)

2022-11-07 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25669

--- Comment #59 from Kevin Carnes  ---
(In reply to Aleisha Amohia from comment #58)
> This appears to have broken our ES6, we're seeing this error:
> 
> Exception 'Koha::Exception' thrown 'Unable to update mappings for index
> "koha_instance_biblios". Reason was: "request
> [/koha_instance_biblios/_mapping/data] contains unrecognized parameter:
> [include_type_name]". Index needs to be recreated and reindexed'
> Something went wrong rebuilding indexes 
> 
> How do we fix this please? I'm not sure what this change means for us if
> we're still running ES6.

Which version of Elasticsearch are you using? I think at least version 6.8 is
required to use include_type_name.

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://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 25669] ElasticSearch 6: [types removal] Specifying types in put mapping requests is deprecated (incompatible with 7)

2022-11-06 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25669

Aleisha Amohia  changed:

   What|Removed |Added

 CC||alei...@catalyst.net.nz

--- Comment #58 from Aleisha Amohia  ---
This appears to have broken our ES6, we're seeing this error:

Exception 'Koha::Exception' thrown 'Unable to update mappings for index
"koha_instance_biblios". Reason was: "request
[/koha_instance_biblios/_mapping/data] contains unrecognized parameter:
[include_type_name]". Index needs to be recreated and reindexed'
Something went wrong rebuilding indexes 

How do we fix this please? I'm not sure what this change means for us if we're
still running ES6.

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://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 25669] ElasticSearch 6: [types removal] Specifying types in put mapping requests is deprecated (incompatible with 7)

2022-10-06 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25669

David Nind  changed:

   What|Removed |Added

   Keywords||release-notes-needed
 CC||da...@davidnind.com

--- Comment #57 from David Nind  ---
Could I get some feedback on the documentation required?

My initial thoughts, as this is a technical change and is not something that
I'm in any way familiar with:

1. This change:
   a. release note about what this change does - I have added the
release-notes-needed keyword
   b. communication to the main Koha and development mailing lists about
Elasticsearch/OpenSearch support for 22.11 and supported releases (or maybe
just in the 22.11 release notes)

2. Installing and configuring Elasticsearch/OpenSearch:
   a. I'm not sure what we have currently, and how up-to-date it is. Any
pointers to the Wiki and other sources would be appreciated.
   b. Should we have a link from the main Koha installation guide to some
instructions on the basics?
   c. What should be in scope? If the Elasticsearch/OpenSearch installation is
sufficient, then we should link to that, and only provide any Koha specific
things to consider.

3. Guide to using Elasticsearch: this is not something we have now, but
something we could potentially work on.

4. Supported version matrix, including OpenSearch options.

5. Material for developers, including the KTD development environment and how
to get the various versions working.

For anything more than item 1, I'm proposing to create separate documentation
bugs for these:

- Omnibus Elasticsearch/OpenSearch documentation bug

- Specific guides covering:
  . Installation and administration (from a system administration perspective -
keeping things running)
  . Using Elasticsearch/OpenSearch: more from a library point of view,
including an overview, configuring, options, mappings, etc - the day-to-day
things to make sure the search in Koha is working as required.

- Development guide: from a developer perspective and what to do when working
on search-related bugs, testing various versions, KTD environment.

Some help would be required with these, as it seems to me to be a quite
technical area with some expertise required.

David

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://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 25669] ElasticSearch 6: [types removal] Specifying types in put mapping requests is deprecated (incompatible with 7)

2022-08-30 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25669

Arthur Suzuki  changed:

   What|Removed |Added

 Version(s)|22.11.00, 22.05.04, |22.11.00, 22.05.04,
released in|21.05.18|21.11.12, 21.05.18

--- Comment #56 from Arthur Suzuki  ---
thx pushed to 21.11.x for 21.11.12

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://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 25669] ElasticSearch 6: [types removal] Specifying types in put mapping requests is deprecated (incompatible with 7)

2022-08-26 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25669

Victor Grousset/tuxayo  changed:

   What|Removed |Added

 Status|Pushed to oldstable |Needs documenting
 Version(s)|22.11.00, 22.05.04, |22.11.00, 22.05.04,
released in|21.11.12|21.05.18

--- Comment #55 from Victor Grousset/tuxayo  ---
Backported: Pushed to 21.05.x branch for 21.05.18

About ES 7 support, I asked for the next meeting if we can start advertising
it.

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://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 25669] ElasticSearch 6: [types removal] Specifying types in put mapping requests is deprecated (incompatible with 7)

2022-08-26 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25669

Arthur Suzuki  changed:

   What|Removed |Added

 Status|Pushed to stable|Pushed to oldstable
 Version(s)|22.11.00, 22.05.04  |22.11.00, 22.05.04,
released in||21.11.12

--- Comment #54 from Arthur Suzuki  ---
pushed to 21.11.x for 21.11.12

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://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 25669] ElasticSearch 6: [types removal] Specifying types in put mapping requests is deprecated (incompatible with 7)

2022-08-19 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25669

--- Comment #53 from Victor Grousset/tuxayo  ---
(In reply to Arthur Suzuki from comment #50)
> doesn't apply cleanly on 21.11.x. please provide backport if needed.

Here it is, so we can be sure to have it for next release. (Which should
therefore finally support ES 7!)

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://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 25669] ElasticSearch 6: [types removal] Specifying types in put mapping requests is deprecated (incompatible with 7)

2022-08-19 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25669

--- Comment #52 from Victor Grousset/tuxayo  ---
Created attachment 139532
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=139532=edit
Bug 25669: [21.11.x] (follow-up) Minor fixes

Bulk doesn't support include_type_name, update requirement to
Search::Elasticseach@6.80, and remove data type name from tests.

Signed-off-by: Julian Maurice 
Signed-off-by: Martin Renvoize 
Signed-off-by: Tomas Cohen Arazi 
(cherry picked from commit e926de5e8f359acf6b8beff541fe13ce2a5ac49e)

Signed-off-by: Lucas Gass 

(cherry picked from commit 22c9ea9737d614a26b06092cda9708e27013e494)
Rebased-by: Victor Grousset/tuxayo 

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://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 25669] ElasticSearch 6: [types removal] Specifying types in put mapping requests is deprecated (incompatible with 7)

2022-08-19 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25669

--- Comment #51 from Victor Grousset/tuxayo  ---
Created attachment 139531
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=139531=edit
Bug 25669: [21.11.x] Use include_type_name parameter in ES calls

This patch includes the parameter:
include_type_name
on our ES calls

It removes the deprecation warning we are seeing, and should allow using ES7
with no other chnages.

For ES8 we will need to remove the hardcoded type,

I would suggest a second patch, with a new syspref "ElasticsearchLegacyType"
set to 'True' by default.
Description can explain that this must be set to false, and data reindexed
after upgrading to ES7 and before
upgrading to ES8 - then we can drop this pref when we drop ES7 support

When we drop ES6 support the pref can be set default true for upgrades, default
'false' for new installs

Signed-off-by: Julian Maurice 
Signed-off-by: Martin Renvoize 
Signed-off-by: Tomas Cohen Arazi 
(cherry picked from commit 150a4b03f337f6a58869c67d3681caa64441d53a)

Signed-off-by: Lucas Gass 

(cherry picked from commit 99757c2d975d224ea191622116e6eb839fff70c1)
Rebased-by: Victor Grousset/tuxayo 

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://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 25669] ElasticSearch 6: [types removal] Specifying types in put mapping requests is deprecated (incompatible with 7)

2022-08-11 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25669

Arthur Suzuki  changed:

   What|Removed |Added

 CC||arthur.suz...@biblibre.com

--- Comment #50 from Arthur Suzuki  ---
doesn't apply cleanly on 21.11.x. please provide backport if needed.

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://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 25669] ElasticSearch 6: [types removal] Specifying types in put mapping requests is deprecated (incompatible with 7)

2022-07-29 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25669

Lucas Gass  changed:

   What|Removed |Added

 CC||lu...@bywatersolutions.com
 Version(s)|22.11.00|22.11.00, 22.05.04
released in||
 Status|Pushed to master|Pushed to stable

--- Comment #49 from Lucas Gass  ---
Backported to 22.05.x for 22.05.04

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://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 25669] ElasticSearch 6: [types removal] Specifying types in put mapping requests is deprecated (incompatible with 7)

2022-07-16 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25669

--- Comment #48 from Victor Grousset/tuxayo  ---
> try using the staging repo, it has updated packages

Does that mean the problem is solved? Then when can backport, right?

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://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 25669] ElasticSearch 6: [types removal] Specifying types in put mapping requests is deprecated (incompatible with 7)

2022-07-15 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25669

--- Comment #47 from Mason James  ---
(In reply to Blou from comment #46)
> Any followup on this ?
> 
> Our master doesn't work, we can't rebuild the mappings anymore.

hi Blou,
try using the staging repo, it has updated packages

$ cat /etc/apt/sources.list.d/koha.list
deb http://debian.koha-community.org/koha-staging unstable  main

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://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 25669] ElasticSearch 6: [types removal] Specifying types in put mapping requests is deprecated (incompatible with 7)

2022-07-08 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25669

Blou  changed:

   What|Removed |Added

 CC||philippe.blo...@inlibro.com
   ||, shi-yao.w...@inlibro.com

--- Comment #46 from Blou  ---
Any followup on this ?

Our master doesn't work, we can't rebuild the mappings anymore.

We get an exception (and the printing of the message fails as well, since args 
   is empty.  A dumping gets us the variable 'text' at least, that states

Unknown param (include_type_name) in (put_mapping) request.

This is on Ubuntu 20.04, but it would happen everywhere (we use Debian 10 just
about everywhere in production).

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://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 25669] ElasticSearch 6: [types removal] Specifying types in put mapping requests is deprecated (incompatible with 7)

2022-06-27 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25669

--- Comment #45 from Marcel de Rooy  ---
(In reply to Victor Grousset/tuxayo from comment #44)
> What happened?! :o
> 
> Something with Search::Elasticsearch 6.80?

Yes. Debian 10 has 6.00

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://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 25669] ElasticSearch 6: [types removal] Specifying types in put mapping requests is deprecated (incompatible with 7)

2022-06-25 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25669

--- Comment #44 from Victor Grousset/tuxayo  ---
What happened?! :o

Something with Search::Elasticsearch 6.80?

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://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 25669] ElasticSearch 6: [types removal] Specifying types in put mapping requests is deprecated (incompatible with 7)

2022-06-24 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25669

Marcel de Rooy  changed:

   What|Removed |Added

 CC||m.de.r...@rijksmuseum.nl

--- Comment #43 from Marcel de Rooy  ---
(In reply to Tomás Cohen Arazi from comment #42)
> Pushed to master for 22.11.
> 
> Nice work everyone, thanks!

I immediately cannot install master anymore on Debian 10.
Thanks ;)

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://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 25669] ElasticSearch 6: [types removal] Specifying types in put mapping requests is deprecated (incompatible with 7)

2022-06-23 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25669

--- Comment #42 from Tomás Cohen Arazi  ---
Pushed to master for 22.11.

Nice work everyone, thanks!

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://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 25669] ElasticSearch 6: [types removal] Specifying types in put mapping requests is deprecated (incompatible with 7)

2022-06-23 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25669

Tomás Cohen Arazi  changed:

   What|Removed |Added

 Status|Passed QA   |Pushed to master
 Version(s)||22.11.00
released in||

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://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 25669] ElasticSearch 6: [types removal] Specifying types in put mapping requests is deprecated (incompatible with 7)

2022-06-23 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25669

--- Comment #41 from Tomás Cohen Arazi  ---
Created attachment 136453
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=136453=edit
Bug 25669: (follow-up) Minor fixes

Bulk doesn't support include_type_name, update requirement to
Search::Elasticseach@6.80, and remove data type name from tests.

Signed-off-by: Julian Maurice 
Signed-off-by: Martin Renvoize 
Signed-off-by: Tomas Cohen Arazi 

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://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 25669] ElasticSearch 6: [types removal] Specifying types in put mapping requests is deprecated (incompatible with 7)

2022-06-23 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25669

--- Comment #40 from Tomás Cohen Arazi  ---
Created attachment 136452
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=136452=edit
Bug 25669: Use include_type_name parameter in ES calls

This patch includes the parameter:
include_type_name
on our ES calls

It removes the deprecation warning we are seeing, and should allow using ES7
with no other chnages.

For ES8 we will need to remove the hardcoded type,

I would suggest a second patch, with a new syspref "ElasticsearchLegacyType"
set to 'True' by default.
Description can explain that this must be set to false, and data reindexed
after upgrading to ES7 and before
upgrading to ES8 - then we can drop this pref when we drop ES7 support

When we drop ES6 support the pref can be set default true for upgrades, default
'false' for new installs

Signed-off-by: Julian Maurice 
Signed-off-by: Martin Renvoize 
Signed-off-by: Tomas Cohen Arazi 

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://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 25669] ElasticSearch 6: [types removal] Specifying types in put mapping requests is deprecated (incompatible with 7)

2022-06-23 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25669

Tomás Cohen Arazi  changed:

   What|Removed |Added

 Attachment #136418|0   |1
is obsolete||

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://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 25669] ElasticSearch 6: [types removal] Specifying types in put mapping requests is deprecated (incompatible with 7)

2022-06-23 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25669

Tomás Cohen Arazi  changed:

   What|Removed |Added

 Attachment #136417|0   |1
is obsolete||

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://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 25669] ElasticSearch 6: [types removal] Specifying types in put mapping requests is deprecated (incompatible with 7)

2022-06-23 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25669

Tomás Cohen Arazi  changed:

   What|Removed |Added

 CC||tomasco...@gmail.com

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://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 25669] ElasticSearch 6: [types removal] Specifying types in put mapping requests is deprecated (incompatible with 7)

2022-06-22 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25669

Martin Renvoize  changed:

   What|Removed |Added

 QA Contact||martin.renvoize@ptfs-europe
   ||.com

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://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 25669] ElasticSearch 6: [types removal] Specifying types in put mapping requests is deprecated (incompatible with 7)

2022-06-22 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25669

Martin Renvoize  changed:

   What|Removed |Added

 Status|Signed Off  |Passed QA

--- Comment #39 from Martin Renvoize  ---
All seems to be working well in tests, QA scripts are happy and the unit tests
are passing.

Passing QA.. nice work chaps.

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://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 25669] ElasticSearch 6: [types removal] Specifying types in put mapping requests is deprecated (incompatible with 7)

2022-06-22 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25669

Martin Renvoize  changed:

   What|Removed |Added

 Attachment #135543|0   |1
is obsolete||

--- Comment #38 from Martin Renvoize  ---
Created attachment 136418
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=136418=edit
Bug 25669: [alternate] Use include_type_name parameter in ES calls (small
fixes)

Bulk doesn't support include_type_name, update requirement to
Search::Elasticseach@6.80, and remove data type name from tests.

Signed-off-by: Julian Maurice 
Signed-off-by: Martin Renvoize 

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://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 25669] ElasticSearch 6: [types removal] Specifying types in put mapping requests is deprecated (incompatible with 7)

2022-06-22 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25669

Martin Renvoize  changed:

   What|Removed |Added

 Attachment #135542|0   |1
is obsolete||

--- Comment #37 from Martin Renvoize  ---
Created attachment 136417
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=136417=edit
Bug 25669: [alternate] Use include_type_name parameter in ES calls

This patch includes the parameter:
include_type_name
on our ES calls

It removes the deprecation warning we are seeing, and should allow using ES7
with no other chnages.

For ES8 we will need to remove the hardcoded type,

I would suggest a second patch, with a new syspref "ElasticsearchLegacyType"
set to 'True' by default.
Description can explain that this must be set to false, and data reindexed
after upgrading to ES7 and before
upgrading to ES8 - then we can drop this pref when we drop ES7 support

When we drop ES6 support the pref can be set default true for upgrades, default
'false' for new installs

Signed-off-by: Julian Maurice 
Signed-off-by: Martin Renvoize 

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://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 25669] ElasticSearch 6: [types removal] Specifying types in put mapping requests is deprecated (incompatible with 7)

2022-06-01 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25669

Julian Maurice  changed:

   What|Removed |Added

 Status|Needs Signoff   |Signed Off

--- Comment #36 from Julian Maurice  ---
- Followed test plan: OK (unit tests do not work with a UNIMARC database, but
they do not work better on master either, OK with a MARC21 database)
- Tested upgrading ES 6 to 7: OK - search continues to work without reindexing
- Tested also with latest version of Search::Elasticsearch (7.715): OK

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://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 25669] ElasticSearch 6: [types removal] Specifying types in put mapping requests is deprecated (incompatible with 7)

2022-06-01 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25669

Julian Maurice  changed:

   What|Removed |Added

 Attachment #135335|0   |1
is obsolete||

--- Comment #35 from Julian Maurice  ---
Created attachment 135543
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=135543=edit
Bug 25669: [alternate] Use include_type_name parameter in ES calls (small
fixes)

Bulk doesn't support include_type_name, update requirement to
Search::Elasticseach@6.80, and remove data type name from tests.

Signed-off-by: Julian Maurice 

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://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 25669] ElasticSearch 6: [types removal] Specifying types in put mapping requests is deprecated (incompatible with 7)

2022-06-01 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25669

Julian Maurice  changed:

   What|Removed |Added

 Attachment #132321|0   |1
is obsolete||

--- Comment #34 from Julian Maurice  ---
Created attachment 135542
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=135542=edit
Bug 25669: [alternate] Use include_type_name parameter in ES calls

This patch includes the parameter:
include_type_name
on our ES calls

It removes the deprecation warning we are seeing, and should allow using ES7
with no other chnages.

For ES8 we will need to remove the hardcoded type,

I would suggest a second patch, with a new syspref "ElasticsearchLegacyType"
set to 'True' by default.
Description can explain that this must be set to false, and data reindexed
after upgrading to ES7 and before
upgrading to ES8 - then we can drop this pref when we drop ES7 support

When we drop ES6 support the pref can be set default true for upgrades, default
'false' for new installs

Signed-off-by: Julian Maurice 

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://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 25669] ElasticSearch 6: [types removal] Specifying types in put mapping requests is deprecated (incompatible with 7)

2022-05-25 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25669

--- Comment #33 from Kevin Carnes  ---
To test:
1) Configure Koha to use ES 6.8
2) Make sure that Search::Elasticsearch@6.80 is installed
3) Run prove t/db_dependent/Koha/SearchEngine/Elasticsearch/Search.t
4) Apply patch
5) Run prove t/db_dependent/Koha/SearchEngine/Elasticsearch/Search.t
6) Make sure that all the tests pass
7) Configure Koha to use ES 7
8) Make sure that Search::Elasticsearch has the same version as ES
9) Run prove t/db_dependent/Koha/SearchEngine/Elasticsearch/Search.t
10) Apply patch
11) Run prove t/db_dependent/Koha/SearchEngine/Elasticsearch/Search.t
12) Make sure that all the tests pass
13) Sign off

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://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 25669] ElasticSearch 6: [types removal] Specifying types in put mapping requests is deprecated (incompatible with 7)

2022-05-25 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25669

Kevin Carnes  changed:

   What|Removed |Added

 Attachment #131484|0   |1
is obsolete||

--- Comment #32 from Kevin Carnes  ---
Created attachment 135335
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=135335=edit
Bug 25669: [alternate] Use include_type_name parameter in ES calls (small
fixes)

Bulk doesn't support include_type_name, update requirement to
Search::Elasticseach@6.80, and remove data type name from tests.

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://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 25669] ElasticSearch 6: [types removal] Specifying types in put mapping requests is deprecated (incompatible with 7)

2022-05-25 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25669

Kevin Carnes  changed:

   What|Removed |Added

 Status|In Discussion   |Needs Signoff

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://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 25669] ElasticSearch 6: [types removal] Specifying types in put mapping requests is deprecated (incompatible with 7)

2022-05-17 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25669

--- Comment #31 from Kevin Carnes  ---
No objection, I think Nick's alternate is a good solution. I would recommend
removing the data type from the mappings in the test files so that they pass
and updating cpanfile to require Search::Elasticsearch@6.80.

(In reply to Victor Grousset/tuxayo from comment #30)
> For the sake of simplicity and unblocking this, is there any objection going
> the way of supporting just ES 6 and ES 7 without a version check?
> And if someone needs support for the completely non-libre ES 8 they would
> continue with the more complex solution to have a wide version support. IMHO
> ES 8 has much less priority so no need to be proactive if it gets us to
> stall.
> 
> I lost track about the patches, is the right one (assuming going with above
> proposal) this one?: "Bug 25669: [alternate] Use include_type_name parameter
> in ES calls"

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://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 25669] ElasticSearch 6: [types removal] Specifying types in put mapping requests is deprecated (incompatible with 7)

2022-05-11 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25669

Martin Renvoize  changed:

   What|Removed |Added

 CC||martin.renvoize@ptfs-europe
   ||.com
   Severity|critical|normal

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://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 25669] ElasticSearch 6: [types removal] Specifying types in put mapping requests is deprecated (incompatible with 7)

2022-04-30 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25669

--- Comment #30 from Victor Grousset/tuxayo  ---
For the sake of simplicity and unblocking this, is there any objection going
the way of supporting just ES 6 and ES 7 without a version check?
And if someone needs support for the completely non-libre ES 8 they would
continue with the more complex solution to have a wide version support. IMHO ES
8 has much less priority so no need to be proactive if it gets us to stall.

I lost track about the patches, is the right one (assuming going with above
proposal) this one?: "Bug 25669: [alternate] Use include_type_name parameter in
ES calls"

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://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 25669] ElasticSearch 6: [types removal] Specifying types in put mapping requests is deprecated (incompatible with 7)

2022-04-26 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25669

--- Comment #29 from Kevin Carnes  ---
(In reply to Victor Grousset/tuxayo from comment #28)
> > In that case I think it would be possible to avoid checking the ES version
> 
> Even if someone wants to support ES 8, no version check is needed for this?
> Maybe your last paragraph actually is about this and we can't have ES 6 to 8
> support without check?

In order to avoid version checking, support for ES 8 wouldn't be available
while there is support for ES 6. So it would be support for ES 6 to 7 and then
support for ES 7 to 8.

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://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 25669] ElasticSearch 6: [types removal] Specifying types in put mapping requests is deprecated (incompatible with 7)

2022-04-12 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25669

Mason James  changed:

   What|Removed |Added

 CC||m...@kohaaloha.com

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://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 25669] ElasticSearch 6: [types removal] Specifying types in put mapping requests is deprecated (incompatible with 7)

2022-04-11 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25669

--- Comment #28 from Victor Grousset/tuxayo  ---
> In that case I think it would be possible to avoid checking the ES version

Even if someone wants to support ES 8, no version check is needed for this?
Maybe your last paragraph actually is about this and we can't have ES 6 to 8
support without check?

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://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 25669] ElasticSearch 6: [types removal] Specifying types in put mapping requests is deprecated (incompatible with 7)

2022-04-11 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25669

--- Comment #27 from Kevin Carnes  ---
(In reply to Victor Grousset/tuxayo from comment #26)
> > It will work as long as support before 6.7 is not required
> 
> I would say that's not a problem. ES <= 6.7 (even 6.8 actually) has security
> issues and is upgradable to 6.8.x directly.
> 

In that case I think it would be possible to avoid checking the ES version. As
long as the minimum version of ES is 6.7 and the minimum version of
Search::Elasticsearch is 6.8, using include_type_name should work for both ES 6
and 7.

This will give systems with ES 6 time to upgrade to ES 7. When it's decided
that support for ES 6 is no longer needed, include_type_name and specifying the
type name can be removed from Koha without needing to check the ES version
since it's assumed to be ES 7 or ES 8.

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://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 25669] ElasticSearch 6: [types removal] Specifying types in put mapping requests is deprecated (incompatible with 7)

2022-04-07 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25669

--- Comment #26 from Victor Grousset/tuxayo  ---
Thanks Kevin for the clarifications.

> It will work as long as support before 6.7 is not required

I would say that's not a problem. ES <= 6.7 (even 6.8 actually) has security
issues and is upgradable to 6.8.x directly.


(In reply to Julian Maurice from comment #25)
> Still unsure about how to do that. We have a few possible solutions:
> 1) Have a switch in $KOHA_CONF or in a syspref that enable/disable types
> 2) Have the version of ES in $KOHA_CONF or in a syspref (it might be better
> to have the version than several "feature switches") 

If we need a syspref or config switch, we can count on part of instances not
knowing that it's needed.

> 3) Detect the version of ES at indexing time.
> 
> solution 3 might cause performance issues when indexing directly (for
> instance after a biblio modification). They can be mitigated by either:
> a) put the version in memcached or L1 cache, but now there's a cache issue
> (you'd have to remember to flush the cache when upgrading ES)

What if we refresh the ES version cache value on each services start?
Surely there isn't the need to upgrade ES on the fly without even restarting
the services.
(wait, for installs without plack, do we have the concept of "restarting the
services"?)
Or maybe on ES connection init? (I don't know if it's kept alive or opened on
each request)

> b) use bug 27344 to index in a background job

It would make it not backportable.

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://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 25669] ElasticSearch 6: [types removal] Specifying types in put mapping requests is deprecated (incompatible with 7)

2022-03-30 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25669

--- Comment #25 from Julian Maurice  ---
(In reply to Nick Clemens from comment #22)
> (In reply to Victor Grousset/tuxayo from comment #21)
> > So if for now we only want to support ES 6 & ES 7 the alternate patch can do
> > and no config or sys pref needed?
> 
> I think  the goal as discussed with Julian yesterday is:
> 1 - Apply patch on a Koha using ES6 - indexing/searching continues to work
> with no reindex
> 2 - Upgrade ES to 7 - indexing/searching continues to work with no reindex
> 3 - Reindex Koha records - type 'data' is removed - indexing/searching
> continues to work
> 4 - Upgrade ES to 8 - indexing/searching continues to work with no reindex
> 
> Step 3 may require a switch, but Julian is looking into it

I tested steps 1 and 2 and it works well.
Indexing with ES 7 prints huge warning messages about the types being
deprecated, but I think it's not too much of a problem if we have a way to
reindex without the types right after the ES upgrade (which is the step 3)

Still unsure about how to do that. We have a few possible solutions:
1) Have a switch in $KOHA_CONF or in a syspref that enable/disable types
2) Have the version of ES in $KOHA_CONF or in a syspref (it might be better to
have the version than several "feature switches") 
3) Detect the version of ES at indexing time.

solution 3 might cause performance issues when indexing directly (for instance
after a biblio modification). They can be mitigated by either:
a) put the version in memcached or L1 cache, but now there's a cache issue
(you'd have to remember to flush the cache when upgrading ES)
b) use bug 27344 to index in a background job

Opinions ?

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://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 25669] ElasticSearch 6: [types removal] Specifying types in put mapping requests is deprecated (incompatible with 7)

2022-03-30 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25669

--- Comment #24 from Kevin Carnes  ---
(In reply to Victor Grousset/tuxayo from comment #23)
> I might be mixing stuff up. I though is was about a config switch or syspref
> to avoid querying the ES version.
> 
> Is this still about this? Or is that index not a performance issue to query
> the version when indexing?
> 

It was checking the version of Elasticsearch and Search::Elasticsearch to see
if it was necessary to include the type.

The alternative solution uses include_type_name to delay removing type names.
It will work starting with Elasticsearch 6.7 and Search::Elasticsearch@6.8 and
it will also work with Elasticsearch 7, but will give a deprecation warning.

It will work as long as support before 6.7 is not required and support for 6
will be dropped before adding support for version 8. When support for 6 is
dropped, Koha shouldn't include_type_name or use type names.

I don't think it's necessary to reindex between upgrades. There's only support
for one type name in Elasticsearch and it doesn't seem to cause a problem if
the name was data, but there's nothing wrong with reindexing in Elasticsearch
7.

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://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 25669] ElasticSearch 6: [types removal] Specifying types in put mapping requests is deprecated (incompatible with 7)

2022-03-29 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25669

--- Comment #23 from Victor Grousset/tuxayo  ---
I might be mixing stuff up. I though is was about a config switch or syspref to
avoid querying the ES version.

Is this still about this? Or is that index not a performance issue to query the
version when indexing?

quoting Kevin:

> It sends a request to Elasticsearch to find out the version number every time 
> Koha creates an Elasticsearch client and then parses the version number. This 
> can add up, especially when searching, but perhaps it's not as big an issue 
> for indexing.

> It's definitely possible to check the version number when indexing, if people 
> want to avoid adding a configuration, but it seems like others would like to 
> avoid checking for specific versions of Elasticsearch.

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://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 25669] ElasticSearch 6: [types removal] Specifying types in put mapping requests is deprecated (incompatible with 7)

2022-03-29 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25669

--- Comment #22 from Nick Clemens  ---
(In reply to Victor Grousset/tuxayo from comment #21)
> So if for now we only want to support ES 6 & ES 7 the alternate patch can do
> and no config or sys pref needed?

I think  the goal as discussed with Julian yesterday is:
1 - Apply patch on a Koha using ES6 - indexing/searching continues to work with
no reindex
2 - Upgrade ES to 7 - indexing/searching continues to work with no reindex
3 - Reindex Koha records - type 'data' is removed - indexing/searching
continues to work
4 - Upgrade ES to 8 - indexing/searching continues to work with no reindex

Step 3 may require a switch, but Julian is looking into it

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://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 25669] ElasticSearch 6: [types removal] Specifying types in put mapping requests is deprecated (incompatible with 7)

2022-03-29 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25669

--- Comment #21 from Victor Grousset/tuxayo  ---
So if for now we only want to support ES 6 & ES 7 the alternate patch can do
and no config or sys pref needed?

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://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 25669] ElasticSearch 6: [types removal] Specifying types in put mapping requests is deprecated (incompatible with 7)

2022-03-28 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25669

Nick Clemens  changed:

   What|Removed |Added

 Status|Signed Off  |In Discussion

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://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 25669] ElasticSearch 6: [types removal] Specifying types in put mapping requests is deprecated (incompatible with 7)

2022-03-28 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25669

--- Comment #20 from Nick Clemens  ---
Created attachment 132321
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=132321=edit
Bug 25669: [alternate] Use include_type_name parameter in ES calls

This patch includes the parameter:
include_type_name
on our ES calls

It removes the deprecation warning we are seeing, and should allow using ES7
with no other chnages.

For ES8 we will need to remove the hardcoded type,

I would suggest a second patch, with a new syspref "ElasticsearchLegacyType"
set to 'True' by default.
Description can explain that this must be set to false, and data reindexed
after upgrading to ES7 and before
upgrading to ES8 - then we can drop this pref when we drop ES7 support

When we drop ES6 support the pref can be set default true for upgrades, default
'false' for new installs

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://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 25669] ElasticSearch 6: [types removal] Specifying types in put mapping requests is deprecated (incompatible with 7)

2022-03-28 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25669

Nick Clemens  changed:

   What|Removed |Added

 Status|Failed QA   |Signed Off

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://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 25669] ElasticSearch 6: [types removal] Specifying types in put mapping requests is deprecated (incompatible with 7)

2022-03-28 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25669

--- Comment #19 from Nick Clemens  ---
(In reply to Julian Maurice from comment #17)
> I don't like to have a switch for that (I'd prefer Koha to detect
> automatically the ES version) but if we have it, I think it makes sense to
> have it close to the other ES settings.
> For instance, while testing it was easy to switch from one version of ES to
> another by (de)commenting a block in $KOHA_CONF
> 
> I don't understand why we would need to update this setting during a Koha
> upgrade. ES will not necessarily be upgraded at the same time as Koha. Can
> you explain a bit more what would be the benefits of having that setting as
> a syspref ?

I was thinking of the last time we moved required version of ES
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27070

I like the syspref because it can provide more control to the user and is more
visible and can include notes about the need, like  ElasticsearchCrossFields.
If a conf switch is preferred we should add something to the about page


If it's in the koha-conf - then I think it should be in the elasticsearch
stanza:
 
 es:9200
 koha_kohadev
 1 
 

As it will be the standard in the future, i.e. everyone will want no type as
ES6 is no longer supported I would rather see the switch the other way:
 to mirror the ES setting and their instructions

Looking deeper while typing this, we can also take advantage of
include_type_name parameter to get us through ES7, patch coming

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://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 25669] ElasticSearch 6: [types removal] Specifying types in put mapping requests is deprecated (incompatible with 7)

2022-03-28 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25669

--- Comment #18 from Julian Maurice  ---
Just tested this with Elasticsearch 8.1.1 (with bug 28610) and it seems to work
well :)

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://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 25669] ElasticSearch 6: [types removal] Specifying types in put mapping requests is deprecated (incompatible with 7)

2022-03-28 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25669

--- Comment #17 from Julian Maurice  ---
I don't like to have a switch for that (I'd prefer Koha to detect automatically
the ES version) but if we have it, I think it makes sense to have it close to
the other ES settings.
For instance, while testing it was easy to switch from one version of ES to
another by (de)commenting a block in $KOHA_CONF

I don't understand why we would need to update this setting during a Koha
upgrade. ES will not necessarily be upgraded at the same time as Koha. Can you
explain a bit more what would be the benefits of having that setting as a
syspref ?

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://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 25669] ElasticSearch 6: [types removal] Specifying types in put mapping requests is deprecated (incompatible with 7)

2022-03-25 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25669

Nick Clemens  changed:

   What|Removed |Added

 CC||n...@bywatersolutions.com
 Status|Signed Off  |Failed QA

--- Comment #16 from Nick Clemens  ---
I think this should be a system preference, rather than a config switch - it is
more easily adjusted

I don't like the idea of needing config switch for a future versions that will
want to be on - system preferences can be updated/removed with an automatic
update during upgrade - config will need manual intervention

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://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 25669] ElasticSearch 6: [types removal] Specifying types in put mapping requests is deprecated (incompatible with 7)

2022-03-21 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25669

Jonathan Druart  changed:

   What|Removed |Added

   Assignee|koha-b...@lists.koha-commun |kevin.car...@ub.lu.se
   |ity.org |
 CC||jonathan.druart+koha@gmail.
   ||com

-- 
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
https://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 25669] ElasticSearch 6: [types removal] Specifying types in put mapping requests is deprecated (incompatible with 7)

2022-03-18 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25669

Victor Grousset/tuxayo  changed:

   What|Removed |Added

   Severity|normal  |critical

-- 
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
https://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 25669] ElasticSearch 6: [types removal] Specifying types in put mapping requests is deprecated (incompatible with 7)

2022-03-08 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25669

Julian Maurice  changed:

   What|Removed |Added

 Status|Needs Signoff   |Signed Off

-- 
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
https://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 25669] ElasticSearch 6: [types removal] Specifying types in put mapping requests is deprecated (incompatible with 7)

2022-03-08 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25669

Julian Maurice  changed:

   What|Removed |Added

 Attachment #131037|0   |1
is obsolete||

--- Comment #15 from Julian Maurice  ---
Created attachment 131484
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=131484=edit
Bug 25669: ElasticSearch 6: [types removal] Specifying types in put mapping
requests is deprecated (incompatible with 7)

Starting with version 7.0 of Elasticsearch type names should not be used and
in version 6.8 there is a warning if you don't use include_type_name when
using put_mapping (requires Search::Elasticsearch@6.8).

To test:
1) Run prove t/db_dependent/Koha/SearchEngine/Elasticsearch/Search.t
2) Observe any deprecation warnings or errors about types
3) Apply patch
4) Install Search::Elasticsearch with the same version as Elasticsearch
5) If testing with ES7, enable elasticsearch_no_type in koha-conf.xml
6) Run prove t/db_dependent/Koha/SearchEngine/Elasticsearch/Search.t
7) Observe no warning or errors about types
8) Sign off

Sponsored-by: Lund University Library
Signed-off-by: Julian Maurice 

-- 
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
https://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 25669] ElasticSearch 6: [types removal] Specifying types in put mapping requests is deprecated (incompatible with 7)

2022-03-08 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25669

--- Comment #14 from Julian Maurice  ---
This makes sense, thanks.

I don't have any better suggestions, and the patch works as expected so I will
sign off.

I tested with ES 6.8.23 and ES 7.17.1.
Two tests are failing with ES 7 in
t/db_dependent/Koha/SearchEngine/Elasticsearch/Search.t but they should be
fixed by bug 28610

-- 
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
https://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 25669] ElasticSearch 6: [types removal] Specifying types in put mapping requests is deprecated (incompatible with 7)

2022-03-08 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25669

--- Comment #13 from Kevin Carnes  ---
(In reply to Julian Maurice from comment #12)
> What was the problem with checking the version ?

It sends a request to Elasticsearch to find out the version number every time
Koha creates an Elasticsearch client and then parses the version number. This
can add up, especially when searching, but perhaps it's not as big an issue for
indexing.

It's definitely possible to check the version number when indexing, if people
want to avoid adding a configuration, but it seems like others would like to
avoid checking for specific versions of Elasticsearch.

I'm happy to hear suggestions on how it should be done.

-- 
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
https://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 25669] ElasticSearch 6: [types removal] Specifying types in put mapping requests is deprecated (incompatible with 7)

2022-03-08 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25669

Julian Maurice  changed:

   What|Removed |Added

 CC||julian.maur...@biblibre.com

--- Comment #12 from Julian Maurice  ---
(In reply to Kevin Carnes from comment #10)
> I also removed version checking and added a temporary elasticsearch_no_type
> configuration value that can be removed in the future when support for ES6
> is dropped

What was the problem with checking the version ?

-- 
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
https://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 25669] ElasticSearch 6: [types removal] Specifying types in put mapping requests is deprecated (incompatible with 7)

2022-02-23 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25669

Kevin Carnes  changed:

   What|Removed |Added

 Attachment #131009|0   |1
is obsolete||

--- Comment #11 from Kevin Carnes  ---
Created attachment 131037
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=131037=edit
Bug 25669: ElasticSearch 6: [types removal] Specifying types in put mapping
requests is deprecated (incompatible with 7)

Starting with version 7.0 of Elasticsearch type names should not be used and
in version 6.8 there is a warning if you don't use include_type_name when
using put_mapping (requires Search::Elasticsearch@6.8).

To test:
1) Run prove t/db_dependent/Koha/SearchEngine/Elasticsearch/Search.t
2) Observe any deprecation warnings or errors about types
3) Apply patch
4) Install Search::Elasticsearch with the same version as Elasticsearch
5) If testing with ES7, enable elasticsearch_no_type in koha-conf.xml
6) Run prove t/db_dependent/Koha/SearchEngine/Elasticsearch/Search.t
7) Observe no warning or errors about types
8) Sign off

Sponsored-by: Lund University Library

-- 
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
https://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 25669] ElasticSearch 6: [types removal] Specifying types in put mapping requests is deprecated (incompatible with 7)

2022-02-22 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25669

--- Comment #10 from Kevin Carnes  ---
(In reply to Victor Grousset/tuxayo from comment #7)
> Thanks it works :D
> 
> (In reply to Kevin Carnes from comment #4)
> > Should I create a new bug to remove support for multiple types when using
> > mappings in Elasticsearch?
> 
> If that's needed for ES7 support or just to have a cleaner ES support then
> yes. Don't hesitate to open tickets.

No, it's not needed for ES7, it is just cleaner. It's already included, but can
be moved to a new bug.

I also removed version checking and added a temporary elasticsearch_no_type
configuration value that can be removed in the future when support for ES6 is
dropped

-- 
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
https://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 25669] ElasticSearch 6: [types removal] Specifying types in put mapping requests is deprecated (incompatible with 7)

2022-02-22 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25669

Kevin Carnes  changed:

   What|Removed |Added

 Attachment #130811|0   |1
is obsolete||

--- Comment #9 from Kevin Carnes  ---
Created attachment 131009
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=131009=edit
Bug 25669: ElasticSearch 6: [types removal] Specifying types in put mapping
requests is deprecated (incompatible with 7)

Starting with version 7.0 of Elasticsearch type names should not be used and
in version 6.8 there is a warning if you don't use include_type_name when
using put_mapping (requires Search::Elasticsearch@6.8).

To test:
1) Run prove t/db_dependent/Koha/SearchEngine/Elasticsearch/Search.t
2) Observe any deprecation warnings or errors about types
3) Apply patch
4) Install Search::Elasticsearch with the same version as Elasticsearch
5) Run prove t/db_dependent/Koha/SearchEngine/Elasticsearch/Search.t
6) Observe no warning or errors about types
7) Sign off

Sponsored-by: Lund University Library

-- 
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
https://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 25669] ElasticSearch 6: [types removal] Specifying types in put mapping requests is deprecated (incompatible with 7)

2022-02-22 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25669

Kevin Carnes  changed:

   What|Removed |Added

 Status|Signed Off  |Needs Signoff

-- 
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
https://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 25669] ElasticSearch 6: [types removal] Specifying types in put mapping requests is deprecated (incompatible with 7)

2022-02-18 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25669

--- Comment #8 from Victor Grousset/tuxayo  ---
*** Bug 27771 has been marked as a duplicate of this bug. ***

-- 
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
https://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 25669] ElasticSearch 6: [types removal] Specifying types in put mapping requests is deprecated (incompatible with 7)

2022-02-18 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25669

Victor Grousset/tuxayo  changed:

   What|Removed |Added

 Status|Needs Signoff   |Signed Off

--- Comment #7 from Victor Grousset/tuxayo  ---
Thanks it works :D

(In reply to Kevin Carnes from comment #4)
> Should I create a new bug to remove support for multiple types when using
> mappings in Elasticsearch?

If that's needed for ES7 support or just to have a cleaner ES support then yes.
Don't hesitate to open tickets.

-- 
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
https://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 25669] ElasticSearch 6: [types removal] Specifying types in put mapping requests is deprecated (incompatible with 7)

2022-02-18 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25669

Victor Grousset/tuxayo  changed:

   What|Removed |Added

 Attachment #130341|0   |1
is obsolete||

--- Comment #6 from Victor Grousset/tuxayo  ---
Created attachment 130811
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=130811=edit
Bug 25669: ElasticSearch 6: [types removal] Specifying types in put mapping
requests is deprecated (incompatible with 7)

Starting with version 7.0 of Elasticsearch type names should not be used and
in version 6.8 there is a warning if you don't use include_type_name when
using put_mapping (requires Search::Elasticsearch@6.8).

To test:
1) Run prove t/db_dependent/Koha/SearchEngine/Elasticsearch/Search.t
2) Observe any deprecation warnings or errors about types
3) Apply patch
4) Install Search::Elasticsearch with the same version as Elasticsearch
5) Run prove t/db_dependent/Koha/SearchEngine/Elasticsearch/Search.t
6) Observe no warning or errors about types
7) Sign off

Sponsored-by: Lund University Library
Signed-off-by: Victor Grousset/tuxayo 

-- 
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
https://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 25669] ElasticSearch 6: [types removal] Specifying types in put mapping requests is deprecated (incompatible with 7)

2022-02-09 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25669

Kevin Carnes  changed:

   What|Removed |Added

 Attachment #130293|0   |1
is obsolete||

--- Comment #5 from Kevin Carnes  ---
Created attachment 130341
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=130341=edit
Bug 25669: ElasticSearch 6: [types removal] Specifying types in put mapping
requests is deprecated (incompatible with 7)

Starting with version 7.0 of Elasticsearch type names should not be used and
in version 6.8 there is a warning if you don't use include_type_name when
using put_mapping (requires Search::Elasticsearch@6.8).

To test:
1) Run prove t/db_dependent/Koha/SearchEngine/Elasticsearch/Search.t
2) Observe any deprecation warnings or errors about types
3) Apply patch
4) Install Search::Elasticsearch with the same version as Elasticsearch
5) Run prove t/db_dependent/Koha/SearchEngine/Elasticsearch/Search.t
6) Observe no warning or errors about types
7) Sign off

Sponsored-by: Lund University Library

-- 
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
https://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 25669] ElasticSearch 6: [types removal] Specifying types in put mapping requests is deprecated (incompatible with 7)

2022-02-08 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25669

--- Comment #4 from Kevin Carnes  ---
Should I create a new bug to remove support for multiple types when using
mappings in Elasticsearch?

-- 
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
https://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 25669] ElasticSearch 6: [types removal] Specifying types in put mapping requests is deprecated (incompatible with 7)

2022-02-08 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25669

Kevin Carnes  changed:

   What|Removed |Added

 Attachment #130288|0   |1
is obsolete||

--- Comment #3 from Kevin Carnes  ---
Created attachment 130293
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=130293=edit
Bug 25669: ElasticSearch 6: [types removal] Specifying types in put mapping
requests is deprecated (incompatible with 7)

Starting with version 7.0 of Elasticsearch type names should not be used and
in version 6.8 there is a warning if you don't use include_type_name when
using put_mapping (requires Search::Elasticsearch@6.8).

To test:
1) Reindex records with koha-elasticsearch or rebuild_elasticsearch.pl
2) Observe any deprecation warnings or errors
3) Apply patch
4) Install Search::Elasticsearch with the same version as Elasticsearch
5) Reindex records with koha-elasticsearch or rebuild_elasticsearch.pl
6) Observe no warning or errors
7) Sign off

Sponsored-by: Lund University Library

-- 
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
https://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 25669] ElasticSearch 6: [types removal] Specifying types in put mapping requests is deprecated (incompatible with 7)

2022-02-08 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25669

Kevin Carnes  changed:

   What|Removed |Added

 Status|NEW |Needs Signoff

-- 
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
https://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 25669] ElasticSearch 6: [types removal] Specifying types in put mapping requests is deprecated (incompatible with 7)

2022-02-08 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25669

Kevin Carnes  changed:

   What|Removed |Added

 CC||kevin.car...@ub.lu.se

--- Comment #2 from Kevin Carnes  ---
This is a possible solution. The version checking can be made cleaner or there
can be a configuration to specify which version of Elasticsearch is being used.
It's also important to have the correct version of Search::Elasticsearch.

-- 
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
https://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 25669] ElasticSearch 6: [types removal] Specifying types in put mapping requests is deprecated (incompatible with 7)

2022-02-08 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25669

--- Comment #1 from Kevin Carnes  ---
Created attachment 130288
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=130288=edit
Bug 25669: ElasticSearch 6: [types removal] Specifying types in put mapping
requests is deprecated (incompatible with 7)

Starting with version 7.0 of Elasticsearch type names should not be used and
in version 6.8 there is a warning if you don't use include_type_name when
using put_mapping (requires Search::Elasticsearch@6.8).

To test:
1) Reindex records with koha-elasticsearch or rebuild_elasticsearch.pl
2) Observe any deprecation warnings or errors
3) Apply patch
4) Install Search::Elasticsearch with the same version as Elasticsearch
5) Reindex records with koha-elasticsearch or rebuild_elasticsearch.pl
6) Observe no warning or errors
7) Sign off

Sponsored-by: Lund University Library

-- 
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
https://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 25669] ElasticSearch 6: [types removal] Specifying types in put mapping requests is deprecated (incompatible with 7)

2020-09-21 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25669

Alexander Borkowski  changed:

   What|Removed |Added

 CC||alexander.borkow...@kau.se

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://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 25669] ElasticSearch 6: [types removal] Specifying types in put mapping requests is deprecated (incompatible with 7)

2020-06-03 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25669

Victor Grousset/tuxayo  changed:

   What|Removed |Added

Summary|ElasticSearch 6 |ElasticSearch 6: [types
   |deprecation: [types |removal] Specifying types
   |removal] Specifying types   |in put mapping requests is
   |in put mapping requests is  |deprecated (incompatible
   |deprecated (incompatible|with 7)
   |with 7) |

-- 
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
https://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/