(Jump to other KnowledgeBases)
DSpace Resources
DSpace Website
DSpace Documentation
DSpace Wiki
DSpace Demo Site
Contribute to KnowledgBase
Info | ||||
---|---|---|---|---|
| ||||
|
Open dspace.cfg and find the heading "##### Fields to Index for Search #####" Scrolling down you will see uncommented lines that read " search.index.1 =…" this is where you will edit and add lines.
The search commands are written as "search.index.# = [name]:[schema].[element].[qualifier]"
Remove any fields you do want as part of the advanced search and add any additional fields. In this example I I have added the field dc.subject.classification with the name "department" and the field dc.coverage.* with the name "location."
Open message.xml and find the heading <!- org.dspace.app.xmlui.artifactbrowser.AdvancedSearch.java ->. For each Advance Search category you added in dspace.cfg, you will need to add a new message field. The message field should be written as <message key="xmlui.ArtifactBrowser.AdvancedSearch.type_[name]">[Search Heading]</message>. The key refers to the name you used in dspace.cfg and the element contents are the heading for the Advanced Search function.
Before existing items can be searched or browsed you need to re-index your instance.
Navigate to cd /usr/local/dspace/bin then type"./dspace index-init". After you have finished indexing, restart DSpace.
Panel |
---|
This section was contributed by Catalina Oyler from the Five Colleges of Ohio |