Skip to content

Dataset

Apache Solr search index datasets for AI training

An Apache Solr dataset is an export of chosen collections from a business's Solr installation: the stored fields of each indexed document, together with the configset that shaped its search, meaning the schema, solrconfig.xml, synonym and stopword files and query elevation rules. Typical collections sit behind site search, product catalogs and document portals. SourceX sources it to a buyer's spec from established businesses that run Solr in production. Each dataset is de-identified and licensed for an agreed permitted use, and it holds only the fields Solr can return.

Dataset manifest

Sourced to your spec
What it is
Stored documents of chosen collections with their configsets: schema, request handler settings, synonym, stopword and elevation files
Typical systems
Apache Solr in SolrCloud or standalone mode, with configsets from ZooKeeper or disk, and the Learning to Rank module where the business ran it
Typical history
Current state only; the index holds the latest version of each document, so ask when it was last fully re-indexed
Modality
Flat or nested documents with typed fields; configuration as XML, JSON and plain text files
Delivery formats
Documents as JSONL per collection; configset files as they are, with a field report of stored, indexed and docValues flags
Preparation
Personal fields and user-written text screened or removed; hostnames, credentials and internal URLs stripped from configuration files
Licensing
Scoped per collection and field list; permitted use agreed per license; rights in crawled or third-party content checked first
Availability
Sourced to your spec; recoverable fields depend on how each collection was indexed, and supply is not guaranteed
Structured recordsIllustrative

What a delivery contains

Fields vary by source system and are fixed per order. A typical delivery includes:

FieldTypeWhat it holds
collectionstringThe SolrCloud collection or standalone core the document was read from.
configsetstringThe configset the collection uses, which names the schema, solrconfig.xml and analysis files delivered beside the documents.
idstringThe value of the schema's uniqueKey field, usually id; Solr keeps one document per value and replaces it on re-index.
doc_versionstringSolr's internal _version_ field, which orders updates to a document but is not a timestamp.
stored_fieldsobjectEvery explicitly declared field Solr returned for the document, because the schema marks it stored or readable from docValues.
dynamic_fieldsobjectFields matched by dynamic field rules such as *_s, *_txt or *_i, under their full names so the suffix shows the type.
unrecoverable_fieldsarrayFields the schema lists as indexed but neither stored nor docValues, including copyField targets; they are named but not delivered.
child_documentsarrayNested child documents from block indexing, tied to the parent through _root_, such as pack sizes under a product.
synonym_rulesarrayLines from the synonym files named in the field type's synonym filter, as equivalent sets or one-way mappings.
analysis_filesobjectThe stopword, protected-word and stemming override files the analyzer chain references, per language.
query_defaultsobjectRequest handler defaults from solrconfig.xml, configoverlay.json or params.json, such as defType, qf, pf, mm and boost queries.
elevation_rulesarrayEntries from the QueryElevationComponent's elevate.xml: a query text with the document IDs pinned to the top or excluded.
export_metaobjectThe handler and sort used to page through the collection and when the read was taken.
Sample recordIllustrative

Field names from the table above; values are masked placeholders.

Example record

{
  "collection": "catalog_products",
  "configset": "catalog_products_conf",
  "id": "pg-48213",
  "doc_version": "1814665462022144001",
  "stored_fields": {
    "title": "Hex bolt M8 x 40, A2 stainless",
    "category_path": [
      "Fasteners",
      "Bolts",
      "Hex bolts"
    ],
    "description": "Fully threaded hex head bolt for general assembly. Sold in packs.",
    "price": 0.42,
    "in_stock": true,
    "last_indexed": "2024-11-03T02:10:44Z"
  },
  "dynamic_fields": {
    "material_s": "A2 stainless",
    "thread_pitch_f": 1.25
  },
  "unrecoverable_fields": [
    "text_all",
    "supplier_notes_txt"
  ],
  "child_documents": [
    {
      "id": "pg-48213-p100",
      "pack_size_i": 100,
      "price": 36.0
    }
  ],
  "synonym_rules": [
    "hex bolt, hexagon bolt, hex cap screw",
    "ss => stainless steel"
  ],
  "analysis_files": {
    "stopwords": "lang/stopwords_en.txt",
    "protected_words": "protwords.txt"
  },
  "query_defaults": {
    "handler": "/select",
    "defType": "edismax",
    "qf": "title^6 category_text^2 text_all",
    "pf": "title^10",
    "mm": "75%",
    "bq": "in_stock:true^2"
  },
  "elevation_rules": [
    {
      "query_text": "m8 bolt",
      "elevate": [
        "pg-48213"
      ],
      "exclude": [
        "pg-10977"
      ]
    }
  ],
  "export_meta": {
    "route": "/select with cursorMark",
    "read_at": "2024-11-05T01:30:00Z"
  }
}

