Current Release

This documentation covers the latest release of VIVO, version 1.11.x.
If you are able to help contribute to this documentation, please contact sysadmin at duraspace dot org
Looking for another version? See all documentation.

Skip to end of metadata
Go to start of metadata

How to Turn Off Inferencing

Inferencing can be very time-consuming.  If you are loading a large set of data (thousands of people and tens of thousands of publication, that is, sets of triples in the 15M and above size) you may benefit from turning off inferencing during load and recomputing inferences (see below) after initial load.  And if you have added the inferred triples using your own processes, before loading, you may not need to recompute the inferences.

You turn off inferencing at start-up:

  1. Find the file WEB-INF/resources/startup_listeners.txt
  2. Edit the file and comment out two lines as shown below
  3. Restart VIVO.  VIVO will no longer do reasoning at start-up
  4. Load data.  Data will not be inferenced.
  5. Once data is loaded, you may wish to use the Site Admin interface to recompute inferences.  You may also recompute inferences using the URL shown in the next section.
# edu.cornell.mannlib.vitro.webapp.application.ApplicationImpl$ReasonersSetup
# edu.cornell.mannlib.vitro.webapp.servlet.setup.SimpleReasonerSetup

Recompute Inferences

The inference engine / Reasoner may need to be told to run, and that is achieved by a user with administrative privileges visiting a job specific site.

How to Turn Off Search Indexing

As data is loaded, VIVO updates its search index.  This may take considerable time if the number of triples being loaded is high (millions of triples) .  In such cases, there may be an interest in turning off indexing during the data load and rebuilding the search index as shown in the next section at a more convenient time separated from data loading.  If data is loaded and indexing is not performed, the new data will not be found or displayed using the VVO application.

To disable indexing, edit WEB-INF/resources/startup_listeners.txt, comment out the line below, and restart VIVO.

# edu.cornell.mannlib.vitro.webapp.searchindex.SearchIndexerSetup

Re-building the search index

The Solr search may need to have its index re built, and that is achieved by a user with administrative privileges visiting the URL shown below.