From 08e315ab19ee673473073c1fa3f2d1ac95a03c40 Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Tue, 12 Apr 2016 18:18:36 +0300 Subject: [PATCH] Update notes for 2016-04-12 --- content/2016-04.md | 19 +++++++++++++++++++ public/2016-04/index.html | 21 +++++++++++++++++++++ public/index.xml | 21 +++++++++++++++++++++ public/tags/notes/index.xml | 21 +++++++++++++++++++++ 4 files changed, 82 insertions(+) diff --git a/content/2016-04.md b/content/2016-04.md index 8a98ef9a9..0d88a8aa1 100644 --- a/content/2016-04.md +++ b/content/2016-04.md @@ -127,3 +127,22 @@ dspacetest=# select text_value, count(*) from metadatavalue where metadata_field - Listings and Reports is still not returning reliable data for `dc.type` - I think we need to ask Atmire, as their documentation isn't too clear on the format of the filter configs - Alternatively, I want to see if I move all the data from `dc.type.output` to `dc.type` and then re-index, if it behaves better +- Looking at our `input-forms.xml` I see we have two sets of ILRI subjects, but one has a few extra subjects +- Remove one set of ILRI subjects and remove duplicate `VALUE CHAINS` from existing list ([#216](https://github.com/ilri/DSpace/pull/216)) +- I decided to keep the set of subjects that had `FMD` and `RANGELANDS` added, as it appears to have been requested to have been added, and might be the newer list +- I found 226 blank metadatavalues: + +``` +dspacetest# select * from metadatavalue where resource_type_id=2 and text_value=''; +``` + +- I think we should delete them and do a full re-index: + +``` +dspacetest=# delete from metadatavalue where resource_type_id=2 and text_value=''; +DELETE 226 +``` + +- In other news, moving the `dc.type.output` to `dc.type` and re-indexing seems to have fixed the Listings and Reports issue from above +- Unfortunately this isn't a very good solution, because Listings and Reports config should allow us to filter on `dc.type.*` but the documentation isn't very clear and I couldn't reach Atmire today +- We want to do the `dc.type.output` move on CGSpace anyways, but we should wait as it might affect other external people! diff --git a/public/2016-04/index.html b/public/2016-04/index.html index 0866b20bb..18a323970 100644 --- a/public/2016-04/index.html +++ b/public/2016-04/index.html @@ -219,6 +219,27 @@ dspacetest=# select count(*) from metadatavalue where metadata_field_id=74 and t
  • Listings and Reports is still not returning reliable data for dc.type
  • I think we need to ask Atmire, as their documentation isn’t too clear on the format of the filter configs
  • Alternatively, I want to see if I move all the data from dc.type.output to dc.type and then re-index, if it behaves better
  • +
  • Looking at our input-forms.xml I see we have two sets of ILRI subjects, but one has a few extra subjects
  • +
  • Remove one set of ILRI subjects and remove duplicate VALUE CHAINS from existing list (#216)
  • +
  • I decided to keep the set of subjects that had FMD and RANGELANDS added, as it appears to have been requested to have been added, and might be the newer list
  • +
  • I found 226 blank metadatavalues:
  • + + +
    dspacetest# select * from metadatavalue where resource_type_id=2 and text_value='';
    +
    + + + +
    dspacetest=# delete from metadatavalue where resource_type_id=2 and text_value='';
    +DELETE 226
    +
    + + diff --git a/public/index.xml b/public/index.xml index c3150f5f7..bca7f4bd8 100644 --- a/public/index.xml +++ b/public/index.xml @@ -157,6 +157,27 @@ dspacetest=# select count(*) from metadatavalue where metadata_field_id=74 and t <li>Listings and Reports is still not returning reliable data for <code>dc.type</code></li> <li>I think we need to ask Atmire, as their documentation isn&rsquo;t too clear on the format of the filter configs</li> <li>Alternatively, I want to see if I move all the data from <code>dc.type.output</code> to <code>dc.type</code> and then re-index, if it behaves better</li> +<li>Looking at our <code>input-forms.xml</code> I see we have two sets of ILRI subjects, but one has a few extra subjects</li> +<li>Remove one set of ILRI subjects and remove duplicate <code>VALUE CHAINS</code> from existing list (<a href="https://github.com/ilri/DSpace/pull/216">#216</a>)</li> +<li>I decided to keep the set of subjects that had <code>FMD</code> and <code>RANGELANDS</code> added, as it appears to have been requested to have been added, and might be the newer list</li> +<li>I found 226 blank metadatavalues:</li> +</ul> + +<pre><code>dspacetest# select * from metadatavalue where resource_type_id=2 and text_value=''; +</code></pre> + +<ul> +<li>I think we should delete them and do a full re-index:</li> +</ul> + +<pre><code>dspacetest=# delete from metadatavalue where resource_type_id=2 and text_value=''; +DELETE 226 +</code></pre> + +<ul> +<li>In other news, moving the <code>dc.type.output</code> to <code>dc.type</code> and re-indexing seems to have fixed the Listings and Reports issue from above</li> +<li>Unfortunately this isn&rsquo;t a very good solution, because Listings and Reports config should allow us to filter on <code>dc.type.*</code> but the documentation isn&rsquo;t very clear and I couldn&rsquo;t reach Atmire today</li> +<li>We want to do the <code>dc.type.output</code> move on CGSpace anyways, but we should wait as it might affect other external people!</li> </ul> diff --git a/public/tags/notes/index.xml b/public/tags/notes/index.xml index 3503a0248..004ac10e2 100644 --- a/public/tags/notes/index.xml +++ b/public/tags/notes/index.xml @@ -157,6 +157,27 @@ dspacetest=# select count(*) from metadatavalue where metadata_field_id=74 and t <li>Listings and Reports is still not returning reliable data for <code>dc.type</code></li> <li>I think we need to ask Atmire, as their documentation isn&rsquo;t too clear on the format of the filter configs</li> <li>Alternatively, I want to see if I move all the data from <code>dc.type.output</code> to <code>dc.type</code> and then re-index, if it behaves better</li> +<li>Looking at our <code>input-forms.xml</code> I see we have two sets of ILRI subjects, but one has a few extra subjects</li> +<li>Remove one set of ILRI subjects and remove duplicate <code>VALUE CHAINS</code> from existing list (<a href="https://github.com/ilri/DSpace/pull/216">#216</a>)</li> +<li>I decided to keep the set of subjects that had <code>FMD</code> and <code>RANGELANDS</code> added, as it appears to have been requested to have been added, and might be the newer list</li> +<li>I found 226 blank metadatavalues:</li> +</ul> + +<pre><code>dspacetest# select * from metadatavalue where resource_type_id=2 and text_value=''; +</code></pre> + +<ul> +<li>I think we should delete them and do a full re-index:</li> +</ul> + +<pre><code>dspacetest=# delete from metadatavalue where resource_type_id=2 and text_value=''; +DELETE 226 +</code></pre> + +<ul> +<li>In other news, moving the <code>dc.type.output</code> to <code>dc.type</code> and re-indexing seems to have fixed the Listings and Reports issue from above</li> +<li>Unfortunately this isn&rsquo;t a very good solution, because Listings and Reports config should allow us to filter on <code>dc.type.*</code> but the documentation isn&rsquo;t very clear and I couldn&rsquo;t reach Atmire today</li> +<li>We want to do the <code>dc.type.output</code> move on CGSpace anyways, but we should wait as it might affect other external people!</li> </ul>