[Bug 20273] New: Elasticsearch: Auth-finder.pl autocomplete must use search_auth_compat

classic Classic list List threaded Threaded
44 messages Options
12
Reply | Threaded
Open this post in threaded view
|

[Bug 20273] New: Elasticsearch: Auth-finder.pl autocomplete must use search_auth_compat

bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20273

            Bug ID: 20273
           Summary: Elasticsearch: Auth-finder.pl autocomplete must use
                    search_auth_compat
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Searching - Elasticsearch
          Assignee: [hidden email]
          Reporter: [hidden email]

BZ 19582 make auth_finder.pl use search_auth_compat instead of
SearchAuthorities. It remains to do the same to the autocomplete feature
provided for each search fields.
See comment: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19582#c8

--
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
Koha-bugs mailing list
[hidden email]
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/
Reply | Threaded
Open this post in threaded view
|

[Bug 20273] Elasticsearch: Auth-finder.pl autocomplete must use search_auth_compat

bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20273

Alex Arnaud <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Depends on|                            |19582
             Status|NEW                         |ASSIGNED


Referenced Bugs:

https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19582
[Bug 19582] Elasticsearch: Auth-finder.pl must use search_auth_compat
--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[hidden email]
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/
Reply | Threaded
Open this post in threaded view
|

[Bug 20273] Elasticsearch: Auth-finder.pl autocomplete must use search_auth_compat

bugzilla-daemon
In reply to this post by bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20273

Alex Arnaud <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|[hidden email]-commun |[hidden email]
                   |ity.org                     |

--
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
Koha-bugs mailing list
[hidden email]
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/
Reply | Threaded
Open this post in threaded view
|

[Bug 20273] Elasticsearch: Auth-finder.pl autocomplete must use search_auth_compat

bugzilla-daemon
In reply to this post by bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20273

[hidden email] <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]
                   |                            |om

--
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[hidden email]
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/
Reply | Threaded
Open this post in threaded view
|

[Bug 20273] Elasticsearch: Auth-finder.pl autocomplete must use search_auth_compat

bugzilla-daemon
In reply to this post by bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20273

--- Comment #1 from Alex Arnaud <[hidden email]> ---
Created attachment 72090
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=72090&action=edit
Bug 20273 - Use compat routines for autocomplete in auth_finder.pl

Test plan:
  - Context: Koha working with elasticsearch,
  - Apply BZ 19582 (that make auth_finder.pl works again),
  - apply this patch,
  - go to cgi-bin/koha/authorities/auth_finder.pl,
  - type at least 3 chararcters in a search field and
    check that the autocomplete returns results

--
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[hidden email]
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/
Reply | Threaded
Open this post in threaded view
|

[Bug 20273] Elasticsearch: Auth-finder.pl autocomplete must use search_auth_compat

bugzilla-daemon
In reply to this post by bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20273

Alex Arnaud <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |Needs Signoff

--
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[hidden email]
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/
Reply | Threaded
Open this post in threaded view
|

[Bug 20273] Elasticsearch: Auth-finder.pl autocomplete must use search_auth_compat

bugzilla-daemon
In reply to this post by bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20273

[hidden email] <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Depends on|                            |17373


Referenced Bugs:

https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17373
[Bug 17373] Elasticsearch - Authority mappings for UNIMARC
--
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[hidden email]
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/
Reply | Threaded
Open this post in threaded view
|

[Bug 20273] Elasticsearch: Auth-finder.pl autocomplete must use search_auth_compat

bugzilla-daemon
In reply to this post by bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20273

Nicolas Legrand <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]

--- Comment #2 from Nicolas Legrand <[hidden email]> ---
Didn't work.

--
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[hidden email]
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/
Reply | Threaded
Open this post in threaded view
|

[Bug 20273] Elasticsearch: Auth-finder.pl autocomplete must use search_auth_compat

bugzilla-daemon
In reply to this post by bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20273

Nicolas Legrand <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Needs Signoff               |Failed QA

--- Comment #3 from Nicolas Legrand <[hidden email]> ---
I applied again with apply-on-cascade bz, applied all patches, update db, koha
schema, reset mappings, rebuild index...

for what it's worth, here is the ysearch url :

http://localhost:9999/cgi-bin/koha/authorities/ysearch.pl?authtypecode=&term=Sha&op=do_search&type=intranet&and_or=and&operator=contains&orderby=HeadingAsc&querytype=mainmainentry

I have '[]' as a result.

Note I can't use normal search and find something with 'sha' or 'sha*', I have
results with the complete 'shalev'.

When I type 'shalev' in place of 'sha' in ysearch, it answers an error:

