https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11175

paxed <[email protected]> changed:

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

--- Comment #109 from paxed <[email protected]> ---
Created attachment 114334
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=114334&action=edit
Bug 11175: Search using double quotes to support Elasticsearch

With Elasticsearch if you would use the search string here without the
change to double quotes, i.e.

(rcn='1234' AND cni='FI-XXX') OR rcn='FI-XXX 1234'

then the search would somehow manage to return a record with 001 =
1234 and 003 = FI-XXX. Using double quotes prevents that. Also using
parenthesis around the latter part of the OR seems to work:

(rcn='1234' AND cni='FI-XXX') OR (rcn='FI-XXX 1234')

Signed-off-by: Pasi Kallinen <[email protected]>

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

Reply via email to