[Archivesspace_Users_Group] Bug in PUI search filtering?

Michelle Paquette mpaquette at smith.edu
Wed Mar 24 16:00:17 EDT 2021


Ha, and actually now I've tested it in my own system and this seems to be
the case that when adding the date filter it switches to OR. Doesn't seem
to be happening with any other filters though. Blake, any insight?

On Wed, Mar 24, 2021 at 3:56 PM Michelle Paquette <mpaquette at smith.edu>
wrote:

> Hi Anna,
>
> I'm wondering if something is happening to the default AND boolean - if
> you search fashion OR designers in the first place you're getting 5998
> results, so it seems when you remove the date filter it switches from an
> AND to an OR search.
>
> Michelle
>
> On Wed, Mar 24, 2021 at 3:41 PM Anna Robinson-Sweet <
> robinsa1 at newschool.edu> wrote:
>
>> 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]
>> _______________________________________________
>> Archivesspace_Users_Group mailing list
>> Archivesspace_Users_Group at lyralists.lyrasis.org
>> http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group
>>
>
>
> --
> Michelle Paquette
> (she/her)
> Metadata & Technical Services Archivist
> Special Collections
> Smith College
> 413-585-7029
> mpaquette at smith.edu
>
> Please note: In light of COVID-19, the Libraries are offering contactless
> pickup, and all other services will continue to be offered remotely. Visit
> bit.ly/SCLcovid-19 for full details.
>
> Please send any questions you may have to libraryhelp at smith.edu and they
> will be answered as soon as possible. Special Collections reference
> service <specialcollections at smith.edu> is active, but limited. For
> information about Smith College’s response to Covid-19, please visit the college’s
> official website
> <https://www.smith.edu/student-life/health-wellness/coronavirus>.
>


-- 
Michelle Paquette
(she/her)
Metadata & Technical Services Archivist
Special Collections
Smith College
413-585-7029
mpaquette at smith.edu

Please note: In light of COVID-19, the Libraries are offering contactless
pickup, and all other services will continue to be offered remotely. Visit
bit.ly/SCLcovid-19 for full details.

Please send any questions you may have to libraryhelp at smith.edu and they
will be answered as soon as possible. Special Collections reference service
<specialcollections at smith.edu> is active, but limited. For information
about Smith College’s response to Covid-19, please visit the college’s
official website
<https://www.smith.edu/student-life/health-wellness/coronavirus>.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20210324/9bf17985/attachment.html>


More information about the Archivesspace_Users_Group mailing list