Software error:

Undefined subroutine &C4::AuthoritiesMarc::BuildSummary called at
/home/koha/kohaclone/Koha/SearchEngine/Elasticsearch/Search.pm line 234.

--
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[hidden email]
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/
Reply | Threaded
Open this post in threaded view
|

[Bug 20273] Elasticsearch: Auth-finder.pl autocomplete must use search_auth_compat

bugzilla-daemon
In reply to this post by bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20273

Alex Arnaud <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #72090|0                           |1
        is obsolete|                            |

--- Comment #4 from Alex Arnaud <[hidden email]> ---
Created attachment 73307
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=73307&action=edit
Bug 20273 - Use compat routines for autocomplete in auth_finder.pl

Test plan:
  - Context: Koha working with elasticsearch,
  - Apply BZ 19582 (that make auth_finder.pl works again),
  - apply this patch,
  - go to cgi-bin/koha/authorities/auth_finder.pl,
  - type at least 3 chararcters in a search field and
    check that the autocomplete returns results

--
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[hidden email]
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/
Reply | Threaded
Open this post in threaded view
|

[Bug 20273] Elasticsearch: Auth-finder.pl autocomplete must use search_auth_compat

bugzilla-daemon
In reply to this post by bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20273

Alex Arnaud <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Failed QA                   |Needs Signoff

--
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[hidden email]
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/
Reply | Threaded
Open this post in threaded view
|

[Bug 20273] Elasticsearch: Auth-finder.pl autocomplete must use search_auth_compat

bugzilla-daemon
In reply to this post by bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20273

Nicolas Legrand <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Needs Signoff               |In Discussion

--- Comment #5 from Nicolas Legrand <[hidden email]> ---
The ysearch.pl use 'contains' operator instead of 'start'. When adjusting the
search form to 'start with', ysearch.pl still launch a 'contains' operator. It
means we need to put a complete word to make it work.

Is it the wanted behaviour? Wouldn't it be better to put a start operator by
default? When I type three letters and see the wheel spinning without results,
it feels like nothing looks like what I typed.

--
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[hidden email]
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/
Reply | Threaded
Open this post in threaded view
|

[Bug 20273] Elasticsearch: Auth-finder.pl autocomplete must use search_auth_compat

bugzilla-daemon
In reply to this post by bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20273

Nicolas Legrand <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]

--
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[hidden email]
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/
Reply | Threaded
Open this post in threaded view
|

[Bug 20273] Elasticsearch: Auth-finder.pl autocomplete must use search_auth_compat

bugzilla-daemon
In reply to this post by bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20273

Katrin Fischer <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]
             Status|In Discussion               |Failed QA

--
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[hidden email]
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/
Reply | Threaded
Open this post in threaded view
|

[Bug 20273] Elasticsearch: Auth-finder.pl autocomplete must use search_auth_compat

bugzilla-daemon
In reply to this post by bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20273

