Skip to main content
ExLibris

Knowledge Assistant

BETA
 
  • Subscribe by RSS
  • Back
    Primo

     

    Ex Libris Knowledge Center
    1. Search site
      Go back to previous article
      1. Sign in
        • Sign in
        • Forgot password
    1. Home
    2. Primo
    3. Product Documentation
    4. Primo
    5. System Administration Guide
    6. Performing System Cleanup
    7. Re-Indexing the Database

    Re-Indexing the Database

    1. Last updated
    2. Save as PDF
    3. Share
      1. Share
      2. Tweet
      3. Share
    No headers
    This information is not applicable to Primo VE environments. For more details on Primo VE configuration, see Primo VE.
    Return to menu
    This procedure allows you to re-index from scratch without causing downtime. The Front End uses existing indexes for search retrieval, and hotswapping replaces the old indexes with new ones.
    To re-index the database without deleting the current indexes in memory:
    1. Log on to the FE server and enter the following commands to view the search_schema.xml file:
      se_conf
      vi search_schema.xml
    2. Search for the <agent> tag to get the path to the <indexes> directory.
      In the following example, /exlibris/primo/p4_1/ng/jaguar/home/profile/indexes is the path of the indexes directory:
      <agents desc="collections of all search instances to be searched by jaguar" auto_deploy="active" swapping_type="slices">
      <agent port="9501" connection_type="local" host="primo1.corp.exlibrisgroup.com" active="true">
      <slices slice_count="1" name="main" active="true">
      <slice>
      <path>/exlibris/primo/p4_1/ng/jaguar/home/profile/indexes/inst_1_index</path>
      <load2ram>true</load2ram>
      </slice>
      </slices>
      </agent>
      </agents>
    3. On each SE server, move to the directory that contains the indexes directory and enter the following command to back it up, where <date> is the current date:
      cp -Rp indexes indexes.<date>
    4. Log on to the BE server as the primo user.
    5. Enter the following commands to delete the index files:
      be_bin
      ./clean_indexes.sh
    6. From a Web browser, enter the URL for the Back Office server. For example:
      http://primo.exlibris.com:1601/primo_publishing/admin/acegilogin.jsp
    7. From the Back Office home page, click Primo Home > Monitor Primo Status > Process Monitoring.
    8. To re-index the database, click Execute for the Indexing_and_Didumean_and_Hotswapping process.
    9. Log on to the FE server as the primo user.
    10. Enter the following commands to monitor the job execution on the FE:
      fe_log
      tail -f jaguar_server.log
      Do not restart the FE and SE servers so that you will be able to keep searching with the existing indexes.
    View article in the Exlibris Knowledge Center
    1. Back to top
      • Clean Database Scripts
      • Deleting and Re-Indexing the Database
    • Was this article helpful?

    Recommended articles

    1. Article type
      Topic
      Content Type
      Documentation
      Language
      English
      Product
      Primo
    2. Tags
      1. contype:docum
      2. Performing System Cleanup
      3. Prod:Primo
      4. System Administration Guide
    1. © Copyright 2025 Ex Libris Knowledge Center
    2. Powered by CXone Expert ®
    • Term of Use
    • Privacy Policy
    • Contact Us
    2025 Ex Libris. All rights reserved