Hi Elaine,

Thomas Berezansky tracked down the problem in IRC. The "Matches Exactly" option is changing the search to:

^joy of cooking$

when it should be changing it to:

"^joy of cooking$"

The current behavior says the title should start with "joy", contain "of", and end with "cooking." Most of the Joy of Cooking titles did not end with cooking, so they weren't retrieved, but the vegetarian cooking one does indeed end with cooking.

I would say that this indeed is a bug and is probably easy to fix.

Kathy

Kathy Lussier
Project Coordinator
Massachusetts Library Network Cooperative
(508) 343-0128
[email protected]
Twitter: http://www.twitter.com/kmlussier

On 1/7/2014 4:08 PM, Hardy, Elaine wrote:

We've noticed what appears to be incorrect returns in a matches exactly title search in 2.5.1. Before I open a bug report, I wanted to check if this is a bug or something else.

In the PINES database test server running 2.5.1, a title contains search for joy of cooking retrieves 56 titles, 36 of which contain the phrase "joy of cooking" in the 245 (main title) field. They include:

Joy of cooking

All new all purpose joy of cooking

Joy of cooking. |p All about party foods & drinks

Joy of cooking. |p All about pies & tarts

Joy of cooking. |p All about canning & preserving

The joy of cooking : |b a compilation of reliable recipes with a casual culinary chat

The joy of cooking Christmas cookies

Stand facing the stove : the story of the women who gave America the Joy of cooking

A matches exactly title search for joy of cooking only retrieves 17 titles. The search results showing just titles for illustration are:

1.           Joy of cooking

2.           Joy of cooking

3.           Joy of cooking

4.           Joy of cooking

5.           Joy of cooking

6.           Joy of cooking

7.           Joy of cooking

8.           Joy of cooking

9.           Joy of cooking.

10.         Joy of cooking

11.         Joy of cooking

12.         Joy of Cooking.

13.         Joy of cooking

14.         Joy of cooking

15.         Joy of cooking.

16.         Joy of cooking. |p All about vegetarian cooking

17.         JOY OF COOKING.

As you can see, with the one exception, the search is only retrieving one record where the title contains subfield p, however there are a number of titles in the contains search with |a Joy of cooking. and a |p.

Also, with that one exception, no title containing the phrase "joy of cooking" in either the 245 |a or |b along with other words or phrases is retrieved.

We did reindex Joy of cooking. |p All about pies & tarts to see if that was the issue, but it was not retrieved in a subsequent search.

To me, this is a bug, or at least not expected behavior. Before I create a launchpad report, I wanted to check to see if I was missing something or there was another, fixable, explanation we have not considered.

/Elaine/

J. Elaine Hardy
PINES & Collaborative Projects Manager
Georgia Public Library Service
1800 Century Place, Ste 150
Atlanta, Ga. 30345-4304

404.235-7128
404.235-7201, fax
[email protected] <mailto:[email protected]>
www.georgialibraries.org <http://www.georgialibraries.org>
www.georgialibraries.org/pines <http://www.georgialibraries.org/pines>



_______________________________________________
Evergreen-catalogers mailing list
[email protected]
http://list.evergreen-ils.org/cgi-bin/mailman/listinfo/evergreen-catalogers

Reply via email to