--- Comment #6 from Alex Arnaud <[hidden email]> ---
(In reply to Nicolas Legrand from comment #5)
> The ysearch.pl use 'contains' operator instead of 'start'. When adjusting
> the search form to 'start with', ysearch.pl still launch a 'contains'
> operator. It means we need to put a complete word to make it work.
>
> Is it the wanted behaviour? Wouldn't it be better to put a start operator by
> default? When I type three letters and see the wheel spinning without
> results, it feels like nothing looks like what I typed.

I'm not sure of the right answer, but i'm not upset by that. Operators are used
for the search itself, not for autocomplete.

--
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[hidden email]
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/
Reply | Threaded
Open this post in threaded view
|

[Bug 20273] Elasticsearch: Auth-finder.pl autocomplete must use search_auth_compat

bugzilla-daemon
In reply to this post by bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20273

Alex Arnaud <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #73307|0                           |1
        is obsolete|                            |

--- Comment #7 from Alex Arnaud <[hidden email]> ---
Created attachment 74996
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=74996&action=edit
Bug 20273 - Use compat routines for autocomplete in auth_finder.pl

Test plan:
  - Context: Koha working with elasticsearch,
  - Apply BZ 19582 (that make auth_finder.pl works again),
  - apply this patch,
  - go to cgi-bin/koha/authorities/auth_finder.pl,
  - type at least 3 chararcters in a search field and
    check that the autocomplete returns results

--
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[hidden email]
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/
Reply | Threaded
Open this post in threaded view
|

[Bug 20273] Elasticsearch: Auth-finder.pl autocomplete must use search_auth_compat

bugzilla-daemon
In reply to this post by bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20273

--- Comment #8 from Alex Arnaud <[hidden email]> ---
Created attachment 74997
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=74997&action=edit
Bug 20273: Followup - Autocomplete use start instead of contains

--
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[hidden email]
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/
Reply | Threaded
Open this post in threaded view
|

[Bug 20273] Elasticsearch: Auth-finder.pl autocomplete must use search_auth_compat

bugzilla-daemon
In reply to this post by bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20273

Alex Arnaud <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Failed QA                   |Needs Signoff

--
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[hidden email]
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/
Reply | Threaded
Open this post in threaded view
|

[Bug 20273] Elasticsearch: Auth-finder.pl autocomplete must use search_auth_compat

bugzilla-daemon
In reply to this post by bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20273

Séverine Queune <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #74996|0                           |1
        is obsolete|                            |

--- Comment #9 from Séverine Queune <[hidden email]> ---
Created attachment 74998
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=74998&action=edit
Bug 20273 - Use compat routines for autocomplete in auth_finder.pl

Test plan:
  - Context: Koha working with elasticsearch,
  - Apply BZ 19582 (that make auth_finder.pl works again),
  - apply this patch,
  - go to cgi-bin/koha/authorities/auth_finder.pl,
  - type at least 3 chararcters in a search field and
    check that the autocomplete returns results

Signed-off-by: Séverine QUEUNE <[hidden email]>

--
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[hidden email]
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/
Reply | Threaded
Open this post in threaded view
|

[Bug 20273] Elasticsearch: Auth-finder.pl autocomplete must use search_auth_compat

bugzilla-daemon
In reply to this post by bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20273

Séverine Queune <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #74997|0                           |1
        is obsolete|                            |

--- Comment #10 from Séverine Queune <[hidden email]> ---
Created attachment 74999
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=74999&action=edit
Bug 20273: Followup - Autocomplete use start instead of contains

Signed-off-by: Séverine QUEUNE <[hidden email]>

--
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[hidden email]
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/
Reply | Threaded
Open this post in threaded view
|

[Bug 20273] Elasticsearch: Auth-finder.pl autocomplete must use search_auth_compat

bugzilla-daemon
In reply to this post by bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20273

Séverine Queune <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Needs Signoff               |Signed Off

--
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[hidden email]
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/
Reply | Threaded
Open this post in threaded view
|

[Bug 20273] Elasticsearch: Auth-finder.pl autocomplete must use search_auth_compat

bugzilla-daemon
In reply to this post by bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20273

Séverine Queune <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #74998|0                           |1
        is obsolete|                            |

--- Comment #11 from Séverine Queune <[hidden email]> ---
Created attachment 75000
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=75000&action=edit
Bug 20273 - Use compat routines for autocomplete in auth_finder.pl

Test plan:
  - Context: Koha working with elasticsearch,
  - Apply BZ 19582 (that make auth_finder.pl works again),
  - apply this patch,
  - go to cgi-bin/koha/authorities/auth_finder.pl,
  - type at least 3 chararcters in a search field and
    check that the autocomplete returns results

Signed-off-by: Séverine QUEUNE <[hidden email]>

--
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[hidden email]
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/
Reply | Threaded
Open this post in threaded view
|

[Bug 20273] Elasticsearch: Auth-finder.pl autocomplete must use search_auth_compat

bugzilla-daemon
In reply to this post by bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20273

Séverine Queune <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #74999|0                           |1
        is obsolete|                            |

--- Comment #12 from Séverine Queune <[hidden email]> ---
Created attachment 75001
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=75001&action=edit
Bug 20273: Followup - Autocomplete use start instead of contains

Signed-off-by: Séverine QUEUNE <[hidden email]>

--
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[hidden email]
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/
Reply | Threaded
Open this post in threaded view
|

[Bug 20273] Elasticsearch: Auth-finder.pl autocomplete must use search_auth_compat

bugzilla-daemon
In reply to this post by bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20273
Bug 20273 depends on bug 19582, which changed state.

Bug 19582 Summary: Elasticsearch: Auth-finder.pl must use search_auth_compat
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19582

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Pushed to Stable            |RESOLVED
         Resolution|---                         |FIXED

--
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[hidden email]
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/
Reply | Threaded
Open this post in threaded view
|

[Bug 20273] Elasticsearch: Auth-finder.pl autocomplete must use search_auth_compat

bugzilla-daemon
In reply to this post by bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20273

--- Comment #13 from Katrin Fischer <[hidden email]> ---
I'd love to test this, but I am stuck on my Elasticsearch authority search not
working at all.

This is what I've tried:

I've reset my mappings using:
http://localhost:8081/cgi-bin/koha/admin/searchengine/elasticsearch/mappings.pl?op=reset&i_know_what_i_am_doing=1

Then I've done a complete reindex.

When I search for an authority, I get an Internal server error resolving to:

[Request] ** [http://localhost:9200]-[400] [query_shard_exception] No mapping
found for [Heading__sort.phrase] in order to sort on, with:
{"index":"koha_kohadev_authorities","index_uuid":"FwdgBXbyRq-5E0F3sa4LTA"},
called from sub Search::Elasticsearch::Role::Client::Direct::__ANON__ at
/usr/share/perl5/Catmandu/Store/ElasticSearch/Bag.pm line 167. With vars:
{'request' => {'method' => 'GET','path' =>
'/koha_kohadev_authorities/data/_search','ignore' => [],'mime_type' =>
'application/json','qs' => {},'body' => {'sort' => [{'Heading__sort.phrase' =>
'asc'}],'query' => {'bool' => {'should' => [{'match' => {'Heading-Main' =>
'k'}}]}},'size' => 20,'from' => 0},'serialize' => 'std'},'status_code' =>
400,'body' => {'status' => 400,'error' => {'type' =>
'search_phase_execution_exception','grouped' => bless( do{\(my $o = 1)},
'JSON::PP::Boolean' ),'failed_shards' => [{'shard' => 0,'reason' => {'index' =>
'koha_kohadev_authorities','type' => 'query_shard_exception','reason' => 'No
mapping found for [Heading__sort.phrase] in order to sort on','index_uuid' =>
'FwdgBXbyRq-5E0F3sa4LTA'},'node' => 'vSTPqetISteesIkQSA_Ehg','index' =>
'koha_kohadev_authorities'}],'phase' => 'query','reason' => 'all shards
failed','root_cause' => [{'type' => 'query_shard_exception','index' =>
'koha_kohadev_authorities','reason' => 'No mapping found for
[Heading__sort.phrase] in order to sort on','index_uuid' =>
'FwdgBXbyRq-5E0F3sa4LTA'}]}}}
Unable to perform your search. Please try again.

