Hi Andy,
Many thanks for your quick reply.
Yes, you are right. According to the webpage of Solr 8.5, I should not edit
"managed-schema". However, when I create the new core (bin/solr create -c
newcore), I only can find managed-schema in server/solr/newcore/conf
folder, and am not able to find schem
Also it doesn't make sense to use the StopFilterFactory or
SynonymGraphFilterFactory filters in conjunction with the
KeywordTokenizerFactor, so these should be removed from the fieldType
definition (personally I would never make use of the StopFilterFactory,
except in specialized situations).
- An
How are you changing the managed-schema? I have never used the managed
schema feature myself, but according to the documentation (
https://solr.apache.org/guide/8_5/overview-of-documents-fields-and-schema-design.html#solrs-schema-file)
it should never be directly edited. Not sure how it is supposed
Hi Andy,
Loads of thanks for your reply. I am trying to figure out my problem by
following your advice.
I have installed Solr (8.5) on my computer and added 4 documents into
a core.
In the 4 documents, staffName_txt field has been set to "Lindmar Deborah",
"Mr Kenyon John", " Saab Jerry" and "Gr
The behavior of the range query would depend on how the fieldType used by
the staffName_txt is configured.
I believe you will find that TextField is not the fieldType, but the base
class your fieldType is implemented on.
To use an example from one of the provided example schemas, the "_text"
fiel
Many thanks for your reply. I have changed my query to
staffName_txt:["GROSS BOB" TO "LINDMAR DEBORAH"]
staffName_txt:["gross bob" TO "lindmar deborah"]
staffName_txt:["Gross Bob" TO "lindmar Deborah"]
Their "numFound" are identical (177). Apart from "Mr Kenyon John", my
search result contains " Sa
My guess is inconsistent "character case" (uppercase/lowercase) in your
indexed data vs your search query. For example, I would expect something
like staffName_txt:[ "Gross Bob" TO "lindmar Deborah"] to return "Mr
Kenyon John" as M indeed does lie between G and l.
On Fri, Jan 7, 2022 at 11:10 A