Thank you Hilton, i'll pass this to the librarians responsible. I'm just
the 'computer guy'. =)

Andrea,

It seems removing the line from dspace.cfg resolved the issue. Now both
items show dc.type.
(This is a bug right? because my line was setting it to FALSE).
I'll see now if discovery manages to index it correctly.

Ats,

Alcides Carlos de Moraes Neto


2013/8/5 Hilton Gibson <[email protected]>

> About metadata for item types, see latest IRUS report:
> http://wiki.lib.sun.ac.za/images/c/c6/Irus-item-type-report-Jan2013-v2-0.pdf
>
>
>
> On 5 August 2013 20:14, Alcides Carlos de Moraes Neto <
> [email protected]> wrote:
>
>> Thank you for your response Andrea,
>>
>>
>> Did you by any chance add dc.type to the list of hidden metadata fields?
>>>
>>> https://github.com/DSpace/DSpace/blob/dspace-3.1/dspace/config/dspace.cfg#L737
>>>
>>>
>> metadata.hide.dc.type = false
>>
>> It was indeed set to TRUE. I changed it to FALSE, restarted tomcat, and
>> there was no effect, even after clearing the cocoon cache.
>> I'll try removing the line from dspace.cfg and restarting tomcat again.
>>
>> Should this setting affect the discovery search filters? The purpose of
>> my question was to find out why my new dc.type discovery filter is not
>> working.
>> It's only filtering some items, even though most of the items have the
>> dc.type field.
>>
>> Here is my filter in config/spring/api/discovery.xml
>>
>>     <bean id="searchFilterType"
>> class="org.dspace.discovery.configuration.DiscoverySearchFilter">
>>         <property name="indexFieldName" value="type"/>
>>         <property name="metadataFields">
>>             <list>
>>                 <value>dc.type</value>
>>             </list>
>>         </property>
>>     </bean>
>>
>> It shows and it works partially, with just a few items.
>> For example, a search for "dc.type=text" returns only 2141 items, but it
>> should return close to 200k
>>
>>
>> http://www2.senado.leg.br/bdsf/discover?filtertype_1=type&filter_relational_operator_1=equals&filter_1=text&filtertype_2=subject&filter_relational_operator_2=contains&filter_2=&filtertype_3=dateIssued&filter_relational_operator_3=contains&filter_3=&submit_apply_filter=Aplicar
>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Get your SQL database under version control now!
>> Version control is standard for application code, but databases havent
>> caught up. So what steps can you take to put your SQL databases under
>> version control? Why should you start doing it? Read more to find out.
>>
>> http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk
>> _______________________________________________
>> DSpace-tech mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>> List Etiquette:
>> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
>>
>
>
>
> --
> *Hilton Gibson*
> Ubuntu Linux Systems Administrator
> JS Gericke Library
> Room 1025D
> Stellenbosch University
> Private Bag X5036
>  Stellenbosch
> 7599
> South Africa
>
> Tel: +27 21 808 4100 | Cell: +27 84 646 4758
> http://library.sun.ac.za
> http://za.linkedin.com/in/hiltongibson
>
------------------------------------------------------------------------------
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Reply via email to