Whatever analysis chain you're using to turn your source data and/or queries into a normalised form is stripping out the decimal point. https://solr.apache.org/guide/solr/latest/indexing-guide/document-analysis.html explains how this works and https://solr.apache.org/guide/solr/latest/indexing-guide/analysis-screen.html will show what is actually happening in your index.

Cheers

Charlie

On 14/05/2024 21:04, Kemberli Holmes wrote:
Hello,

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 using Solr 7.2.1.


Thanks,

Kem

--
Charlie Hull - Managing Consultant at OpenSource Connections Limited
Founding member of The Search Network and co-author of Searching the Enterprise
tel/fax: +44 (0)8700 118334
mobile: +44 (0)7767 825828

OpenSource Connections Europe GmbH | Pappelallee 78/79 | 10437 Berlin
Amtsgericht Charlottenburg | HRB 230712 B
Geschäftsführer: John M. Woodell | David E. Pugh
Finanzamt: Berlin Finanzamt für Körperschaften II

Reply via email to