[Archivesspace_Users_Group] PUI search default

Joshua D. Shaw Joshua.D.Shaw at dartmouth.edu
Thu Apr 9 11:57:03 EDT 2020


The PUI is tricky. I found that I needed to override the search method in the PUI SearchController to get an "and" by default. There may be a JIRA ticket in for this, but I'm not finding it in a quick search.

Joshua

________________________________
From: archivesspace_users_group-bounces at lyralists.lyrasis.org <archivesspace_users_group-bounces at lyralists.lyrasis.org> on behalf of Jenny Manasco <j.manasco at abhsarchives.org>
Sent: Thursday, April 9, 2020 9:37 AM
To: archivesspace_users_group at lyralists.lyrasis.org <archivesspace_users_group at lyralists.lyrasis.org>
Subject: [Archivesspace_Users_Group] PUI search default


We are trying to change our default search parameter in the PUI. We’ve added



AppConfig[:solr_params] = { "q.op" => "AND" }



to the config file and rebooted but the PUI still gives us “OR” results.



Is there something else we need to change?



v. 2.5.1

VM running under KVM

CentOS Linux 7.0

30 GB Hard Drive (4 GB in use)

4096 MB of RAM

2 CPUs


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20200409/c56444a7/attachment.html>


More information about the Archivesspace_Users_Group mailing list