Hi Kem,
Each field in your schema will have an associated type. It might be
useful to look at some of the examples supplied with Solr to understand
in more depth how this works, or go through the tutorials
https://solr.apache.org/guide/solr/latest/getting-started/solr-tutorial.html
There's also some training available for Solr - I wrote about this here:
https://opensourceconnections.com/blog/2023/02/14/how-to-train-a-search-team-and-what-does-it-cost/
Cheers
Charlie
On 15/05/2024 23:24, Kemberli Holmes wrote:
Hi Charlie,
Thanks for your response. I am reading over the material you recommended.
I am a novice to Solr. There are several analysis chains defined in my
schema.xml. They all have a fieldType name that starts with "text". How
can I tell which one is being used?
Thanks,
Kem
On Wed, May 15, 2024, 8:05 AM Charlie Hull <ch...@opensourceconnections.com>
wrote:
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
--
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