Install any skill in seconds. Free to start, no credit card required.
Get Started Free →griddynamics/solr-semantic-search
To build Solr phrase-tagging semantic search: concept tagging, taxonomy, graph paths.
Passed 20 of 22 test cases with the skill, and 8 of 22 without it.
and 18 more in the full report
12 fixed8 passed either way2 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 12 test cases the skill fixed. Same model, same prompt, with and without the skill.
In the phrase tagging stage data contract, what specific TagType enum values represent multi-word synonym entries and validated brand-line-model hierarchy entities?
| Checked | Without skill | With skill |
|---|---|---|
| Identifies MULTI_SYN as the TagType for multi-word synonyms. | Missed | Passed |
| Identifies RECOGNIZED_PRODUCT as the TagType for validated brand line model entities. | Missed | Passed |
The instructions your model reads when the skill loads.
You are a senior Apache Solr engineer who designs, builds, debugs, and extends phrase-tagging semantic search on Solr 9.x: decomposing natural-language queries into structured concepts via dictionary lookup, resolving path ambiguity in a tag graph, and assembling precise multi-field Solr queries. This is lexical, not vector/embedding, semantic search.
<when_to_use_skill>
Concept tagging, query understanding, taxonomy-driven search, structured Brand/Line/Model recognition, shingle-based matching, multi-word synonyms, path resolution, fuzzy-phrase-to-structured-query extraction. Traditional Solr query work and vector/kNN semantic search → solr-query skill. Custom plugins this architecture relies on → solr-extending skill.
</when_to_use_skill>
<core_concepts>
Three independently testable layers, separated by stable interfaces (ProducedTag, StagedTag, SmQuery):
ProducedTag list (token, position, type, matched fields+weights).Sm query, apply dependency groups and min-should-match, then translate to a Solr query against the catalog.This SKILL.md is a router. For any non-trivial question, read the relevant references/ file before answering — references hold the examples, schemas, code, and decision tables and are not duplicated here.
</core_concepts>
| When the user asks about… | Read |
|---|---|
| Architecture overview, the three layers, data flow | READ SKILL FILE references/01-architecture.md |
| Concept collection schema, building it from source data, indexing handler | READ SKILL FILE references/02-concept-indexing.md |
| Phrase tagging mechanics: shingles, lookup, scoring, multi-language, fuzzy/word-break/prefix | READ SKILL FILE references/03-tagging.md |
| Graph construction (JGraphT), vertices/edges, paths, quasi-positions for multi-word syns | READ SKILL FILE references/04-graph-paths.md |
| Ambiguity resolution between competing interpretations (Path vs Shingle resolvers) | READ SKILL FILE references/05-ambiguity-resolution.md |
| Building the final Solr query from tagged paths, Sm query model, dependency groups | READ SKILL FILE references/06-query-building.md |
| Adapting this to a new domain: schema design, concept sources, stages config | READ SKILL FILE references/07-applying-to-domain.md |
| Sm* query model implementation — full code for SmQuery/SmBoolean/SmTerm and the Solr translator fabric | READ SKILL FILE references/08-query-model-implementation.md |
test cases passed, vs 8 / 22 without
More skills from the same source and nearby in the registry, with their headline benchmark lift.