*Deprecated* See https://wiki.duraspace.org/display/VIVODOC/All+Documentation for current documentation

This documentation applies to VIVO 1.5. Support for boosting was removed from VIVO in v1.11 

Create a new file with N3 statements specifying the classes you want to boost

The subject is the class, the property is<http://vitro.mannlib.cornell.edu/ns/vitro/0.7#searchBoostAnnot>,
and the value is a floating point number describing how much you want to boost it.

For instance, to boost all faculty members to the top of search results, you can include the statement

<http://vivoweb.org/ontology/core#FacultyMember> <http://vitro.mannlib.cornell.edu/ns/vitro/0.7#searchBoostAnnot> 500000.0.

(This is an absurdly high boost value, but it puts all other hits below faculty members. I haven't yet played around enough to determine good numbers to use for more subtle boosts.)

Save this file with a .n3 extension, e.g. local-searchBoost.n3

Place that N3 file in WEB-INF/filegraph/tbox under your main VIVO application directory

  • Stop and restart Tomcat.
  • When VIVO comes back up, log in as administrator.
  • Rebuild the search index.
  • When the search index is rebuilt, you'll see search results that reflect
    the new boosting.

This procedure is based on the testing procedure documented at
NIHVIVO-3876

I've tested the procedure above on my own
installation.

I hope this helps. If anyone has additional tips or issues, please post.

John Mark Ockerbloom

  • No labels