[Archivesspace_Users_Group] Bug in PUI search filtering?
Anna Robinson-Sweet
robinsa1 at newschool.edu
Wed Mar 24 15:40:31 EDT 2021
Hello,
We just noticed what appears to be a bug in applying filters to search
results in the PUI. When we run a search on a phrase that is more than one
word, and then apply a filter to those results, we get more results in the
"filtered" search than in the initial one. When we remove the filter, there
are even more results than either the initial or filtered search.This only
happens when the initial search phrase is more than one word and is not in
quotes, suggesting that the filter turns the initial search from an "and"
query to an "or" query, or something along these lines.
Here is an example of the problem:
First search for the phrase fashion designers (without quotes) returns 113
results:
https://findingaids.archives.newschool.edu/search?utf8=%E2%9C%93&op%5B%5D=&q%5B%5D=fashion+designers&limit=&field%5B%5D=&from_year%5B%5D=&to_year%5B%5D=&commit=Search
When I add a date filer 1950-1960 I get 393 results:
https://findingaids.archives.newschool.edu/search?utf8=%E2%9C%93&op%5B%5D=&q%5B%5D=fashion+designers&limit=&field%5B%5D=&from_year%5B%5D=&to_year%5B%5D=&action=search&sort=&filter_q%5B%5D=&filter_from_year=1950&filter_to_year=1960&commit=Search
And when I remove the filter I get 5,998 results:
https://findingaids.archives.newschool.edu/search?q[]=fashion+designers&op[]=&field[]=keyword&from_year[]=&to_year[]=&filter_q[]=&sort=
Has anyone else encountered this or have any ideas what may be causing the
problem?
Thanks,
Anna
--
ANNA ROBINSON-SWEET (she/her)
ASSOCIATE ARCHIVIST
THE NEW SCHOOL
ARCHIVES & SPECIAL COLLECTIONS
66 FIFTH AVENUE, NEW YORK, NY 10011
robinsa1 at newschool.edu
<https://www.newschool.edu/email-signature-generator/robinsa1@newschool.edu>
T 212-229-2942 3375
archives.newschool.edu
<https://www.newschool.edu/email-signature-generator/archives.newschool.edu>
[image: THE NEW SCHOOL]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20210324/5d48cbd6/attachment.html>
More information about the Archivesspace_Users_Group
mailing list