Hi Keith,

Looking at your results, I think Discovery is actually just showing off some metadata inconsistencies in your DSpace site.

So, for example, the author facet link for "Zide. J. M. O." shows repeating "Department" facets:

http://udspace.udel.edu/handle/19716/13077/discover?filtertype=author&filter_relational_operator=equals&filter=Zide%2C+J.+M.+O.

* University of Delaware. Department of Electrical and Computer Engineering. (1) * University of Delaware. Department of Materials Science and Engineering. (1) * University of Delaware. Department of Electrical and Computer Engineering. (2) * University of Delaware. Department of Materials Science and Engineering. (3)

If you hover over those repeating facets and look closely at the URLs, you'll see that the names of these departments differ by a single *space*. The first one has two spaces between "University of Delaware." and "Department of Electrical and Computer Engineering"...while the second entry only has *one space*. Unfortunately, HTML rendering is making these seem to look identical to the human eye, but in the source code of the HTML page, you'll also see the spacing difference.

So, I agree, what Discovery is showing is very confusing. But, I believe it's actually showing you correct facets, as Discovery isn't smart enough to realize that two Departments values with different spacing are actually the same Department.

Long story short, I think if you correct your metadata to have consistent spacing (either one space or two spaces but not both), then Discovery will correctly show the facets/filters that you are expecting.

I hope that helps!
-  Tim
<http://udspace.udel.edu/handle/19716/13077/discover?filtertype_0=author&filter_relational_operator_0=equals&filter_0=Zide%2C+J.+M.+O.&filtertype=department&filter_relational_operator=equals&filter=University+of+Delaware.+Department+of+Materials+Science+and+Engineering.>
On 1/28/2016 9:19 AM, Keith Jones wrote:

Hi All,

I have dspace version 5.3 installed, running xmlui and using the discovery layer. I've added 3 additional filters/facets to show up on communities and collections, the new fields are Program, Department and Advisor. These are the fields in the dublincore definitions, dc.description.department, dc.description.advisor and dc.description.program. In the dspace.cfg file I've set them up as search indexes and in the discovery.xml file I've added each as a search filter and a filter facet.

I've run the index-discovery command, which I'm getting results for the new filters and the facets are showing but the correct count is not showing.

Here is an example:

The link below is to a community in the repository:

http://udspace.udel.edu/handle/19716/13077

When the link is clicked the department facet is produced but the results counts are not correct.

If you click on the author facet link (Zide. J. M . O.) which shows 4 results which is correct, but this author's has 3 items in the University of Delaware. Department of Materials Science and Engineering department.

At this link: http://udspace.udel.edu/handle/19716/13077
The department "University of Delaware. Department of Materials Science and Engineering" only shows one result count in the department facet.

When you go to this link: http://udspace.udel.edu/handle/19716/13077/discover?filtertype=author&filter_relational_operator=equals&filter=Zide%2C+J.+M.+O.

The same department above now show a count of 3 items.

I've cleared the index and re-run them but I'm still getting the same results.

This is a big concern because we are using the discovery layer as means to locate items in the repository.

Any help with this will be appreciated.

Thanks
Keith
--
You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected] <mailto:[email protected]>. To post to this group, send email to [email protected] <mailto:[email protected]>.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.

--
Tim Donohue
Technical Lead for DSpace & DSpaceDirect
DuraSpace.org | DSpace.org | DSpaceDirect.org

--
You received this message because you are subscribed to the Google Groups "DSpace 
Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.

Reply via email to