[Archivesspace_Users_Group] Searches including colons

Andrew Morrison andrew.morrison at bodleian.ox.ac.uk
Tue Mar 2 11:44:00 EST 2021


How are you searching this field? If you've added it to the options in 
the PUI or SUI advanced search, it should be escaping the colon for you. 
If searching via the API, you probably need to do it yourself 
<https://lucene.apache.org/core/8_0_0/queryparser/org/apache/lucene/queryparser/classic/package-summary.html#Escaping_Special_Characters>.


Andrew.



On 02/03/2021 15:01, Nick Butler wrote:
> Hi all,
>
> We're currently experimenting with creating a new index field (a 
> StrField) for alternative forms of our resource and archival object 
> identifiers. This field is largely working fine and behaving as 
> expected, but over the course of testing this work out we've noticed 
> that searches including colons don't appear to return any results, 
> even when the exact content of the index field is used (with or 
> without quotation marks around the whole search). Have other people 
> experienced something similar? Is there a known workaround?
>
> Many thanks,
> Nick
>
> _______________________________________________
> Archivesspace_Users_Group mailing list
> Archivesspace_Users_Group at lyralists.lyrasis.org
> http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20210302/f7bd578f/attachment.html>


More information about the Archivesspace_Users_Group mailing list