Hello,
I am using elasticsearch to query a database of product numbers. Unfortunately, when I enter a part number like GC720, it appears at the bottom of the list of first page results. How can I get the exact match to appear at the top of my search results?
The search engine can be viewed at https://www.fire-parts.com/pages/fireplace-information-manual-database-online#/?query=&page=1&per=30
Here is my query:
query: {
bool: {
must: {
multi_match: {
query: "GC720",
fields: ['product_name^3', 'fireplace_manufacturer_name', 'file_name'],
zero_terms_query: "all"
}
}
}
}