Hey maria,
Could you please explain why did you make the changes, what was the
default functionality and what happened after you changed the source
code in discovery.xml



On Wed, Jul 5, 2017 at 5:45 PM,  <maria.caceres.c...@gmail.com> wrote:
> I have solved this issue:
>
> I have stopped tomcat and delete all content in dspace/solr/search/data
> folder and then start tomcat again and the command for re-indexing works.
>
>
> El dimecres, 5 juliol de 2017 12:59:01 UTC+2, maria.cac...@gmail.com va
> escriure:
>>
>> 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 dspace-tech+unsubscr...@googlegroups.com.
> To post to this group, send email to dspace-tech@googlegroups.com.
> Visit this group at https://groups.google.com/group/dspace-tech.
> For more options, visit https://groups.google.com/d/optout.

-- 
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 dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
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