We are running ColdFusion 2021 and were looking for some help with Solr and number searches. When users search for a number such as 23019, decimals such as 230.19 are returned. Another example is a search on 3373. A file with 33.73 was returned. We would like to only get results that have that exact number in it—23019 or 3373. Can you help us with the configuration? A third example is a search on 901 is returning files with 90.1 in it. But we just want hits that say 901.
We are running Solr 7.2.1.
I tried reaching out to ColdFusion support. They advised me that I need to make updates to the Solr configuration. I’m pretty sure we need to update the schema.xml but I’m not sure what to change.
Kemberli Holmes is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.