Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0

...

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.   unmigrated-wiki-markup

The search commands are written as "search.index.# = \ [name\]:\[schema\].\[element\].\[qualifier\]"

  • The name section is used to group together fields within advanced search, for example the name "author" is used three times for the fields dc.contributor, dc.creator, and dc.description.statementofresponsibility- when a user does an advanced search by author all three fields will be searched.
  • Qualifiers can be replaced with '' and all occurrences that element will be searched regardless of qualifiers, for example "dc.title." indexes both dc.title and dc.title.alternative.

...

Add Headings to message.xml

Wiki MarkupOpen message.xml and find the heading <\!\- org.dspace.app.xmlui.artifactbrowser.AdvancedSearch.java \ ->.&nbsp;   For each Advance Search category you added in dspace.cfg, you will need to add a new message field.&nbsp;   The message field should be written as <message key="xmlui.ArtifactBrowser.AdvancedSearch.type_\[name\]">\[Search Heading\]</message>.&nbsp;   The key refers to the name you used in dspace.cfg and the element contents are the heading for the Advanced Search function.

Re-index and Restart DSpace

...