Synthetic record for illustration. Field names, structure and format are agreed per order.

What AI teams use it for

Learn domain synonyms and query expansion

Hand-built synonym lists, next to the documents they act on, are labeled examples of which trade terms mean the same thing.

Tune retrieval and ranking on a real catalog

Field weights, boost rules and elevation entries act as weak relevance labels over a real document set.

Teach agents to configure search

Schemas, analyzer chains and handler settings from working collections are worked examples for agents that write search configuration.

Ground retrieval in a business's indexed content

Stored documents with clean fields make a retrieval corpus, where the content is the business's to license.

Build search evaluation sets

Elevation rules are query and document pairs chosen by the search team, usable as test items with a known top answer.

Use-case guides: Document AI, enterprise search and RAG, Coding agents, Enterprise and computer-use agents, Private evaluation sets

What makes this data valuable

Body text is stored

The main text fields are stored, not only indexed, so documents come back whole.

A complete configset

Every file the schema and solrconfig.xml reference is present, overlays and managed resources included.

Maintained synonym and elevation files

Many entries and a dated edit history show search tuning that was kept up.

Explicit schema

Declared fields with chosen types are more reliable than fields guessed in schemaless mode.

Known content origin

The owner can say which system or feed filled each collection and each field.

A recent full re-index

Documents indexed together share one schema version and one set of analysis rules.

Retrieval

Apache Solr dataset

This page covers apache Solr search indexes.Illustrative

Solr returns only what was stored or held in docValues

Every field in a Solr schema has separate switches. Indexed means its terms go into the inverted index and can be matched. Stored means the original value is kept and can be returned. docValues means a column of values is kept for sorting and faceting, and Solr can return those too. A search team stores what the results page shows, such as title, price, URL and a short description. The long body text and the catch-all field that copyField fills from many others are often indexed only, to save disk. The index then matches on text it cannot give back.

That text cannot be rebuilt. An indexed-only text field exists as analyzed terms: typically lowercased, stemmed, stopwords dropped, synonyms possibly added at index time. The original wording, casing and punctuation are not there. Values that come back from docValues have their own quirk, since a multi-valued field is returned in sorted order, not the order it was sent, and a multi-valued string field also loses its repeated values. So before agreeing a scope, read the schema field by field and mark what is stored, what is docValues and what is neither. Many collections return less than was fed into them.

Solr keeps no history either. A document sent again with the same uniqueKey replaces the earlier one, and deleted documents are dropped when segments merge. The index is also a derived copy. The originals live in a database, a product information system, a content system or a crawl, and Solr holds the projection the search team chose. That projection can still carry fields found nowhere else: text extracted from PDFs at index time, normalized category paths, computed popularity scores. A collection where every field is stored, often because the team relies on atomic updates, is the better find.

The configset holds hand-tuned search knowledge

What a collection does with a query is set by its configset: the schema, solrconfig.xml and the files they reference. These are plain text, and they record years of a search team's corrections. A synonyms file lists equivalent terms on comma-separated lines and one-way mappings with an arrow, usually added one failed search at a time. The request handler defaults carry the ranking recipe for the edismax parser: weights per field in qf, phrase boosts in pf, the minimum-should-match rule in mm, and boost queries or functions that lift in-stock or recent items. The elevation file read by the QueryElevationComponent pins named documents to the top for a given query text and excludes others.

None of this is in a document export. In SolrCloud the configset sits in ZooKeeper, apart from the index, and has to be downloaded on its own. Synonyms and stopwords edited through the managed resources REST API are saved as JSON files of their own, not in synonyms.txt. Settings changed through the Config API sit in configoverlay.json, and named parameter sets in params.json, both taking precedence over the defaults in solrconfig.xml. Learning to Rank features and models have their own stores. And an application can send qf, boosts and filters with each request, in which case the ranking recipe is in the application's code and not in Solr at all.

