Hi people

I'm trying to configure specific behaviour for related items in a
collection.

My main goal is that the items of a collection only shows related from the
same collection. Meanwhile, I'm trying to hide the related items only for a
collection, but no way, it does'nt work. It applies everytime the default
configuration.

I've tried in discovery.xml

<entry key="site" value-ref="homepageConfiguration" />
 <entry key="14667/4" value-ref="specificConfiguration" />

And it works for showing/hidding sidefacets but not moreLikeThis behaviour.
As far as I can see in SolrServiceImpl, it seems to use a CollectionUtils

 java.util.Collection<String> similarityMetadataFields =
CollectionUtils.collect(mltConfig.getSimilarityMetadataFields(), new
Transformer()
            {
                @Override
                public Object transform(Object input)
                {
                    //Add the mlt appendix !
                    return input + "_mlt";
                }
            });

And obtains the fields, but it seems to obtain allways the default as the
collection that the item is contained never goes as parameter, isn't it?

Any idea?
German

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.

Reply via email to