Hi Gary,

On 09/20/2016 05:02 PM, Gary Browne wrote:
Hi all,

Using:
DSpace 5.5
XMLUI
Tomcat7
Apache 2
RHEL 6

Is there a way of getting bitstream information into discovery search results? When I search, I want to know which bitstream in an item has the matching text.

I had a look at discovery.xsl and also the search XML itself in the browser but I can't see any bitstream information there.

There is actually a bug in DSpace 5 that means only one of multiple bitstreams is indexed for search anyway: https://jira.duraspace.org/browse/DS-2952 So technically, you can know which one it is, but that won't help your use case I suspect.

Generally, to see what information is available in Discovery, you could make a Solr query on the server that's running Tomcat (Solr is restricted to localhost). For an item with handle 123456789/1234 and assuming all standard paths/ports, you'd request

curl 'http://localhost:8080/solr/search/select?q=handle:123456789/1234 &indent=true'

cheers,
Andrea

--
Dr Andrea Schweer
Lead Software Developer, ITS Information Systems
The University of Waikato, Hamilton, New Zealand
+64-7-837 9120

--
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 dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
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