Hi McKeane,
The source directory layout
(https://wiki.duraspace.org/display/DSDOC/Directories) talks about where to put
the “message” files (Messages.properties for JSPUI, messages.xml for XMLUI).
The modifications to the messages files should be done as “overlays” (which
means that it goes in the [dspace-src]/dspace/modules/ ) but for testing you
could potentially put the “messages” file directly in the webapp.
So for XMLUI - [dspace-src]/dspace/modules/src/main/webapp/i18n/messages.xml
(You can find the original messages.xml from
…\dspace-1.7.0-src-release\dspace-xmlui\dspace-xmlui-webapp\src\main\webapp\i18n
so in that file you’ll have to add a “message” similar to
<message key=”
xmlui.ArtifactBrowser.AdvancedSearch.type_dc.format.extent_filter”>Your Label
Here</message>
you’ll see similar entries there already.)
For JSPUI - the
[dspace-src]/dspace/modules/jspui/src/main/resources/Messages.properties
I am assuming you are using DSpace 1.7
-Elliot
From: Mckeane [via DSpace]
[mailto:[email protected]]
Sent: Thursday, February 17, 2011 2:52 PM
To: Elliot Dawson
Subject: dspace solr facets config
Hello,
I was reading Mr. Shepherd's blog on
Dspace-solr-tips+tricks<http://kim-shepherd.blogspot.com/2010/11/discovering-discovery-dspace-solr-tips.html%20>.
I have added the following fields to [dspace]/solr/search/conf schema.xml file
<field name = "var" type = "int" indexed ="true" stored ="true" multiValued
="true" omitNorms ="true" />
<field name = "dc.format.extent" type = "int" indexed = "true" stored =
"true" multiValued = "true"/>
<copyField source="dc.format.extent" dest="var"/>
Also I added dc.format.extent to the line
"solr.facets.site=dc.contributor.author,dc.subject,dc.date.issued_dt,dc.coverage.spatial,dc.format.extent"
in the [dspace]/conf dspace-solr-search.cfg file. On the browser page I got
the following:
"xmlui.ArtifactBrowser.AdvancedSearch.type_dc.format.extent_filter" and the
items in that category.
How do I create the labels to represent
"xmlui.ArtifactBrowser.AdvancedSearch.type_dc.format.extent_filter" as a
Category such as what is done for "Author", "Subject" and "Date Issued" .
Any help would be appreciated
Mckeane
------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
DSpace-tech mailing list
[hidden email]</user/SendEmail.jtp?type=node&node=3311720&i=0>
https://lists.sourceforge.net/lists/listinfo/dspace-tech
________________________________
If you reply to this email, your message will be added to the discussion below:
http://dspace.2283337.n4.nabble.com/dspace-solr-facets-config-tp3311720p3311720.html
To start a new topic under DSpace - Tech, email
[email protected]<mailto:[email protected]>
To unsubscribe from DSpace - Tech, click
here<http://dspace.2283337.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=3276945&code=ZWRhd3NvbkBtYWYub3JnfDMyNzY5NDV8LTE0OTM1MzcyODk=>.
--
View this message in context:
http://dspace.2283337.n4.nabble.com/dspace-solr-facets-config-tp3311720p3312868.html
Sent from the DSpace - Tech mailing list archive at Nabble.com.
------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech