How medDiscover was built

Experience

A Drupal theme and Single Directory Components render the search experience. Form API handles submission and validation, and core HTMX updates results in place.

Data

Drupal Migrate imports 24 English MedlinePlus topics and their MeSH metadata. Solr matches keywords, pgvector ranks by meaning, and hybrid search combines both rankings with Reciprocal Rank Fusion.

Run the same query in Keyword, Semantic, and Hybrid to see how each mode ranks the topics.

Compare search modes

Activation

Answers cite the MedlinePlus topics they draw from. Results link to health information and relevant resources so visitors can take the next step.

Optimization

Relevance tests and aggregate latency, empty-result, and resource-click metrics feed back into retrieval and interface improvements.