Good afternoon,
After reading many posts about adding MODs to our index and display we have been attempting to do so using the Discovery Garden gsearch. However, we cannot seem to get the process to work. Here is what we have done:
1- Installed the basic-solr-config (https://github.com/discoverygarden/basic-solr-config)
2- Added the gsearch extensions (https://github.com/discoverygarden/dgi_gsearch_extensions)
3- Installed the gsearch from https://github.com/discoverygarden/gsearch
4- Edited the foxmlToSolr.xslt to include the needed templates and correct the file paths.
Tomcat starts ok and indexing appears to occur but I am unable to view the mods fields. Thank you for any assistance.
--Dale
---------------------------------------
Dale Poulter
Director
Library Technology and Digital Services
Vanderbilt University
419 21st Avenue South, Office 812
Nashville, TN 37203-2427
(615)343-5388
(615)207-9705 (cell)
dale.p...@vanderbilt.edu
--
For more information about using this group, please read our Listserv Guidelines: http://islandora.ca/content/welcome-islandora-listserv
---
You received this message because you are subscribed to the Google Groups "islandora" group.
To unsubscribe from this group and stop receiving emails from it, send an email to islandora+...@googlegroups.com.
Visit this group at https://groups.google.com/group/islandora.
To view this discussion on the web visit https://groups.google.com/d/msgid/islandora/4B55C1D28471794C811F425520B7B22566E69E0F%40ITS-HCWNEM104.ds.vanderbilt.edu.
For more options, visit https://groups.google.com/d/optout.
Interesting, I can access fedoragsearch but cannot access solr from a workstation. Solr is accessible from the server (at least returns the basic admin page).
-Dale
To view this discussion on the web visit https://groups.google.com/d/msgid/islandora/1572937445.292670145.1520468670472.JavaMail.zimbra%40sfu.ca.
To view this discussion on the web visit https://groups.google.com/d/msgid/islandora/4B55C1D28471794C811F425520B7B22566E6A33F%40ITS-HCWNEM104.ds.vanderbilt.edu.
To view this discussion on the web visit https://groups.google.com/d/msgid/islandora/9e93e504-95fa-4c90-891c-b692c0b4e1a9%40email.android.com.
The strange thing is that I did not make any changes to solr – only to gsearch. Tomcat is running on port 8080 with both solr and gsearch.
To view this discussion on the web visit https://groups.google.com/d/msgid/islandora/032236f4-a371-436d-8377-4fdf6a717ba1%40email.android.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/islandora/4B55C1D28471794C811F425520B7B22566E6A3BC%40ITS-HCWNEM104.ds.vanderbilt.edu.
Thank you this helped. It appears I do not have all of MODS being pulled in. Here are the only two references to MODS in the output.
<arr name="dsmd_MODS.Content-Type">
<str>application/xml</str>
</arr>
<arr name="ds.MODS">
<str>
-Dale
To view this discussion on the web visit https://groups.google.com/d/msgid/islandora/1577135633.293695407.1520533728619.JavaMail.zimbra%40sfu.ca.
<xsl:with-param name="content" select="exts:getDatastreamXML($PID,$REPOSITORYNAME, @ID, $FEDORASOAP, $FEDORAUSER, $FEDORAPASS, $TRUSTSTOREPATH, $TRUSTSTOREPASS)"/>
In case it is helpful, I just spent a day or two figuring out how to get the MODS data into Solr. I'm using the discovery garden config you're using as well.
It finally started to work when I changed this line in the foxmlToSolr.xslt (https://github.com/discoverygarden/basic-solr-config/blob/modular/foxmlToSolr.xslt#L230):
<xsl:with-paramname="content"select="document(concat($PROT, '://', encoder:encode($FEDORAUSER), ':', encoder:encode($FEDORAPASS), '@', $HOST, ':', $PORT, '/fedora/objects/', $PID, '/datastreams/', @ID, '/content'))"/>
To this:
<xsl:with-param name="content" select="exts:getDatastreamXML($PID,$REPOSITORYNAME, @ID, $FEDORASOAP, $FEDORAUSER, $FEDORAPASS, $TRUSTSTOREPATH, $TRUSTSTOREPASS)"/>
I started seeing MODS data in solr after that change when fedoragsearch to reindex.
(Many thanks to Diego -- I found this in an earlier email on this list that he wrote).-Bethany
On Wednesday, March 7, 2018 at 5:12:09 PM UTC-5, Dale Poulter wrote:Good afternoon,
After reading many posts about adding MODs to our index and display we have been attempting to do so using the Discovery Garden gsearch. However, we cannot seem to get the process to work. Here is what we have done:
1- Installed the basic-solr-config (https://github.com/discoverygarden/basic-solr-config)
2- Added the gsearch extensions (https://github.com/discoverygarden/dgi_gsearch_extensions)
3- Installed the gsearch from https://github.com/discoverygarden/gsearch
4- Edited the foxmlToSolr.xslt to include the needed templates and correct the file paths.
Tomcat starts ok and indexing appears to occur but I am unable to view the mods fields. Thank you for any assistance.
--Dale
---------------------------------------
Dale PoulterDirector
Library Technology and Digital Services
Vanderbilt University419 21st Avenue South, Office 812
Nashville, TN 37203-2427
(615)343-5388
(615)207-9705 (cell)
dale.p...@vanderbilt.edu