Documents themselves come out through the /select handler with cursorMark paging sorted on the uniqueKey, which returns stored fields, or through the /export handler, which streams whole result sets but by default returns only docValues fields. To test a sample, confirm that every file named in the schema's analyzers is in the delivery. Check that the document IDs in elevation rules exist in the document export. Compare a few documents with the live site for truncated text, and check that child documents arrive nested under their parents.

What to check before licensing

  • Have the data owner and your counsel check the license and terms that apply to the Solr distribution or hosted search service in use, on exported data and API use.
  • Before agreeing a scope, ask for each collection's field list with its stored, indexed and docValues flags, and mark which requested fields cannot be returned.
  • Ask whether each collection's content came from the business's own systems, a web crawl, supplier or publisher feeds or user submissions, and confirm the business may license it.
  • Confirm the configset is complete: every synonym, stopword and elevation file the schema and solrconfig.xml name, plus configoverlay.json, params.json and managed resource files where they exist.
  • Ask which ranking settings live outside Solr, such as qf, boosts and filters the application sends with each query, and whether they can be supplied.
  • Check de-identification of author, reviewer and contact fields and user-written text, and that hostnames, credentials and data source passwords were removed from configuration files.
  • On a sample, compare documents with the live site or source system for truncated bodies, reordered multi-valued fields and child documents split from their parents.

Delivery No files move before a signed license. A listing or a request grants no files by itself.

How licensing works through SourceX

  1. 1

    Define

    Send the domain, modality, volume, format, timeline and permitted use you need.

  2. 2

    Source

    SourceX identifies businesses that hold matching data and are open to licensing it.

  3. 3

    Qualify

    Fit, rights and quality are checked, and you review samples before committing.

  4. 4

    License

    Scope, permitted use, exclusivity, price and obligations are agreed in writing.

  5. 5

    Deliver

    Approved data is prepared, de-identified where required and transferred securely.

Questions Acquisition Partners ask

Can fields that were indexed but not stored be recovered?

Not as the original text. An indexed-only text field exists in Solr as analyzed terms, typically lowercased, stemmed and stripped of stopwords, so the wording cannot be rebuilt from them. Only fields marked stored or held in docValues can be returned. If the field matters, ask whether the source system that fed Solr can be added to the scope.

Does a Solr dataset include search queries and clicks?

Not from the index, which holds documents and configuration only. Solr writes each request's parameters, hit count and response time to its log files where request logging was on and the logs were kept, and that is a separate scope with its own privacy review. Clicks are recorded by the website or application, not by Solr.

Why are the synonym and elevation files worth licensing?

Because they are the search team's judgments written down. Each synonym line records that customers use two terms for one thing, and each elevation entry records which document should answer a specific query. General models may not know a trade's part names and abbreviations, and these files are a compact, human-made source of that knowledge.

How are documents exported from a Solr collection?

By paging through the collection with the standard query handler and a cursor, sorted on the unique key, which returns every stored field. The streaming export handler by default returns only docValues fields, and sorts only on them. Copying the index files does not help a buyer, since they are in Lucene's binary format and add only analyzed terms, not original text.

Does Solr keep earlier versions of a document?

No. Re-indexing a document with the same unique key replaces it, and Solr keeps no earlier version. History has to come from elsewhere: the source system behind the index, or version control of the configset, which can show when synonyms and elevation rules were added.

Is SourceX affiliated with the Apache Software Foundation?

Apache Solr is named to identify the system the records come from. That does not imply a partnership with or endorsement by the Apache Software Foundation. The records belong to the business that runs Apache Solr, which licenses them under a signed agreement, and a request does not guarantee a matching dataset. Buyers should still confirm with counsel that the vendor's terms allow the intended use of exported data.

Evaluating this data for procurement?

Diligence packets are prepared per dataset. Rights, privacy processing and quality differ between datasets.

Request dataset diligence

Tell us what your models need

Send your spec — domain, volume, format, timeline and permitted use — and SourceX will match it against partner data and come back with what can be licensed.

Updated 26 November 2026.

See if your company qualifies