Coding and Data

Design and Tune a Solr Search Query

Test changes against a representative index and retain before-and-after relevance examples.

Prompt

MetaCyberGuru reviewed
Review this Solr query and schema context: [QUERY AND SCHEMA]. The Solr version, analyzers, expected matches and problematic results are [CONTEXT]. Explain parsing, filters, scoring and analyzer effects. Propose one change at a time, include an observable test for relevance and latency, and distinguish schema changes from query changes. Do not invent index statistics.

What to customize

  • [QUERY AND SCHEMA]
  • [CONTEXT]

Expected output

A staged Solr query-tuning plan with hypotheses, tests and rollback points.

Check before you rely on it

AI output can be incomplete or wrong. Verify facts, run code, check citations and keep private data out of tools that your organization has not approved.

Related prompts

View the category