http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11137

            Bug ID: 11137
           Summary: QueryParser can ignore parts of a Boolean search after
                    the first
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: major
          Priority: P5 - low
         Component: Searching
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]

The way that the QueryParser configuration is initialized results in duplicate
search field aliases being defined, which in turn can cause problems with
Boolean searches.

For example, consider the following search:

kw:history && earth

This will retrieve all records that have both 'history' and 'earth' as
keywords.

Depending on your search settings, this search is received by Zebra as

@attrset Bib-1 @and @attr 4=6 @attr 5=1 @attr 1=1016 history @attr 4=6 @attr
5=1 @attr 1=1016 earth

Now consider this search, which should be identical:

kw:history && kw:earth

This search retrieves all records containing 'history', but ignores 'earth'. 
The search received by Zebra is:

@attrset Bib-1 @attr 4=6 @attr 5=1 @attr 1=1016 histor

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