Anyone able to help or point me in the right direction?

--
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[hidden email]
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/
Reply | Threaded
Open this post in threaded view
|

[Bug 20273] Elasticsearch: Auth-finder.pl autocomplete must use search_auth_compat

bugzilla-daemon
In reply to this post by bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20273

--- Comment #14 from Nicolas Legrand <[hidden email]> ---
Have you tried sort 'None' ?

--
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[hidden email]
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/
Reply | Threaded
Open this post in threaded view
|

[Bug 20273] Elasticsearch: Auth-finder.pl autocomplete must use search_auth_compat

bugzilla-daemon
In reply to this post by bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20273

--- Comment #15 from Katrin Fischer <[hidden email]> ---
I was doing a 'standard' search in authorities search, without changing any
settings. What do you mean by none?

--
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[hidden email]
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/
Reply | Threaded
Open this post in threaded view
|

[Bug 20273] Elasticsearch: Auth-finder.pl autocomplete must use search_auth_compat

bugzilla-daemon
In reply to this post by bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20273

--- Comment #16 from Nicolas Legrand <[hidden email]> ---
Ther(In reply to Katrin Fischer from comment #15)
> I was doing a 'standard' search in authorities search, without changing any
> settings. What do you mean by none?

there is a sort menu after the input field which can be set to 'Heading A-Z',
'Heading Z-A' or 'None'. I remember Nick once told me it wasn't working well.
Plus there is some 'sort' trouble in your log so I thought about this, but
maybe it is not relevant.

--
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[hidden email]
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/
Reply | Threaded
Open this post in threaded view
|

[Bug 20273] Elasticsearch: Auth-finder.pl autocomplete must use search_auth_compat

bugzilla-daemon
In reply to this post by bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20273

--- Comment #17 from Katrin Fischer <[hidden email]> ---
Hi Nicolas, thx! 'None' works.

Is there a bug already about the broken sorting for authorities with
Elasticsearch?

--
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[hidden email]
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/
Reply | Threaded
Open this post in threaded view
|

[Bug 20273] Elasticsearch: Auth-finder.pl autocomplete must use search_auth_compat

bugzilla-daemon
In reply to this post by bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20273

Nicolas Legrand <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]

--- Comment #18 from Nicolas Legrand <[hidden email]> ---
(In reply to Katrin Fischer from comment #17)
> Hi Nicolas, thx! 'None' works.

Great!

> Is there a bug already about the broken sorting for authorities with
> Elasticsearch?

I think it's Bug 19604. I cc Nick so he can confirm.

--
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[hidden email]
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/
12