Skip to main content

Combining queries with bool

This example uses Elasticsearch’s bool query to combine multiple smaller queries together, in this example using OR logic (should and minimum_should_match value of 1).
Results are then hydrated, i.e. transformed into a collection response.

curl -X POST \
-H 'Authorization: Bearer secret-token:PIPeJGUt7c00ENn8a5uDlc' \
-H 'Content-Type: application/json' \
-d '{
"debug": true,
"steps": [
{
"type": "elasticsearch-query-dsl-mixin",
"query": {
"bool": {
"should": [
{
"match": {
"name": {
"query": "blue",
"fuzziness": "AUTO",
"boost": 10.0
}
}
},
{
"match": {
"description": {
"query": "blue"
}
}
}
],
"minimum_should_match": 1
}
}
},
{
"type": "element-hydration"
}
]
}' \
https://api.example.com/search
[
{
"input": {
"type": "elasticsearch-query-dsl-mixin",
"query": {
"bool": {
"should": [
{
"match": {
"name": {
"query": "blue",
"fuzziness": "AUTO",
"boost": 10
}
}
},
{
"match": {
"description": {
"query": "blue"
}
}
}
],
"minimum_should_match": 1
}
},
"parameters": {
"stepResults": []
}
},
"step-handler": "elasticsearch-query-dsl-mixin (App\\EventSystem\\SearchStep\\EventListener\\ElasticsearchQueryDslMixinSearchStepEventListener)",
"start": 1758825390.227822,
"indices": "*",
"combinedQuery": {
"_source": [
"_id"
],
"from": 0,
"size": 25,
"query": {
"bool": {
"must": [
{
"bool": {
"should": [
{
"match": {
"name": {
"query": "blue",
"fuzziness": "AUTO",
"boost": 10
}
}
},
{
"match": {
"description": {
"query": "blue"
}
}
}
],
"minimum_should_match": 1
}
},
{
"bool": {
"should": [
{
"terms": {
"_groupsWithSearchAccess.keyword": []
}
},
{
"term": {
"_usersWithSearchAccess.keyword": {
"value": "7baba8b7-a6bb-4184-9a9a-925a4d2736b0"
}
}
}
],
"minimum_should_match": 1
}
}
]
}
}
},
"end": 1758825390.287255,
"duration": 0.059433
},
{
"input": {
"type": "element-hydration",
"query": null,
"parameters": {
"stepResults": [
{
"elements": [
{
"id": "79ca27e5-93bb-43e6-a76b-096ea45e2e8e",
"type": "Tag",
"metadata": {
"score": 26.933556
}
},
{
"id": "d747bfe6-0d52-4119-87c6-1fc37ed9395b",
"type": "Plant",
"metadata": {
"score": 4.160383
}
},
{
"id": "97157162-56eb-4374-8200-41b9b6004ca2",
"type": "Taxon",
"metadata": {
"score": 3.3504083
}
},
{
"id": "36e02d35-f6b4-4ccc-ae2f-b035ef02e0d6",
"type": "Taxon",
"metadata": {
"score": 3.3171558
}
},
{
"id": "83b35321-4a91-4e9f-a49b-66d718c32ba7",
"type": "Plant",
"metadata": {
"score": 3.2498505
}
},
{
"id": "ad80a619-2b53-4f27-a4bd-56a316c15251",
"type": "Plant",
"metadata": {
"score": 3.1922612
}
},
{
"id": "26dfaa98-5f15-4170-9fdc-94661c1a26c5",
"type": "Plant",
"metadata": {
"score": 3.038499
}
},
{
"id": "30b0e9bc-8c9f-42e2-91c5-62f04b7da3be",
"type": "Taxon",
"metadata": {
"score": 2.9056842
}
},
{
"id": "7359834e-c79c-4773-89ac-46befceb5f72",
"type": "Taxon",
"metadata": {
"score": 2.9056842
}
},
{
"id": "3a123b1c-8bdc-482c-9d12-c3e9e22ec4fd",
"type": "Taxon",
"metadata": {
"score": 2.5851276
}
},
{
"id": "152d527e-4e33-4ad4-b13b-1de643740cce",
"type": "Plant",
"metadata": {
"score": 2.5810764
}
},
{
"id": "3e5b01a7-5856-461e-bde5-d8388b6d909c",
"type": "Tag",
"metadata": {
"score": 1.5008786
}
},
{
"id": "25d0c9a8-8864-42bd-9ea1-6157fb688998",
"type": "Tag",
"metadata": {
"score": 1.3131481
}
},
{
"id": "bbc7529f-72da-4df2-aff5-e139a5618ccb",
"type": "Tag",
"metadata": {
"score": 1.113173
}
},
{
"id": "b8674d32-af5f-4ef1-a5d8-fc5cbb56b795",
"type": "Tag",
"metadata": {
"score": 0.9764628
}
},
{
"id": "b7121a49-8f17-4858-b988-4bd837a5f1fe",
"type": "Tag",
"metadata": {
"score": 0.87871504
}
},
{
"id": "12de56ab-8e89-4281-ab44-403c7c7ecb00",
"type": "Tag",
"metadata": {
"score": 0.818965
}
},
{
"id": "90819566-3121-42af-bdb5-19cbef67cd31",
"type": "Tag",
"metadata": {
"score": 0.6451281
}
},
{
"id": "be14916b-0068-4b49-b8d0-f9e528f3d10e",
"type": "Tag",
"metadata": {
"score": 0.6129052
}
},
{
"id": "f99ba115-8278-4dba-a549-ab138fc20be0",
"type": "Tag",
"metadata": {
"score": 0.5838508
}
}
],
"totalHits": 20,
"maxScore": 26.933556
}
]
}
},
"step-handler": "element-hydration (App\\EventSystem\\SearchStep\\EventListener\\ElementHydrationSearchStepEventListener)",
"start": 1758825390.287426,
"accessibleElementIds": [
"79ca27e5-93bb-43e6-a76b-096ea45e2e8e",
"d747bfe6-0d52-4119-87c6-1fc37ed9395b",
"97157162-56eb-4374-8200-41b9b6004ca2",
"36e02d35-f6b4-4ccc-ae2f-b035ef02e0d6",
"83b35321-4a91-4e9f-a49b-66d718c32ba7",
"ad80a619-2b53-4f27-a4bd-56a316c15251",
"26dfaa98-5f15-4170-9fdc-94661c1a26c5",
"30b0e9bc-8c9f-42e2-91c5-62f04b7da3be",
"7359834e-c79c-4773-89ac-46befceb5f72",
"3a123b1c-8bdc-482c-9d12-c3e9e22ec4fd",
"152d527e-4e33-4ad4-b13b-1de643740cce",
"3e5b01a7-5856-461e-bde5-d8388b6d909c",
"25d0c9a8-8864-42bd-9ea1-6157fb688998",
"bbc7529f-72da-4df2-aff5-e139a5618ccb",
"b8674d32-af5f-4ef1-a5d8-fc5cbb56b795",
"b7121a49-8f17-4858-b988-4bd837a5f1fe",
"12de56ab-8e89-4281-ab44-403c7c7ecb00",
"90819566-3121-42af-bdb5-19cbef67cd31",
"be14916b-0068-4b49-b8d0-f9e528f3d10e",
"f99ba115-8278-4dba-a549-ab138fc20be0"
],
"end": 1758825390.359465,
"duration": 0.072039
}
]
{
"type": "_SearchResultResponse",
"results": [
{
"type": "Tag",
"id": "79ca27e5-93bb-43e6-a76b-096ea45e2e8e",
"data": {
"description": "Blue is one of the three primary colours in the RGB (additive) colour model, as well as in the RYB colour model (traditional colour theory).[2] It lies between violet and cyan on the spectrum of visible light. The term blue generally describes colours perceived by humans observing light with a dominant wavelength that's between approximately 450 and 495 nanometres. The clear daytime sky and the deep sea appear blue because of an optical effect known as Rayleigh scattering. An optical effect called the Tyndall effect explains blue eyes. Distant objects appear more blue because of another optical effect called aerial perspective.\n\nBlue has been an important colour in art and decoration since ancient times. The semi-precious stone lapis lazuli was used in ancient Egypt for jewellery and ornament and later, in the Renaissance, to make the pigment ultramarine, the most expensive of all pigments.[3] In the eighth century Chinese artists used cobalt blue to colour fine blue and white porcelain. In the Middle Ages, European artists used it in the windows of cathedrals. Europeans wore clothing coloured with the vegetable dye woad until it was replaced by the finer indigo from America. In the 19th century, synthetic blue dyes and pigments gradually replaced organic dyes and mineral pigments. Dark blue became a common colour for military uniforms and later, in the late 20th century, for business suits. Because blue has commonly been associated with harmony, it was chosen as the colour of the flags of the United Nations and the European Union.[4]\n\nIn the United States and Europe, blue is the colour that both men and women are most likely to choose as their favourite, with at least one recent survey showing the same across several other countries, including China, Malaysia, and Indonesia.[5][6] Past surveys in the US and Europe have found that blue is the colour most commonly associated with harmony, confidence, masculinity, knowledge, intelligence, calmness, distance, infinity, the imagination, cold, and sadness.[7]",
"created": "2025-09-25T18:35:26+00:00",
"updated": "2025-09-25T18:35:26+00:00",
"name": "blue",
"color": "#4363d8",
"scenario": "general.botanicExample",
"link": "https://en.wikipedia.org/wiki/Blue"
}
},
{
"type": "Plant",
"id": "d747bfe6-0d52-4119-87c6-1fc37ed9395b",
"data": {
"images": [
{
"description": "Anchusa capensis in the San Francisco Botanical Garden",
"imageLinkFull": "https://upload.wikimedia.org/wikipedia/commons/a/a6/Anchusa_capensis_kz1.jpg",
"imageLinkThumbnail": "https://upload.wikimedia.org/wikipedia/commons/thumb/a/a6/Anchusa_capensis_kz1.jpg/500px-Anchusa_capensis_kz1.jpg",
"link": "https://en.wikipedia.org/wiki/File:Anchusa_capensis_kz1.jpg"
}
],
"created": "2025-09-25T18:35:28+00:00",
"updated": "2025-09-25T18:35:28+00:00",
"name": "Cape Forget-me-not",
"scenario": "general.botanicExample",
"scientificName": "A. capensis",
"link": "https://en.wikipedia.org/wiki/Anchusa_capensis",
"description": "Anchusa capensis, is a species of flowering plant in the family Boraginaceae, native to Namibia, South Africa and Lesotho.[1][2] The genus Anchusa is from the Greek word anchousa, which makes reference to its use as a dye base for cosmetic paint obtained from the roots of another plant in the genus Anchusa tinctoria. The species capensis translates to \\u2018from the Cape\\u2019 referring to South Africa[3]\n\nA. capensis typically reaches about 60 cm (24 in) tall, and grows best in full sun.[4] In summer, red buds open to reveal small, bright cobalt blue flowers with five petals and five white scales protecting the stigma and anthers.[5]\n\nIn the US, it grows well in zones 8\\u201311.[6] Cultivars include 'Dawn', with white, pink, mauve and blue flowers, 'Blue Angel', with dark blue flowers, and 'Blue Bird', taller and with indigo blue flowers.[7]"
}
},
{
"type": "Taxon",
"id": "97157162-56eb-4374-8200-41b9b6004ca2",
"data": {
"description": "Boraginaceae, the borage or forget-me-not family, includes about 2,000 species of shrubs, trees, and herbs in 146 to 154 genera with a worldwide distribution.\n\nThe APG IV system from 2016 classifies the Boraginaceae as single family of the order Boraginales within the asterids. Under the older Cronquist system, it was included in the Lamiales, but clearly is no more similar to the other families in this order than it is to families in several other asterid orders. A revision of the Boraginales, also from 2016, split the Boraginaceae into 11 distinct families: Boraginaceae sensu stricto, Codonaceae, Coldeniaceae, Cordiaceae, Ehretiaceae, Heliotropiaceae, Hoplestigmataceae, Hydrophyllaceae, Lennoaceae, Namaceae, and Wellstediaceae.\n\nThese plants have alternately arranged leaves, or a combination of alternate and opposite leaves. The leaf blades usually have a narrow shape; many are linear or lance-shaped. They are smooth-edged or toothed, and some have petioles. Most species have bisexual flowers, but some taxa are dioecious. Most pollination is by hymenopterans, such as bees. Most species have inflorescences that have a coiling shape, at least when new, called scorpioid cymes. The flower has a usually five-lobed calyx. The corolla varies in shape from rotate to bell-shaped to tubular, but it generally has five lobes. It can be green, white, yellow, orange, pink, purple, or blue. There are five stamens and one style with one or two stigmas. The fruit is a drupe, sometimes fleshy.\n\nMost members of this family have hairy leaves. The coarse character of the hairs is due to cystoliths of silicon dioxide and calcium carbonate. These hairs can induce an adverse skin reaction, including itching and rash in some individuals, particularly among people who handle the plants regularly, such as gardeners. In some species, anthocyanins cause the flowers to change color from red to blue with age. This may be a signal to pollinators that a flower is old and depleted of pollen and nectar.",
"created": "2025-09-25T18:35:26+00:00",
"updated": "2025-09-25T18:35:26+00:00",
"name": "Boraginaceae",
"path": "/Plantae/Tracheophytes/Angiosperms/Eudicots/Asterids/Boraginales/Boraginaceae",
"scenario": "general.botanicExample",
"link": "https://en.wikipedia.org/wiki/Boraginaceae"
}
},
{
"type": "Taxon",
"id": "36e02d35-f6b4-4ccc-ae2f-b035ef02e0d6",
"data": {
"created": "2025-09-25T18:35:26+00:00",
"updated": "2025-09-25T18:35:26+00:00",
"name": "Dahlia",
"path": "/Plantae/Tracheophytes/Angiosperms/Eudicots/Asterids/Asterales/Asteraceae/Dahlia",
"scenario": "general.botanicExample",
"link": "https://en.wikipedia.org/wiki/Dahlia",
"description": "Dahlia (UK: /ˈdeɪliə/ DAY-lee-ə, US: /ˈdæljə, ˈdɑːljə, ˈdeɪljə/ DA(H)L-yə, DAYL-yə) is a genus of bushy, tuberous, herbaceous perennial plants native to Mexico and Central America. Dahlias are members of the Asteraceae (synonym name: Compositae) family of dicotyledonous plants, its relatives include the sunflower, daisy, chrysanthemum, and zinnia. There are 49 species of dahlia, with flowers in almost every hue (except blue), with hybrids commonly grown as garden plants.\n\nDahlias were known only to the Aztecs and other southern North American peoples until the Spanish conquest, after which the plants were brought to Europe. The tubers of some varieties are of medicinal and dietary value to humans because, in common with species of Inula and many other flowering plants, they use inulin, a polymer of the fruit sugar fructose, instead of starch as a storage polysaccharide."
}
},
{
"type": "Plant",
"id": "83b35321-4a91-4e9f-a49b-66d718c32ba7",
"data": {
"images": [
{
"description": "Mertensia virginica Virginia Bluebell seen in Brooklyn Botanic Garden",
"imageLinkFull": "https://upload.wikimedia.org/wikipedia/commons/3/31/Mertensia_virginica.bbg.jpg",
"imageLinkThumbnail": "https://upload.wikimedia.org/wikipedia/commons/thumb/3/31/Mertensia_virginica.bbg.jpg/960px-Mertensia_virginica.bbg.jpg",
"link": "https://en.wikipedia.org/wiki/File:Mertensia_virginica.bbg.jpg"
},
{
"description": "Virginia Bluebells along the Rocky River in Berea, OH. Photo by Geoffrey A. Landis",
"imageLinkFull": "https://upload.wikimedia.org/wikipedia/commons/6/6f/Virginia_Bluebells_at_Rocky_River.jpg",
"imageLinkThumbnail": "https://upload.wikimedia.org/wikipedia/commons/thumb/6/6f/Virginia_Bluebells_at_Rocky_River.jpg/960px-Virginia_Bluebells_at_Rocky_River.jpg",
"link": "https://en.wikipedia.org/wiki/File:Virginia_Bluebells_at_Rocky_River.jpg"
}
],
"created": "2025-09-25T18:35:28+00:00",
"updated": "2025-09-25T18:35:28+00:00",
"name": "Bluebell",
"scenario": "general.botanicExample",
"scientificName": "M. virginica",
"link": "https://en.wikipedia.org/wiki/Mertensia_virginica",
"description": "Mertensia virginica (common names Virginia bluebells,[1] Virginia cowslip,[2] lungwort oysterleaf, Roanoke bells) is a spring ephemeral plant in the Boraginaceae (borage) family with bell-shaped sky-blue flowers, native to eastern North America."
}
},
{
"type": "Plant",
"id": "ad80a619-2b53-4f27-a4bd-56a316c15251",
"data": {
"images": [
{
"description": "Jacarandas in New Farm Park October 2006",
"imageLinkFull": "https://upload.wikimedia.org/wikipedia/commons/f/f3/New_Farm_Park_Jacaranda-001%2B_%28273298097%29.jpg",
"imageLinkThumbnail": "https://upload.wikimedia.org/wikipedia/commons/thumb/f/f3/New_Farm_Park_Jacaranda-001%2B_%28273298097%29.jpg/960px-New_Farm_Park_Jacaranda-001%2B_%28273298097%29.jpg",
"link": "https://en.wikipedia.org/wiki/File:New_Farm_Park_Jacaranda-001%2B_(273298097).jpg"
},
{
"description": "Jacaranda tree in flower in Whakatāne, New Zealand",
"imageLinkFull": "https://upload.wikimedia.org/wikipedia/commons/b/b9/Jacaranda1212.jpg",
"imageLinkThumbnail": "https://upload.wikimedia.org/wikipedia/commons/thumb/b/b9/Jacaranda1212.jpg/960px-Jacaranda1212.jpg",
"link": "https://en.wikipedia.org/wiki/File:Jacaranda1212.jpg"
},
{
"description": "trees are in bloom in Cyprus",
"imageLinkFull": "https://upload.wikimedia.org/wikipedia/commons/6/6c/Jacaranda_mimosifolia_5334.jpg",
"imageLinkThumbnail": "https://upload.wikimedia.org/wikipedia/commons/thumb/6/6c/Jacaranda_mimosifolia_5334.jpg/960px-Jacaranda_mimosifolia_5334.jpg",
"link": "https://en.wikipedia.org/wiki/File:Jacaranda_mimosifolia_5334.jpg"
}
],
"created": "2025-09-25T18:35:28+00:00",
"updated": "2025-09-25T18:35:28+00:00",
"name": "Jacaranda",
"scenario": "general.botanicExample",
"scientificName": "J. mimosifolia",
"link": "https://en.wikipedia.org/wiki/Jacaranda_mimosifolia",
"description": "Jacaranda mimosifolia is a sub-tropical tree native to south-central South America that has been widely planted elsewhere because of its attractive and long-lasting violet-colored flowers. It is also known as the jacaranda, blue jacaranda, black poui, Nupur or fern tree. Older sources call it J. acutifolia, but modern authorities usually classify it as J. mimosifolia. In scientific usage, the name \"jacaranda\" refers to the genus Jacaranda, which has many other members, but in horticultural and everyday usage, it nearly always means the blue jacaranda.\n\nIn its native range in the wild, J. mimosifolia is listed as Vulnerable by the IUCN.[1]"
}
},
{
"type": "Plant",
"id": "26dfaa98-5f15-4170-9fdc-94661c1a26c5",
"data": {
"images": [
{
"description": "",
"imageLinkFull": "https://upload.wikimedia.org/wikipedia/commons/1/18/Eustoma_grandiflorum_purple_02.jpg",
"imageLinkThumbnail": "https://upload.wikimedia.org/wikipedia/commons/thumb/1/18/Eustoma_grandiflorum_purple_02.jpg/500px-Eustoma_grandiflorum_purple_02.jpg",
"link": "https://en.wikipedia.org/wiki/File:Eustoma_grandiflorum_purple_02.jpg"
}
],
"created": "2025-09-25T18:35:28+00:00",
"updated": "2025-09-25T18:35:28+00:00",
"name": "Prairie Gentian",
"scenario": "general.botanicExample",
"scientificName": "E. russellianum",
"link": "https://en.wikipedia.org/wiki/Eustoma_russellianum",
"description": "Eustoma russellianum is a species of flowering plant in the gentian family. One of its previous binomial names was Eustoma grandiflorum.[1] Common names include showy prairie gentian, prairie gentian, Texas bluebells, Texas bluebell, bluebell,[2] and Lisianthus.\n\nThere is a cultivar, 'Bolero Deep Blue'.[3]"
}
},
{
"type": "Taxon",
"id": "30b0e9bc-8c9f-42e2-91c5-62f04b7da3be",
"data": {
"description": "The genus Anchusa belongs to the borage family (Boraginaceae). It includes about 35 species found growing in Europe, North Africa, South Africa and Western Asia. They are introduced in the United States.\n\nThey consist of annual plants, biennial plants and perennial plants with the general characteristics of the borage family. They are commonly herbaceous. The leaves are simple or undulate, covered with stiff hairs.\n\nThe small radially symmetrical flowers are sapphire blue and retain their colour a long time. The plants show numerous flowers with five sepals, united at their bases, and five petals forming a narrow tube facing upwards. The flowers grow in several axillary cymes, simple or branched, or are clustered at the end. The flowers are much frequented by bees.\n\nThe genus Anchusa is commonly used in trough or rock gardens.\n\nThe roots of Anchusa (just like those of Alkanna and Lithospermum) contain anchusin (or alkanet-red), a red-brown resinoid colouring matter. It is insoluble in water, but soluble in alcohol, chloroform and ether.\n\nAnchusa species are used as food plants by the larvae of some Lepidoptera species including Coleophora pennella.",
"created": "2025-09-25T18:35:26+00:00",
"updated": "2025-09-25T18:35:26+00:00",
"name": "Anchusa",
"path": "/Plantae/Tracheophytes/Angiosperms/Eudicots/Asterids/Boraginales/Boraginaceae/Anchusa",
"scenario": "general.botanicExample",
"link": "https://en.wikipedia.org/wiki/Anchusa"
}
},
{
"type": "Taxon",
"id": "7359834e-c79c-4773-89ac-46befceb5f72",
"data": {
"description": "Actinotus is a genus of flowering plants in the family Apiaceae, subfamily Mackinlayoideae, with about 18 species. It is native to Australasia. Its best known member is the flannel flower, a common sight in Sydney bushland in the spring. The generic name, meaning \"furnished with rays\" is derived from the Greek stem aktin-/ακτιν- \"ray\" or \"sunbeam\".\n\nMost species are endemic to Australia with one from New Zealand. Other notable species are A. schwarzii from the Macdonnell Ranges in Central Australia, which closely resembles A. helianthi in appearance, and the rare pink-flowering A. forsythii from the Blue Mountains.\n\nThe genus was established by the French botanist Jacques Labillardière with his description of A. helianthi on page 67 of the first volume of his Novae Hollandiae Plantarum Specimen. However the habitat statement is anomalous and according to historian Edward Duyker Labillardière could not have collected the type specimen personally and might have received it from Jean-Baptiste Leschenault de La Tour botanist on the expedition of Nicolas Baudin or another early French visitor to New South Wales.\n\nIts closest relative is Apiopetalum from New Caledonia.",
"created": "2025-09-25T18:35:26+00:00",
"updated": "2025-09-25T18:35:26+00:00",
"name": "Actinotus",
"path": "/Plantae/Tracheophytes/Angiosperms/Eudicots/Asterids/Apiales/Apiaceae/Actinotus",
"scenario": "general.botanicExample",
"link": "https://en.wikipedia.org/wiki/Actinotus"
}
},
{
"type": "Taxon",
"id": "3a123b1c-8bdc-482c-9d12-c3e9e22ec4fd",
"data": {
"description": "Mertensia is a genus of flowering plants in the borage family Boraginaceae. They are perennial herbaceous plants with blue or sometimes white flowers that open from pink-tinged buds. Such a change in flower color is common in Boraginaceae and is caused by changes in soil pH. Mertensia is one of several plants that are commonly called \"bluebell\". In spite of their common name, the flowers are usually salverform (trumpet-shaped) rather than campanulate (bell-shaped).\n\nMertensia is native to most of North America and to a large part of Asia from western China to northeastern Russia. Its center of diversity is in the Rocky Mountains. Mertensia is mostly restricted to alpine, subalpine, and montane habitats. Notable exceptions are Mertensia maritima, a maritime plant of Arctic and subarctic coastlines, and Mertensia virginica, which is found from the Appalachian Mountains west to Minnesota, Iowa, and Missouri. Most of the species are endemic to very small areas of the Rocky Mountains.\n\nMertensia virginica has the largest flowers in the genus and is commonly cultivated. It is sparingly naturalized in Europe. About 12 other species are known in cultivation. The Inuit ate the rhizomes of Mertensia maritima.\n\nMany of the species of Mertensia are hard to distinguish and some are possibly cryptic. Around 150 species names have been published in Mertensia. Most authors have recognized about 45 species, but in 2014, the authors of a molecular phylogenetic study recommended the acceptance of at least 62.",
"created": "2025-09-25T18:35:26+00:00",
"updated": "2025-09-25T18:35:26+00:00",
"name": "Mertensia",
"path": "/Plantae/Tracheophytes/Angiosperms/Eudicots/Asterids/Boraginales/Boraginaceae/Mertensia",
"scenario": "general.botanicExample",
"link": "https://en.wikipedia.org/wiki/Mertensia"
}
},
{
"type": "Plant",
"id": "152d527e-4e33-4ad4-b13b-1de643740cce",
"data": {
"images": [
{
"description": "Mimosa, Silver Wattle",
"imageLinkFull": "https://upload.wikimedia.org/wikipedia/commons/8/82/Acacia_dealbata-1.jpg",
"imageLinkThumbnail": "https://upload.wikimedia.org/wikipedia/commons/thumb/8/82/Acacia_dealbata-1.jpg/500px-Acacia_dealbata-1.jpg",
"link": "https://en.wikipedia.org/wiki/File:Acacia_dealbata-1.jpg"
}
],
"created": "2025-09-25T18:35:28+00:00",
"updated": "2025-09-25T18:35:28+00:00",
"name": "Acacia",
"scenario": "general.botanicExample",
"scientificName": "A. dealbata",
"link": "https://en.wikipedia.org/wiki/Acacia_dealbata",
"description": "Acacia dealbata, commonly known as silver wattle, blue wattle or mimosa,[2] is a species of flowering plant in the legume family, Fabaceae and is endemic to south-eastern mainland Australia. It is a bushy shrub or spreading tree with smooth bark, bluish grey or silvery and glaucous bipinnate leaves, spherical heads of yellow to bright yellow flowers, and straight to slightly curved pods. The Wiradjuri people of New South Wales use the name giigandul for the species.[3]"
}
},
{
"type": "Tag",
"id": "3e5b01a7-5856-461e-bde5-d8388b6d909c",
"data": {
"created": "2025-09-25T18:35:26+00:00",
"updated": "2025-09-25T18:35:26+00:00",
"name": "navy",
"color": "#000075",
"scenario": "general.botanicExample",
"link": "https://en.wikipedia.org/wiki/Navy_blue",
"description": "Navy blue is a dark shade of the color blue. The name navy blue originally referred to the color of uniforms worn by officers in the British navy. In the late 18th century, the British Royal Navy adopted the color for its sailors' uniforms, partly due to the practical reason that dark colors were less prone to showing dirt and wear during long sea voyages. The color became so associated with naval service that it came to be known simply as \"navy blue.\""
}
},
{
"type": "Tag",
"id": "25d0c9a8-8864-42bd-9ea1-6157fb688998",
"data": {
"created": "2025-09-25T18:35:26+00:00",
"updated": "2025-09-25T18:35:26+00:00",
"name": "cyan",
"color": "#42d4f4",
"scenario": "general.botanicExample",
"link": "https://en.wikipedia.org/wiki/Cyan",
"description": "Cyan (/\\u02c8sa\\u026a.\\u0259n, -\\u00e6n/)[2][3][4] is the color between blue and green on the visible spectrum of light.[5][6] It is evoked by light with a predominant wavelength between 500 and 520 nm, between the wavelengths of green and blue.[7]\n\nIn the subtractive color system, or CMYK color model, which can be overlaid to produce all colors in paint and color printing, cyan is one of the primary colors, along with magenta and yellow. In the additive color system, or RGB color model, used to create all the colors on a computer or television display, cyan is made by mixing equal amounts of green and blue light. Cyan is the complement of red; it can be made by the removal of red from white. Mixing red light and cyan light at the right intensity will make white light. It is commonly seen on a bright, sunny day in the sky."
}
},
{
"type": "Tag",
"id": "bbc7529f-72da-4df2-aff5-e139a5618ccb",
"data": {
"description": "Brown is a color. It can be thought as a darker, and usually desaturated, shade of orange. In the CMYK color model used in printing and painting, brown is usually made by combining yellow, magenta, and black inks (these two last in a lesser amount).[4][5][6]\n\nIn the RGB color model used to project colors onto television screens and computer monitors, brown is the result of combining red light at low intensity, and green light at an even lower intensity, with blue light also being present in most shades of the color. The color brown is seen widely in nature, wood, soil, human hair color, eye color and skin pigmentation. Brown is the color of dark wood or rich soil.[7]\n\nIn the RYB color model, brown is made by mixing the three primary colors, red, yellow, and blue.\n\nAccording to public opinion surveys in Europe and the United States, brown is the least favorite color of the public; it is often associated with fecal matter, plainness, the rustic, although it does also have positive associations, including baking, warmth, wildlife, the autumn and music.",
"created": "2025-09-25T18:35:26+00:00",
"updated": "2025-09-25T18:35:26+00:00",
"name": "brown",
"color": "#9a6324",
"scenario": "general.botanicExample",
"link": "https://en.wikipedia.org/wiki/Brown"
}
},
{
"type": "Tag",
"id": "b8674d32-af5f-4ef1-a5d8-fc5cbb56b795",
"data": {
"description": "Purple is a color similar in appearance to violet light. In the RYB color model historically used in the arts, purple is a secondary color created by combining red and blue pigments. In the CMYK color model used in modern printing, purple is made by combining magenta pigment with either cyan pigment, black pigment, or both. In the RGB color model used in computer and television screens, purple is created by mixing red and blue light in order to create colors that appear similar to violet light. According to color theory, purple is considered a cool color.[1]\n\nPurple has long been associated with royalty, originally because Tyrian purple dye\\u2014made from the secretions of sea snails\\u2014was extremely expensive in antiquity.[2] Purple was the color worn by Roman magistrates; it became the imperial color worn by the rulers of the Byzantine Empire and the Holy Roman Empire, and later by Roman Catholic bishops. Similarly in Japan, the color is traditionally associated with the emperor and aristocracy.[3]\n\nAccording to contemporary surveys in Europe and the United States, purple is the color most often associated with rarity, royalty, luxury, ambition, magic, mystery, piety and spirituality.[4][5] When combined with pink, it is associated with eroticism, femininity, and seduction.[6]\nEtymology and definitions\n\nThe modern English word purple comes from the Old English purpul, which derives from Latin purpura, which, in turn, derives from the Greek \\u03c0\\u03bf\\u03c1\\u03c6\\u03cd\\u03c1\\u03b1 (porphura),[7] the name of the Tyrian purple dye manufactured in classical antiquity from a mucus secreted by the spiny dye-murex snail.[8][9] The first recorded use of the word purple dates to the late 900s AD.[8]",
"created": "2025-09-25T18:35:26+00:00",
"updated": "2025-09-25T18:35:26+00:00",
"name": "purple",
"color": "#911eb4",
"scenario": "general.botanicExample",
"link": "https://en.wikipedia.org/wiki/Purple"
}
},
{
"type": "Tag",
"id": "b7121a49-8f17-4858-b988-4bd837a5f1fe",
"data": {
"created": "2025-09-25T18:35:26+00:00",
"updated": "2025-09-25T18:35:26+00:00",
"name": "lavender",
"color": "#dcbeff",
"scenario": "general.botanicExample",
"link": "https://en.wikipedia.org/wiki/Lavender_(color)",
"description": "Lavender is a light shade of purple or violet. It applies particularly to the color of the flower of the same name. The web color called lavender is displayed adjacent\\u2014it matches the color of the palest part of the flower; however, the more saturated color shown as floral lavender more closely matches the average color of the lavender flower as shown in the picture and is the tone of lavender historically and traditionally considered lavender by average people as opposed to website designers.[3] The color lavender might be described as a medium purple, a pale bluish purple,[4] or a light pinkish-purple. The term lavender may be used in general to apply to a wide range of pale, light, or grayish-purples, but only on the blue side; lilac is pale purple on the pink side. In paints, the color lavender is made by mixing purple and white paint."
}
},
{
"type": "Tag",
"id": "12de56ab-8e89-4281-ab44-403c7c7ecb00",
"data": {
"description": "Magenta (/m\\u0259\\u02c8d\\u0292\\u025bnt\\u0259/) is a purple-red color.[2][3] On color wheels of the RGB (additive) and CMY (subtractive) color models, it is located precisely midway between blue and red. It is one of the four colors of ink used in color printing by most color printers, along with yellow, cyan, and black to make all the other colors. The tone of magenta used in printing, printer's magenta, is redder than the magenta of the RGB (additive) model, the former being closer to rose.\n\nMagenta took its name from an aniline dye made and patented in 1859 by the French chemist Fran\\u00e7ois-Emmanuel Verguin, who originally called it fuchsine. It was renamed to celebrate the French-Sardinian victory under French Emperor Napoleon III at the Battle of Magenta against the larger army of the Austrian Empire on 4 June 1859 near the Italian town of Magenta, at the time in Austria. This battle was decisive in liberating Italy from Austrian domination.[4][5]\n\nA virtually identical color, called roseine, was created in 1860 by two British chemists, Edward Chambers Nicholson, and George Maule.\n\nThe web color magenta is also called fuchsia.",
"created": "2025-09-25T18:35:26+00:00",
"updated": "2025-09-25T18:35:26+00:00",
"name": "magenta",
"color": "#f032e6",
"scenario": "general.botanicExample",
"link": "https://en.wikipedia.org/wiki/Magenta"
}
},
{
"type": "Tag",
"id": "90819566-3121-42af-bdb5-19cbef67cd31",
"data": {
"description": "White is the lightest color[2] and is achromatic (having no chroma). It is the color of objects such as snow, chalk, and milk, and is the opposite of black. White objects fully (or almost fully) reflect and scatter all the visible wavelengths of light. White on television and computer screens is created by a mixture of red, blue, and green light. The color white can be given with white pigments, especially titanium dioxide.[3]\n\nIn ancient Egypt and ancient Rome, priestesses wore white as a symbol of purity, and Romans wore white togas as symbols of citizenship. In the Middle Ages and Renaissance a white unicorn symbolized chastity, and a white lamb sacrifice and purity. It was the royal color of the kings of France as well as the flag of monarchist France from 1815 to 1830, and of the monarchist movement that opposed the Bolsheviks during the Russian Civil War (1917\\u20131922). Greek temples and Roman temples were faced with white marble, and beginning in the 18th century, with the advent of neoclassical architecture, white became the most common color of new churches, capitols, and other government buildings, especially in the United States. It was also widely used in 20th century modern architecture as a symbol of modernity and simplicity.\n\nAccording to surveys in Europe and the United States, white is the color most often associated with perfection, the good, honesty, cleanliness, the beginning, the new, neutrality, and exactitude.[4] White is an important color for almost all world religions. The pope, the head of the Roman Catholic Church, has worn white since 1566, as a symbol of purity and sacrifice. In Islam, and in the Shinto religion of Japan, it is worn by pilgrims. In Western cultures and in Japan, white is the most common color for wedding dresses, symbolizing purity and virginity. In many Asian cultures, white is also the color of mourning.[5]",
"created": "2025-09-25T18:35:26+00:00",
"updated": "2025-09-25T18:35:26+00:00",
"name": "white",
"color": "#ffffff",
"scenario": "general.botanicExample",
"link": "https://en.wikipedia.org/wiki/White"
}
},
{
"type": "Tag",
"id": "be14916b-0068-4b49-b8d0-f9e528f3d10e",
"data": {
"description": "Yellow is the color between green and orange on the spectrum of light. It is evoked by light with a dominant wavelength of roughly 575\\u2013585 nm. It is a primary color in subtractive color systems, used in painting or color printing. In the RGB color model, used to create colors on television and computer screens, yellow is a secondary color made by combining red and green at equal intensity. Carotenoids give the characteristic yellow color to autumn leaves, corn, canaries, daffodils, and lemons, as well as egg yolks, buttercups, and bananas. They absorb light energy and protect plants from photo damage in some cases.[3] Sunlight has a slight yellowish hue when the Sun is near the horizon, due to atmospheric scattering of shorter wavelengths (green, blue, and violet).\n\nBecause it was widely available, yellow ochre pigment was one of the first colors used in art; the Lascaux cave in France has a painting of a yellow horse 17,000 years old. Ochre and orpiment pigments were used to represent gold and skin color in Egyptian tombs, then in the murals in Roman villas.[4] In the early Christian church, yellow was the color associated with the Pope and the golden keys of the Kingdom, but it was also associated with Judas Iscariot and used to mark heretics. In the 20th century, Jews in Nazi-occupied Europe were forced to wear a yellow star. In China, bright yellow was the color of the Middle Kingdom, and could be worn only by the emperor and his household; special guests were welcomed on a yellow carpet.[5]\n\nAccording to surveys in Europe, Canada, the United States and elsewhere, yellow is the color people most often associate with amusement, gentleness, humor, happiness, and spontaneity; however it can also be associated with duplicity, envy, jealousy, greed, justice, and, in the U.S., cowardice.[6] In Iran it has connotations of pallor/sickness,[7] but also wisdom and connection.[8] In China and many Asian countries, it is seen as the color of royalty, nobility, respect, happiness, glory, harmony and wisdom.[9]",
"created": "2025-09-25T18:35:26+00:00",
"updated": "2025-09-25T18:35:26+00:00",
"name": "yellow",
"color": "#ffe119",
"scenario": "general.botanicExample",
"link": "https://en.wikipedia.org/wiki/Yellow"
}
},
{
"type": "Tag",
"id": "f99ba115-8278-4dba-a549-ab138fc20be0",
"data": {
"description": "Green is the color between cyan and yellow on the visible spectrum. It is evoked by light which has a dominant wavelength of roughly 495\\u2013570 nm. In subtractive color systems, used in painting and color printing, it is created by a combination of yellow and cyan; in the RGB color model, used on television and computer screens, it is one of the additive primary colors, along with red and blue, which are mixed in different combinations to create all other colors. By far the largest contributor to green in nature is chlorophyll, the chemical by which plants photosynthesize and convert sunlight into chemical energy. Many creatures have adapted to their green environments by taking on a green hue themselves as camouflage. Several minerals have a green color, including the emerald, which is colored green by its chromium content.\n\nDuring post-classical and early modern Europe, green was the color commonly associated with wealth, merchants, bankers, and the gentry, while red was reserved for the nobility. For this reason, the costume of the Mona Lisa by Leonardo da Vinci and the benches in the British House of Commons are green while those in the House of Lords are red.[1] It also has a long historical tradition as the color of Ireland and of Gaelic culture. It is the historic color of Islam, representing the lush vegetation of Paradise. It was the color of the banner of Muhammad, and is found in the flags of nearly all Islamic countries.[2]\n\nIn surveys made in American, European, and Islamic countries, green is the color most commonly associated with nature, life, health, youth, spring, hope, and envy.[3] In the European Union and the United States, green is also sometimes associated with toxicity and poor health,[4] but in China and most of Asia, its associations are very positive, as the symbol of fertility and happiness.[3] Because of its association with nature, it is the color of the environmental movement. Political groups advocating environmental protection and social justice describe themselves as part of the Green movement, some naming themselves Green parties. This has led to similar campaigns in advertising, as companies have sold green, or environmentally friendly, products. Green is also the traditional color of safety and permission; a green light means go ahead, a green card permits permanent residence in the United States.",
"created": "2025-09-25T18:35:26+00:00",
"updated": "2025-09-25T18:35:26+00:00",
"name": "green",
"color": "#3cb44b",
"scenario": "general.botanicExample",
"link": "https://en.wikipedia.org/wiki/Green"
}
}
],
"debug": [
{
"input": {
"type": "elasticsearch-query-dsl-mixin",
"query": {
"bool": {
"should": [
{
"match": {
"name": {
"query": "blue",
"fuzziness": "AUTO",
"boost": 10
}
}
},
{
"match": {
"description": {
"query": "blue"
}
}
}
],
"minimum_should_match": 1
}
},
"parameters": {
"stepResults": []
}
},
"step-handler": "elasticsearch-query-dsl-mixin (App\\EventSystem\\SearchStep\\EventListener\\ElasticsearchQueryDslMixinSearchStepEventListener)",
"start": 1758825390.227822,
"indices": "*",
"combinedQuery": {
"_source": [
"_id"
],
"from": 0,
"size": 25,
"query": {
"bool": {
"must": [
{
"bool": {
"should": [
{
"match": {
"name": {
"query": "blue",
"fuzziness": "AUTO",
"boost": 10
}
}
},
{
"match": {
"description": {
"query": "blue"
}
}
}
],
"minimum_should_match": 1
}
},
{
"bool": {
"should": [
{
"terms": {
"_groupsWithSearchAccess.keyword": []
}
},
{
"term": {
"_usersWithSearchAccess.keyword": {
"value": "7baba8b7-a6bb-4184-9a9a-925a4d2736b0"
}
}
}
],
"minimum_should_match": 1
}
}
]
}
}
},
"end": 1758825390.287255,
"duration": 0.059433
},
{
"input": {
"type": "element-hydration",
"query": null,
"parameters": {
"stepResults": [
{
"elements": [
{
"id": "79ca27e5-93bb-43e6-a76b-096ea45e2e8e",
"type": "Tag",
"metadata": {
"score": 26.933556
}
},
{
"id": "d747bfe6-0d52-4119-87c6-1fc37ed9395b",
"type": "Plant",
"metadata": {
"score": 4.160383
}
},
{
"id": "97157162-56eb-4374-8200-41b9b6004ca2",
"type": "Taxon",
"metadata": {
"score": 3.3504083
}
},
{
"id": "36e02d35-f6b4-4ccc-ae2f-b035ef02e0d6",
"type": "Taxon",
"metadata": {
"score": 3.3171558
}
},
{
"id": "83b35321-4a91-4e9f-a49b-66d718c32ba7",
"type": "Plant",
"metadata": {
"score": 3.2498505
}
},
{
"id": "ad80a619-2b53-4f27-a4bd-56a316c15251",
"type": "Plant",
"metadata": {
"score": 3.1922612
}
},
{
"id": "26dfaa98-5f15-4170-9fdc-94661c1a26c5",
"type": "Plant",
"metadata": {
"score": 3.038499
}
},
{
"id": "30b0e9bc-8c9f-42e2-91c5-62f04b7da3be",
"type": "Taxon",
"metadata": {
"score": 2.9056842
}
},
{
"id": "7359834e-c79c-4773-89ac-46befceb5f72",
"type": "Taxon",
"metadata": {
"score": 2.9056842
}
},
{
"id": "3a123b1c-8bdc-482c-9d12-c3e9e22ec4fd",
"type": "Taxon",
"metadata": {
"score": 2.5851276
}
},
{
"id": "152d527e-4e33-4ad4-b13b-1de643740cce",
"type": "Plant",
"metadata": {
"score": 2.5810764
}
},
{
"id": "3e5b01a7-5856-461e-bde5-d8388b6d909c",
"type": "Tag",
"metadata": {
"score": 1.5008786
}
},
{
"id": "25d0c9a8-8864-42bd-9ea1-6157fb688998",
"type": "Tag",
"metadata": {
"score": 1.3131481
}
},
{
"id": "bbc7529f-72da-4df2-aff5-e139a5618ccb",
"type": "Tag",
"metadata": {
"score": 1.113173
}
},
{
"id": "b8674d32-af5f-4ef1-a5d8-fc5cbb56b795",
"type": "Tag",
"metadata": {
"score": 0.9764628
}
},
{
"id": "b7121a49-8f17-4858-b988-4bd837a5f1fe",
"type": "Tag",
"metadata": {
"score": 0.87871504
}
},
{
"id": "12de56ab-8e89-4281-ab44-403c7c7ecb00",
"type": "Tag",
"metadata": {
"score": 0.818965
}
},
{
"id": "90819566-3121-42af-bdb5-19cbef67cd31",
"type": "Tag",
"metadata": {
"score": 0.6451281
}
},
{
"id": "be14916b-0068-4b49-b8d0-f9e528f3d10e",
"type": "Tag",
"metadata": {
"score": 0.6129052
}
},
{
"id": "f99ba115-8278-4dba-a549-ab138fc20be0",
"type": "Tag",
"metadata": {
"score": 0.5838508
}
}
],
"totalHits": 20,
"maxScore": 26.933556
}
]
}
},
"step-handler": "element-hydration (App\\EventSystem\\SearchStep\\EventListener\\ElementHydrationSearchStepEventListener)",
"start": 1758825390.287426,
"accessibleElementIds": [
"79ca27e5-93bb-43e6-a76b-096ea45e2e8e",
"d747bfe6-0d52-4119-87c6-1fc37ed9395b",
"97157162-56eb-4374-8200-41b9b6004ca2",
"36e02d35-f6b4-4ccc-ae2f-b035ef02e0d6",
"83b35321-4a91-4e9f-a49b-66d718c32ba7",
"ad80a619-2b53-4f27-a4bd-56a316c15251",
"26dfaa98-5f15-4170-9fdc-94661c1a26c5",
"30b0e9bc-8c9f-42e2-91c5-62f04b7da3be",
"7359834e-c79c-4773-89ac-46befceb5f72",
"3a123b1c-8bdc-482c-9d12-c3e9e22ec4fd",
"152d527e-4e33-4ad4-b13b-1de643740cce",
"3e5b01a7-5856-461e-bde5-d8388b6d909c",
"25d0c9a8-8864-42bd-9ea1-6157fb688998",
"bbc7529f-72da-4df2-aff5-e139a5618ccb",
"b8674d32-af5f-4ef1-a5d8-fc5cbb56b795",
"b7121a49-8f17-4858-b988-4bd837a5f1fe",
"12de56ab-8e89-4281-ab44-403c7c7ecb00",
"90819566-3121-42af-bdb5-19cbef67cd31",
"be14916b-0068-4b49-b8d0-f9e528f3d10e",
"f99ba115-8278-4dba-a549-ab138fc20be0"
],
"end": 1758825390.359465,
"duration": 0.072039
}
]
}
Access-Control-Allow-Headers: *
Access-Control-Allow-Methods: GET, HEAD, POST, OPTIONS, PUT, PATCH, DELETE, PROPFIND, PROPPATCH, MKCOL, COPY, MOVE, LOCK, UNLOCK
Access-Control-Allow-Origin: *
Access-Control-Expose-Headers: ETag, Location
Allow: GET, HEAD, POST, OPTIONS, PUT, PATCH, DELETE, PROPFIND, PROPPATCH, MKCOL, COPY, MOVE, LOCK, UNLOCK
Cache-Control: no-cache, private
Content-Type: application/json; charset=utf-8
Date: Thu, 11 Sep 2025 20:23:41 GMT
Transfer-Encoding: chunked
X-Powered-By: Ember Nexus API

Any element which has the word “blue” in its name or its description is returned.
Elements which mention the word “blue” in both their name and description have a higher score, and are usually sorted towards the beginning of the response collection.