Dear Elvi,

I think you need to change your configuration from

> solr.facets.site=dc.type,dc.contributor.author,*dc.subject.**
> ,dc.date.issued_dt
>
to

>  solr.facets.site=dc.type,dc.contributor.author,*subject*
> ,dc.date.issued_dt


Now why do you need to do this you may ask, well for the following reason,
the field in which you copy your dc.subject content is called *
"subject_filter"*, DSpace will add the "_filter" postfix so subject should
be enough in your facets config.
After changing the property restart your tomcat and it should work.

Kind regards,

Kevin Van de Velde
@mire
Esperantolaan 4 - 3001 Heverlee - Belgium
2888 Loker Avenue East, Suite 305 - Carlsbad, CA 92010 - USA
atmire.com - Institutional Repository Solutions



On 3 May 2011 09:46, Nemiz, Elvi S. <[email protected]> wrote:

> Dear Kevin,
>
> Thank you so much Kevin!, now dc.type is now showing as facet. I still have
> problems regarding dc.subject though if I want to configure it as a facet.
> We have entries in dc.subject.lcsh and dc.subject.other so I tried to use
> dc.subject.* in schema.xml to include all entries in dc.subject.*:
>    <field name="subject_filter" type="dspaceFilter" indexed="true"
> stored="true" multiValued="true"/>
>     <copyField source="dc.subject.*" dest="subject_filter"/>
>
> added dc.subject.* in
> solr.facets.site=dc.type,dc.contributor.author,dc.subject.*,dc.date.issued_dt
> and in messages.xml, I added:   <message
> key="xmlui.ArtifactBrowser.AdvancedSearch.type_subject_filter">Topic</message>.
> Did an update of discovery index with -f. Am I missing something? Thanks in
> advance and more power to you.
>
> Best Regards,
>
> Elvi S. Nemiz
> Information Assistant
> Library and Data Bank Services Section
> Training and Information Division
> SEAFDEC Aquaculture Department
> Tigbauan, Iloilo
> Philippines
>
>
>
> On Tue, May 3, 2011 at 3:08 PM, Kevin Van de velde <[email protected]> wrote:
>
>> Have you already tried running the update discovery command with the -f
>> option, it will force a complete reindex.
>>
>>    - dspace update-discovery-index -f
>>
>>
>> Kind regards,
>>
>>
>> Kevin Van de Velde
>> @mire - www.atmire.com
>> 533 2nd Street - Encinitas, CA 92024 - USA
>> Technologielaan 9 - 3001 Heverlee - Belgium
>>
>>
>> http://www.atmire.com - Institutional Repository Solutions
>> http://www.togather.eu - Before getting together, get Tog@ther
>>
>>
>> On 3 May 2011 08:21, Ahmed Maher <[email protected]> wrote:
>>
>>> you can check the subject filter field name
>>> maybe dc.subject.lcsh or another
>>>  so you must change the dc.subject_filter to dc.subject.lcsh_filter
>>>
>>> On Tue, May 3, 2011 at 4:54 AM, Nemiz, Elvi S. 
>>> <[email protected]>wrote:
>>>
>>>>  Dear Kim,
>>>>
>>>> I followed your instructions in your blog
>>>> http://kim-shepherd.blogspot.com/2010/11/discovering-discovery-dspace-solr-tips.htmlbut
>>>>  I want to apply it in dc.type. I want to configure all entries in
>>>> dc.type as a facet but I can't make this facet appear.
>>>> I have added the following in my schema.xml file:
>>>>
>>>>  <field name="format_filter" type="dspaceFilter" indexed="true"
>>>> stored="true" multiValued="true"/>
>>>>     <copyField source="dc.type" dest="format_filter"/>
>>>>
>>>> I also edited messages.xml by adding
>>>>
>>>>     <message
>>>> key="xmlui.ArtifactBrowser.AdvancedSearch.type_format_filter">Format</message>
>>>>
>>>> and added dc.type in dspace-solr-search.cfg:
>>>> solr.facets.site=dc.contributor.author,dc.subject,dc.date.issued_dt,dc.type
>>>> but only the authors and dates are showing as facets. I have reindexed the
>>>> discovery index and deleted cache of tomcat. Please help.
>>>>
>>>> Cheers,
>>>> Elvi S. Nemiz
>>>> Information Assistant
>>>> Library and Data Bank Services Section
>>>> Training and Information Division
>>>> SEAFDEC Aquaculture Department
>>>> Tigbauan, Iloilo
>>>> Philippines
>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> WhatsUp Gold - Download Free Network Management Software
>>>> The most intuitive, comprehensive, and cost-effective network
>>>> management toolset available today.  Delivers lowest initial
>>>> acquisition cost and overall TCO of any competing solution.
>>>> http://p.sf.net/sfu/whatsupgold-sd
>>>> _______________________________________________
>>>> DSpace-tech mailing list
>>>> [email protected]
>>>> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>>>>
>>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> WhatsUp Gold - Download Free Network Management Software
>>> The most intuitive, comprehensive, and cost-effective network
>>> management toolset available today.  Delivers lowest initial
>>> acquisition cost and overall TCO of any competing solution.
>>> http://p.sf.net/sfu/whatsupgold-sd
>>> _______________________________________________
>>> DSpace-tech mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>>>
>>>
>>
>
>
> --
> Elvi S. Nemiz
> Information Assistant
> Library and Data Bank Services Section
> Training and Information Division
> SEAFDEC Aquaculture Department
> Tigbauan, Iloilo
> Philippines
>
------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to