Hello Alice, this is the name of the search field used for advanced search.
The name is internally used (in the code and message catalogues) so it just should make sense in your application. In the example from dspace.cfg: search.index.1 = author:dc.contributor.* search.index.2 = author:dc.creator.* The content of the metadata fields dc.contributor.* and dc.creator.* is searched if you select the search type Author in the advanced search, see https://eldorado.tu-dortmund.de/advanced-search. In order to add a new field to the advanced search, you got to add it to the "Fields to Index Section" in dspace.cfg and adjust the xmlui or jspui part of advanced search and the according message catalogue. Here is an example for the jspui, adding a publication type to the advanced search based on all dc.type fields: 1. Edit [dspace-source]/dspace/config/dspace.cfg 2. Add a search index search.index.[n] = publicationtype:dc.type.* 3. Copy (if not already done so, due to other customizations) [dspace-source]/dspace-jspui/dspace-jspui-webapp/src/main/webapp/search/advanced.jsp to [dspace-source]/dspace/modules/jspui/src/main/webapp/search/advanced.jsp 4. Edit [dspace-source]/dspace/modules/jspui/src/main/webapp/search/advanced.jsp In order to use the new index, add it to the option value list for the search fields: <select name="field1" id="tfield1"> ... <option value="publicationtype" <%= field1.equals("publicationtype") ? "selected=<fmt:message key="jsp.search.advanced.type.publicationtype"/> </option> ... </select> You must perform this change for field2 and field3 too. 5. Edit the message cataloge (Messages.properties) and add a line for the search type: jsp.search.advanced.type.publicationtype = Publication Type 6. Rebuild, redeploy and reindex your instance. Hope that helps Claudia Jürgen Platt, Alice schrieb: > Question about DSpace configuration code, version 1.5.1: > > In the DSpace config file, there's a section called "Fields to Index > for Search". Let's say the code for one of the search indexes is > "author:dc.contributor.editor". How does the word "author:" relate to > the rest of DSpace code? I'm not sure what its purpose is, or what > its naming conventions should be. > > Thanks, everyone! > > Alice Platt Digital Initiatives Librarian Shapiro Library Southern > New Hampshire University 2500 North River Rd Manchester, NH 03106 USA > 603-668-2211 x 2156 > > > Please consider the environment before printing this e-mail. > > > > ------------------------------------------------------------------------ > > > ------------------------------------------------------------------------------ > Enter the BlackBerry Developer Challenge This is your chance to win > up to $100,000 in prizes! For a limited time, vendors submitting new > applications to BlackBerry App World(TM) will have the opportunity to > enter the BlackBerry Developer Challenge. See full prize details at: > http://p.sf.net/sfu/Challenge > > > ------------------------------------------------------------------------ > > > _______________________________________________ DSpace-tech mailing > list [email protected] > https://lists.sourceforge.net/lists/listinfo/dspace-tech ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge _______________________________________________ DSpace-tech mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspace-tech

