Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9236865
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T07:24:04+00:00 2026-06-18T07:24:04+00:00

Is it possible to store a custom version number somewhere in the Solr schema

  • 0

Is it possible to store a custom version number somewhere in the Solr schema so that it could be retrieved by the client in order to verify that it is connected to a compatible Solr instance?

When I’m deploying a new version of the application to QA or production I need to be sure that all the data sources (Solr, RDBMS, etc) my app is connected to have been properly updated/migrated. So I want to perform some validation at the startup. It’s easy with the database (e.g. storing current schema version in the VERSION table), but it’s less obvious where to store the version information for the Solr schema.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T07:24:06+00:00Added an answer on June 18, 2026 at 7:24 am

    The SystemInfoHandler will provide the version along with other information about the Solr instance. In later versions of Solr (3.x & 4.x), this is already enabled as part of the admin requestHandler.

    You can access the information via http://localhost:8983/solr/admin/system from the example site distributed with Solr. Modify the url accordingly for your Solr configuration.

    Note: If you are running an older version of Solr this can be enabled by adding the following line to the solrconfig.xml file.

     <requestHandler name="/admin/system" class="solr.admin.SystemInfoHandler" />
    

    Update:
    For the specific scenario of knowing when the schema has changed (e.g. version the schema) can be accomplished by updating the name attribute of root node every time the schema file is modified. This name value will then be available in the SystemInfoHandler response.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is it possible to store a Class that contains a List inside an array?
Is it possible to store the credentials that I use to connect to my
Does anyone know if it is possible to create custom property version for observed
Is it possible to create an Objective-C class that can have an arbitrary number
Is it possible to store different objects that have been extended from the same
I'm using opencart (version 1.5.1.3.1) for a client store, and am wondering what the
Possible Duplicate: Storing custom objects in an NSMutableArray in NSUserDefaults How to store custom
Is it possible to build a custom version to code like this? <script type=text/javascript>
Is it possible to store a NaN in a property list file. I tried:
Is it possible to store soemthing like this in a php string: $variable =

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.