Skip to content

Commit

Permalink
Merge pull request #865 from kosarko/issue_#864
Browse files Browse the repository at this point in the history
Resolve #864 - Disable related items in item-view
  • Loading branch information
kosarko authored Jul 10, 2018
2 parents ad54db1 + 482f95b commit 73035f1
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions dspace/config/spring/api/discovery.xml
Original file line number Diff line number Diff line change
Expand Up @@ -175,10 +175,11 @@
</property>
</bean>
</property>
<!--
<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-->
<!- -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.title</value>
Expand All @@ -187,14 +188,16 @@
<value>dc.subject</value>
</list>
</property>
<!--The minimum number of matching terms across the metadata fields above before an item is found as related -->
<!- -The minimum number of matching terms across the metadata fields above before an item is found as
related - ->
<property name="minTermFrequency" value="5"/>
<!--The maximum number of related items displayed-->
<!- -The maximum number of related items displayed- ->
<property name="max" value="3"/>
<!--The minimum word length below which words will be ignored-->
<!- -The minimum word length below which words will be ignored- ->
<property name="minWordLength" value="5"/>
</bean>
</property>
-->
<!-- When true a "did you mean" example will be displayed, value can be true or false -->
<property name="spellCheckEnabled" value="true"/>
</bean>
Expand Down

0 comments on commit 73035f1

Please sign in to comment.