Dear Kevin,
Thank you so much for your help Kevin. It is now working nicely with proper
capitalization. Follow up question regarding discovery facets/filter. In my
dspace-solr-search.cfg, what will I put in solr.search.filters to enable
auto complete function and to include all entries in dc.subject.lcsh,
dc.subject.other, etc.? If I put dc.subject.*, auto complete function is not
working and I got zero hits when subject is selected in the drop down menu
of the advance search. If I use subject_filter, I can search and hit entries
in subjects fields but auto complete function is not working. I find the
auto complete function in the advance search very helpful since it gives the
user an idea of what is indexed under that field and it helps in minimizing
typographical errors for users when searching. Once again, thank you Kevin
for your help and your prompt response to my query. More power to you and to
@mire and DSpace team.
Best regards,
Elvi
On Fri, May 6, 2011 at 2:18 AM, Kevin Van de velde <[email protected]> wrote:
> Dear Elvi,
>
> Thank you for the screenschot it clarifies a few things.
> I did some research into the issue you have and it appears that this is a
> small issue with discovery and using "*" as a qualifier.
>
> So far the best solution that I could come up with to fix the issue for you
> is to do the following in the schema.xml:
>
> I would add a copy command for each qualifier that you want to put into the
> subject sidebar facet (notice the "*_filter"* appendix, this is really
> important that you put that after each qualifier).
>
> <copyField source="dc.subject.other_filter" dest="subject_filter"/>
>> <copyField source="dc.subject.mesh_filter" dest="subject_filter"/>
>
> <copyField source="dc.subject_filter" dest="subject_filter"/>
>
>
> And also make sure that the configuration for indexing looks like this:
>
>> solr.facets.site=dc.type,dc.contributor.author,*dc.subject.**,*subject*
>> ,dc.date.issued_dt
>
>
> When done configuring you will have to re index discovery with the force
> command (*-f*).
>
> I hope this helps,
>
> 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 5 May 2011 10:29, Nemiz, Elvi S. <[email protected]> wrote:
>
>> Dear Kevin,
>>
>> In my schema.xml, if I use <copyField source="dc.subject.*"
>> dest="subject_filter"/>, all entries are in lower case plus 2 duplicate
>> entries that have the correct capitalization. From the attached image, you
>> can see that "Giant tiger shrimp culture" and "Giant tiger shrimp" were just
>> duplicate entries. There should be only 7 entries, 4 entries from
>> dc.subject.lcsh and 3 from dc.subject.other. If I explicitly use
>> dc.subject.lcsh and/or dc.subject.other in "copyField source", all entries
>> in subjects are in lower case which made me wonder because I applied the
>> same procedure in dc.type and it is working just like in the author and date
>> facets. Thank you so much for your help and hoping for a positive response.
>>
>> Best regards,
>> Elvi
>>
>>
>>
>>
>> On Thu, May 5, 2011 at 3:13 PM, Kevin Van de velde <[email protected]> wrote:
>>
>>> Dear Elvi,
>>>
>>> Are all your facets lower cased or are it just the ones in subjects ?
>>> Because it is a known bug in DSpace 1.7.0 that all sidebar facets are lower
>>> cased (this has been fixed in DSpace 1.7.1).
>>> About the duplication of subjects, would you mind emailing me your
>>> schema.xml from your solr since this is something strange that shouldn't be
>>> happening.
>>>
>>>
>>> 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 4 May 2011 02:52, Nemiz, Elvi S. <[email protected]> wrote:
>>>
>>>> Dear Kevin,
>>>>
>>>> Hello Kevin, thank you so much, changing the dc.subject.* to just
>>>> subject worked, but now, all subjects have duplicate entries that were in
>>>> lower case. Am I missing something? Thanks again 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 6:49 PM, Kevin Van de velde <[email protected]>wrote:
>>>>
>>>>> 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
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Elvi S. Nemiz
>>>> Information Assistant
>>>> Library and Data Bank Services Section
>>>> Training and Information Division
>>>> SEAFDEC Aquaculture Department
>>>> Tigbauan, Iloilo
>>>> Philippines
>>>>
>>>
>>>
>>
>>
>> --
>> Elvi S. Nemiz
>> Information Assistant
>> Library and Data Bank Services Section
>> Training and Information Division
>> SEAFDEC Aquaculture Department
>> Tigbauan, Iloilo
>> Philippines
>>
>
>
--
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