Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Record counts on VIVO's index pages are obtained using the same type of Solr query.

How is Solr created and configured?

The VIVO distribution includes a copy of Solr WAR file. When VIVO is installed the Solr WAR file is deployed to Tomcat as a web application.

The behavior of Solr depends extensively on its configuration files. These are stored in a directory that is called the Solr Home directory. In the standard VIVO installation, this is the solr sub-directory in the VIVO Home directory. When VIVO is installed, the Solr configuration files are copied to the Solr Home directory. When VIVO runs, the Solr search index is built inside the Solr Home directory.

If you are installing VIVO in a servlet container other than Tomcat, or if you are installing Solr in a separate servlet container, you will need to tell Solr how to find its home directory. See the instructions in Building a VIVO distribution for other servlet containers.

The search index

What is in the index?

...

Panel
titleSolr index fields, VIVO 1.6
DocIdnameRaw PREFERRED_TITLE  
URI

nameText

siteURL

  

ALLTEXTnameLowercasesiteName  
ALLTEXTUNSTEMMEDnameLowercaseSingleValued THUMBNAIL  
classgroup

nameUnstemmed

 THUMBNAIL_URL  
typenameStemmedindexedTime   
mostSpecificTypeURIsacNameUntokenized timestamp  
BETA

acNameStemmed

etag  
PROHIBITED_FROM_TEXT_RESULTSNAME_PHONETIC   
     
     

 

 

...

 

...

 

 

Note

In progress

 

  • When an individual is added/edited/deleted, Solr is given the new information and updates the index.
  • Sometimes the index must be rebuilt
    • Most commonly, after an ingest, since some of the ingest mechanisms bypass the usual VIVO framework
      • It would be too slow to update the Solr index on each new statement from the ingest
      • Working to add a search-aware ingest method, which Harvester or other tools could use.
    • A rebuild is done on the side, then replaces the previous index, and Solr switches to the rebuilt one.

    • send it requests to
      • search
      • add, update, or delete records

...

Customizing the index

Note

In progress

The VIVO distribution includes a copy of Solr WAR file. When VIVO is installed the Solr WAR file is deployed to Tomcat as a web application.

The behavior of Solr depends extensively on its configuration files. These are stored in a directory that is called the Solr Home directory. In the standard VIVO installation, this is the solr sub-directory in the VIVO Home directory. When VIVO is installed, the Solr configuration files are copied to the Solr Home directory. When VIVO runs, the Solr search index is built inside the Solr Home directory.

If you are installing VIVO in a servlet container other than Tomcat, or if you are installing Solr in a separate servlet container, you will need to tell Solr how to find its home directory. See the instructions in Building a VIVO distribution for other servlet containers.

The search index

The Solr index contains

...

  • build script - Tomcat or otherwise.
  • Building the record
  • Exclusions

 

...

How does VIVO contact Solr?

...