tpac: "does not contain" advanced search option doesn't always exclude search terms
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Evergreen version: 2.2
I tried a search from the advanced search page with "contains" "martin luther" in the first search box and ""does not contain" "king" in the second search box. In several 2.2 catalogs, the search did not exclude the term king from the search results.
or
However, it doesn't seem to happen in ever tpac catalog. http://
After discussing this with bshum in IRC, we think it might just be happening in catalogs where additional indexes have been added to the keyword index. For example, a system may have added a title index with the keyword class to add extra weight to the title in relevancy.
Trying a single search string like martin luther -king works fine, and the above search also works fine when doing it in jspac.
description: | updated |
I was mistaken in one part of my report. I am seeing cases where a -keyword search is also failing. For example, if I try the following search at bark.cwmars.org:
twilight -meyer
I will retrieve records for the Stephanie Meyer book.
Once again, this only seems to happen at sites where additional indexes were added to the keyword search. In the above example, it also is a problem in the jspac catalog, so it looks like this problem isn't isolated to tpac.