These are chat archives for collectiveaccess/support

24th
Jan 2018
Kehan Harman
@kehh
Jan 24 2018 03:22
Has anybody had any issues recently using ElasticSearch where the modified value is not being set when a record is created through the UI. A search reindex populates these values, but not on the fly indexing:
{
"created": [
"2018-01-24T11:20:15Z"
],
"created/admin": [
"2018-01-24T11:20:15Z"
],
"ca_object_labels/name_sort": [
[
"asdfsfdaafsd"
]
]}
Kehan Harman
@kehh
Jan 24 2018 04:09
@rsteinert in response to your query about Pawtucket changing the database - it certainly does - search and other logs are created, users get created, sets (if you use lightboxes) are created. You need to work out whether you want a 'separate' Pawtucket db that gets overwritten periodically (losing those data) or if you want the central db. I believe you can also configure different databases for users and search engine, but I haven't used that before.
Kehan Harman
@kehh
Jan 24 2018 06:10
@ca-ubos there's an option on the metadata element definition for Can be used in search form, but I think the values still get added to the search index. Is this for Pawtucket? If so you can craft your search forms specifically to only use certain fields.
@ca-ubos have you tried ca_entities.lifespan instead?
ca-ubos
@ca-ubos
Jan 24 2018 08:43
Hi @kehh, thanks for your help! The configuration is both for Providence and Pawtucket2. We played with Can be used in search form, as you already remarked those fields nevertheless get indexed and are found via the quick search. It’s the quick search we are concerned about as it returns objects and entities when searched for information found in the internal notes field. There are two problems with this: 1. people will find objects etc. which do not publicly show the information on their detail page (as the internal notes field is obviously not displayed there) and 2. some information just should not yield any search results.
I tried using ca_entities.lifespan, this did unfortunately not work. Perhaps @collectiveaccess could shed some light into this issue (if it’s possible or not)?