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

            Bug ID: 11158
           Summary: Authorities 'starts with'  search returns the same as
                    'contains' when using ICU
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Searching
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]

If set up to use icu tokenisation
When doing an authorities search and specifying 'starts with' the result set
returned is the same as with the option 'contains'

For example a search on starts_with 'Smith' returns

Campbell-Smith, Duncan.
Smith, Bessie, 1894-1937.
Smith, Sydney Goodsir, 1915-1975.
Smith, Victoria. 

The problem appears be that the starts-with definition is being applied to each
token within the heading rather than to the heading as complete field

(A search for O hoping to retrieve O'Brian will return much more )

the correct return would be

Smith, Bessie, 1894-1937.
Smith, Sydney Goodsir, 1915-1975.
Smith, Victoria.

-- 
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