Hi Steve,

I think you need to add the user_defined fields to the index. Here's an example 
of a plugin that does this: https://github.com/hudmol/extended_advanced_search

Specifically: 
https://github.com/hudmol/extended_advanced_search/blob/master/indexer/common_indexer.rb#L110

I tweaked the above example to make an advanced search plugin that enables 
searching across various user defined fields that we use in accession records: 
https://github.com/duke-libraries/archivesspace-duke-plugins/tree/master/plugins/duke-advanced-search

-Noah


-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of 
Majewski, Steven Dennis (sdm7g)
Sent: Tuesday, February 20, 2018 12:00 PM
To: Archivesspace Users Group <[email protected]>
Subject: [Archivesspace_Users_Group] are user_defined fields indexed ?

Are user_defined fields indexed ? 

I added a boolean value as a test, and I don’t see any fields in the solr query 
console that might represent that value.
user_defined values are stuffed into the response.docs[].json in the search 
docs, but how would one search for resources by user_defined fields ?  

We would like to tag several items as featured resources to be able to pull out 
a selection from the featured resources on the public landing page. ( Is anyone 
else have another method to do this ? ) 

— Steve Majewski

_______________________________________________
Archivesspace_Users_Group mailing list
[email protected]
http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group

Reply via email to