Good afternoon:

I have changed the "dspace/config/spring/api/discovery.xml" to change the 
property "moreLikeThisConfiguration" (minTermFrecuency from 1 to 2)

<property name="moreLikeThisConfiguration">
            <bean class=
"org.dspace.discovery.configuration.DiscoveryMoreLikeThisConfiguration">
                <!--When altering this list also alter the 
"xmlui.Discovery.RelatedItems.help" key as it describes
                the metadata fields below-->
                <property name="similarityMetadataFields">
            <list>
                <value>dc.contributor.author</value>
            </list>
        </property>
                <!--The minimum number of matching terms across the 
metadata fields above before an item is found as related -->
                <property name="minTermFrequency" value="2"/>
                <!--The maximum number of related items displayed-->
                <property name="max" value="5"/>
                <!--The minimum word length below which words will be 
ignored-->
                <property name="minWordLength" value="5"/>
    </bean>
        </property>

I have changed it manually in the source code and in the deployed.

Then I have executed this command:

dspace/bin/dspace update-discovery-index -b

And the output has been:

 INFO [main] (DSpaceKernelInit.java:52) - Created new kernel: 
DSpaceKernel:org.dspace:name=29edbe0e-aab7-453c-b153-ff3fc333c65a,type=DSpaceKernel:lastLoad=null:loadTime=0:running=false:kernel=null
 INFO [main] (ConfigurationManager.java:1224) - Loading from classloader: 
file:/projectes/scientia/dspace/config/dspace.cfg
 INFO [main] (ConfigurationManager.java:1224) - Using dspace provided log 
configuration (log.init.config)
 INFO [main] (ConfigurationManager.java:1224) - Loading: 
/projectes/scientia/dspace/config/log4j.properties


So I think that everything has gone fine, but when I access to the website 
(Example: https://scientiasalut.gencat.cat/handle/11351/2956 ) There is no 
changes in the related documents.

What am I doing wrong?? 

I have tried too: dspace/bin/dspace update-discovery-index -b and it 
doesn't works.

Regards,
MarĂ­a

-- 
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 https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.

Reply via email to