Hi Susan,

The index identifier is already part of the advanced search.

In general if you want to add an element to the advanced search (jspui).
a) create the search index in dspace.cfg
search.index.[number]=[indexName]:schema.element.qualifier
or with wildcard
search.index.[number]=[indexName]:schema.element.*

b) change the advanced search


Copy
[dspace-src]/dspace-jspui/dspace-jspui-webapp/src/main/webapp/search/advanced.jsp
to
[dspace-src]/dspace-1_5_1/dspace/modules/jspui/src/main/webapp/search/advanced.jsp

Then edit
[dspace-src]/dspace-1_5_1/dspace/modules/jspui/src/main/webapp/search/advanced.jsp
add the new option to field1, field2 and field3

<select name="field1" id="tfield1">
<option value="indexName" <%= field1.equals("indexName") ?
"selected=<fmt:message key="jsp.search.advanced.type.indexName"/>
</option>
</select>

c) change the Messages.properties to include a tag for
jsp.search.advanced.type.indexName

then do
mvn package
ant init_configs, update
and deploy


Hope that helps

Claudia Jürgen




> Hi,
>
>      I recently changed my 1.4.2/1.5.1 dspace.cfg file and added a new
> search.index as follows:
>
>
>
> search.index.3 = identifier:dc.identifier.titleControlKey
>
>
>
> In the DSpace System Documentation, section "5.1.2. Configuring Lucene
> Search Indexes", it says:
>
>
>
> "NOTE: While the indexes are created, this only affects the search
> results and has no effect on the search components of the user
> interface. To add new search capability (e.g. to add a new search
> category to the Advanced Search) requires local customisation to the
> user interface."
>
>
>
> Can someone tell me what the local customizations are to get this search
> to work?
>
>
>
> Thanks,
>
> Sue
>
>
>
> Sue Walker-Thornton
>
> ConITS Contract
> NASA Langley Research Center
> </></>Integrated Library Systems Application & Database Administrator
>
> 130 Research Drive
>
> Hampton, VA  23666
>
> Office: (757) 224-4074
> Fax:    (757) 224-4001
> Pager: (757) 988-2547
> Email:  susan.m.thorn...@nasa.gov <mailto:susan.m.thorn...@nasa.gov>
>
>
>
> ------------------------------------------------------------------------------
> Create and Deploy Rich Internet Apps outside the browser with
> Adobe(R)AIR(TM)
> software. With Adobe AIR, Ajax developers can use existing skills and code
> to
> build responsive, highly engaging applications that combine the power of
> local
> resources and data with the reach of the web. Download the Adobe AIR SDK
> and
> Ajax docs to start building applications
> today-http://p.sf.net/sfu/adobe-com_______________________________________________
> DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>



------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
  • [Dspace-tech] How ... Thornton, Susan M. (LARC-B702)[NCI INFORMATION SYSTEMS]
    • Re: [Dspace-t... Claudia Juergen

Reply via email to