Tip to include in the Dspace 7 documentation

69 views
Skip to first unread message

Aroldo Rique Júnior

unread,
Apr 15, 2024, 3:21:24 PM4/15/24
to DSpace Technical Support, paulo...@mpf.mp.br, Altenis Valecio Lima e Lima (PR.PE)
Hello everybody.

Recently, doing some queries on items in our repository, we noticed that the query for some terms did not return any items.

We were only able to find the cause by analyzing Solr logs. The log says that the number of characters in the file exceeded the configured maximum. This configuration is in the /config/modules/discovery.cfg file:

# Limit to number of characters indexed by Discovery/Solr in the full text of a document
# Default is 100,000 characters. Unlimited characters = -1
# Be aware that setting this to a large value (or unlimited) will require more memory and space in Solr.
# Changing this value also requires reindexing all existing objects to take effect.
discovery.solr.fulltext.charLimit=-1


We change it to -1 and now the search includes the entire file.

Aroldo
Reply all
Reply to author
Forward
0 new messages