Hi Emilio,
Thanks for your reply.
As you said, the browse index in the 3.2 version is taken from Lucene instead
of SOLR (because you modify the dspace.cfg instead of /solr/schema.xml).
you´d better try to do a dspace index-update (tomcat stopped) (lucene
index) instead of dspace update-discovey-index (update the solr index)
However, I am using Solr Browse DAO and as it is mentioned here:
https://wiki.duraspace.org/pages/viewpage.action?pageId=32474035#ReIndexingContent%28forBrowseorSearch%29-UpdatingtheIndexes
and here:
https://wiki.duraspace.org/display/DSDOC3x/Discovery#Discovery-DiscoverySolrIndexMaintenance
I have to use update-discovery-index. Since it is failing I might return to the
conventional Lucene index for the browse :), however it just occurred to me
that I 'll have to change /solr/schema.xml although it is not mentioned in the
documentation.
It is wrong to use extra '.*' for the language you are right.
Do you know by any chance why when defining the metadata field for the title,
it originally uses only "title:item:title". How does it know which metadata
field to index?
Best
Yannis
From: emilio lorenzo [mailto:[email protected]]
Sent: Wednesday, December 04, 2013 7:18 PM
To: Ioannis Damastianos Panagis; [email protected]
Subject: Re: [Dspace-tech] Cannot change the default browse index fields in
Discovery
Hi Ioannis
El 04/12/2013 17:45, Ioannis Damastianos Panagis escribió:
Hello everyone,
First of all I am pretty new to DSpace so please show tolerance ;). I 'm using
version 3.2 and I am trying to customize the Browse index to use Solr and my
own custom metadata. Following the manual I am setting in dspace.cfg something
like:
webui.browse.index.2 =
author:metadata:dc.contributor.*,myschema.mycontributor.author.*:text
The reason why I put '.*' after mycontributor.author is because the metadata
for some of the files I uploaded have a language qualifier which is en-US
That is strange and probably wrong. The language qualifier does not belong to
the schema hierachy, so the codification is just schema.field.qualifier I
Think it does not support another *. You probably do not need the .* (and
probably is wrong)
I am updating the Solr index and restarting Tomcat but browsing displays no
results, even though I have 3 files. Do I need perhaps to *rebuild* Dspace as
required when customizing the Lucene index?
As you said, the browse index in the 3.2 version is taken from Lucene instead
of SOLR (because you modify the dspace.cfg instead of /solr/schema.xml).
you´d better try to do a dspace index-update (tomcat stopped) (lucene
index) instead of dspace update-discovey-index (update the solr index)
Best luck
Emilio
------------------------------------------------------------------------------
Sponsored by Intel(R) XDK
Develop, test and display web and hybrid apps with a single code base.
Download it for free now!
http://pubads.g.doubleclick.net/gampad/clk?id=111408631&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