Hi Mika,
yes a search index like
search.index.1 = keyword:dc.subject.*
covers all qualified versions of dc.subject
In your example below your wrote "search.index.1 = keyword:subject.*"
there is the metdata schema missing. Maybe this typo led to your troubles.
hope that helps
Claudia Jürgen
Mika Stenberg schrieb:
> 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
>
>
-------------------------------------------------------------------------
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