Here are my notes on how to check how fields are indexed in Apache Solr.

Using the Schema API

You can use Solr’s Schema API to check how a specific field is defined. Below is an example request for a specific field.

http://localhost:8983/solr/{core_name}/schema/fields/{field_name}

By accessing this URL from a browser or sending a GET request using curl or similar tools, information about the specific field is returned in JSON format. This includes information about how the field is indexed.

Using the Solr Admin UI

You can also check how fields are indexed from the admin UI provided by Solr.

  • Open the Solr admin UI (http://localhost:8983/solr) in a browser.
  • Select “Core Selector” from the left menu and choose the relevant core.
  • After selecting the core, choose “Schema Browser” from the menu.
  • On the “Schema Browser” page, select a field name to see detailed information about how that field is indexed.

Both of these methods allow you to check how fields stored in Solr are indexed. Both methods provide detailed information about field definitions, including what type a field is defined as and what options are configured.