Have a question about search fields as well, and since there seems to be 
an ongoing discussion about it I'll throw it in as well.

Since we're using multiple subject keyword systems we have to define 
them using qualifiers such as subject.ysa, subject.mesh and so on.

If I place search.index.1 = keyword:subject.* , are all these different 
subject qulifiers searched within one query or do I have to create 
search indexes and fields for each?

I did a quick test and to me it seems they are not. How could I achieve 
this kind of functionality?

-Mika


> Hi Hlias,
> 
> in order to make change the search index and change the advanced search 
> (latest stable release) you must perform changes in:
> 
> - [dspace-source]/config/dspace.cfg
> - [dspace-source]/jsp/local/search/advanced.jsp
> - [dspace-source]/config/language-packs/Messages.properties
> 
> E.g. adding a search index for "affiliation"
> 
> 1. Edit [dspace-source]/config/dspace.cfg
> 2. Set/Change a search indices
>     A search entry in dspace.cfg:
>     search.index.1 = author:dc.contributor.*
> 
>     Example adding a new field:
>     search.index.2 = affiliation:dc.creator.affiliation
>     (supposing dc.creator.affiliation is registered via metadata registry)
> 
>     The config entries got the general form:
>     search.index.[number] = [name]:[metadataschema].[element].[qualifier]
> 
> 3. It might be necessary to change the advanced search
>     [dspace-source]/jsp/local/search/advanced.jsp
>     in order to use new/changed indices in the advanced search, e.g.:
> 
> <select name="field1" id="tfield1">
> ...
> <option value="affiliation" <%= field1.equals("affiliation") ? 
> "selected=\"selected\"" : "" %>>
>      <fmt:message key="jsp.search.advanced.type.affiliation"/>
> </option>
> </select>
> 
> You must perform this change for field2 and field3, too.
> 
> 4. Please check that the tags needed are in
> [dspace-source]/config/language-packs/Messages.properties|, e.g.:
> jsp.search.advanced.type.affiliation = YourMessage
> 
> 5. Rebuild and Reindex your system
> 
> 
> hope that helps
> 
> Claudia Jürgen
> 
> 
> 
> Hlias Stavrakis schrieb:
>> Hi, 
>> i'm new to the community an i would like to ask how can i make new 
>> metadata elements searchable from the search engine of DSpace?
>>
>> Any comment would be very helpfull, 
>> Thanks.
>>
>>
>> ------------------------------------------------------------------------
>>
>> -------------------------------------------------------------------------
>> This SF.net email is sponsored by DB2 Express
>> Download DB2 Express C - the FREE version of DB2 express and take
>> control of your XML. No limits. Just data. Click to get it now.
>> http://sourceforge.net/powerbar/db2/
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> DSpace-tech mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/dspace-tech
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> DSpace-tech mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/dspace-tech


-- 
Mika Stenberg
IT-asiantuntija

Terveystieteiden Keskuskirjasto
Lääketieteellinen tdk
PL 61 (Haartmaninkatu 4)
Helsingin Yliopisto
00290 Helsinki

puh. +358-9-191 26807

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to