Repair a catalogue search that interprets a model code as an instruction
A search box that returns the wrong product family can make a catalogue feel unreliable. Replacing the entire search service may be unnecessary if the existing tool already supports the kind of lookup the business needs. The decision requires evidence about the indexed data, query interpretation and available configuration.
This fictional case concerns exact model references in a component catalogue. It does not prescribe punctuation rules for every supplier: the organisation owns the meaning of its codes.
Confirm the codes are genuinely different
The approved catalogue contains model MX-24, a separate model MX24, and model MX-18. The source owner confirms that the hyphen is meaningful in these references. Removing punctuation would collapse distinct products and is therefore not an acceptable repair.
A buyer enters MX-24 but receives MX-18 among the results. The indexed source for MX-24 is present and correctly associated with its catalogue page. Re-importing the same data would not address the observed cause.
Inspection Q-5 shows that the general search field passes the entry through a query-language parser. In the configured mode, the hyphenated input is interpreted as terms and an exclusion rather than a literal complete model reference. The response is consistent with that interpretation, but it is unsuitable for the buyer's intended lookup.
Compare the available options
The inspected fictional search product already provides a dedicated exact-value field, part_code, and a supported literal-value lookup for it. The current interface simply does not use that capability. Its ordinary descriptive search remains useful for queries such as “pump housing”.
The team compares three options. Stripping punctuation would be inexpensive but wrong for the approved data. Replacing the search product would introduce migration and ongoing maintenance without first addressing a missing capability. Adding a clear model-reference lookup using the existing supported field would meet the immediate need while preserving descriptive search.
The organisation chooses the third option. This is a capability decision for the inspected system, not an assumption that every search engine offers identical fields or syntax.
Implement a literal reference lookup
The revised interface provides an explicit model-reference route. The application passes the complete entered value as a value through the supported client interface, rather than constructing an instruction string from it. The stored model codes remain unchanged.
An unknown code receives a clear no-exact-match result and a route to assistance or descriptive browsing. The application does not silently remove punctuation and recommend a different part as equivalent. Product suitability remains a separate technical decision.
The general description search still uses its intended text behaviour. Making all searches exact code matches would solve one task by damaging another.
Complete the comparison with controls
In review R-6, MX-24 returns the catalogue record for MX-24 and its approved page. MX24 returns the different record for MX24. MX-18 continues to reach its own product. An incomplete MX-2 value has no exact match; the result does not present a nearby model as the requested one.
The descriptive query “pump housing” still returns the relevant family results under the existing content-search rules. Staff also check the enquiry from the MX-24 result: its selected reference remains MX-24 rather than a display label reconstructed without punctuation.
The result supports closing the exact-reference lookup defect. It does not establish that all catalogue search needs are solved. Synonyms, multilingual descriptions and incomplete customer information may need separate work and different acceptance examples.
Record why replacement was deferred
The handoff identifies the approved code semantics, exact field, supported query path and control references. It explains why punctuation must remain meaningful and why descriptive search is a separate mode. A later maintainer should not “simplify” the code by normalising both routes into one.
A replacement can be reconsidered if the existing product cannot support a new justified requirement or becomes unsuitable to maintain. For now, the narrower repair completes the known task with less migration work. The catalogue service can assess that evidence before a search problem becomes an unnecessary platform replacement.
