Uhhh, this is really dangerous. If you’ve indexed documents
since upgrading, some were indexed with multiValued=false. Now
you’ve changed the definition at a fundamental Lucene level and
Things Can Go Wrong.
You’re OK if (and only if) you have indexed _no_ documents since
you upgraded.
But
It worked. I just added multiValued="true".
Thanks for all your help.
Regards,
Anuj
On Fri, 25 Sep 2020 at 18:08, Alexandre Rafalovitch
wrote:
> Ok, something is definitely not right. In those cases, I suggest
> checking backwards from hard reality. Just in case the file you
Ok, something is definitely not right. In those cases, I suggest
checking backwards from hard reality. Just in case the file you are
looking at is NOT the one that is actually used when collection is
actually setup. Happened to me more times than I can count.
Point your Admin UI to the collection
Schema on both are the same
Regards,
Anuj
On Thu, 24 Sep 2020 at 18:58, Alexandre Rafalovitch
wrote:
> These are field definitions for _text_ and text, your original
> question was about the fields named "country"/"currency" and whatever
> type they mapped to.
>
> Your text/_t
These are field definitions for _text_ and text, your original
question was about the fields named "country"/"currency" and whatever
type they mapped to.
Your text/_text_ field is not actually returned to the browser,
because it is "stored=false", so it is most likely a catch-all
copyField destina
In both it is the same
In Solr 8.0.0
In Solr 8.6.2
On Thu, 24 Sep 2020 at 18:33, Alexandre Rafalovitch
wrote:
> I think that means your field went from multiValued to singleValued.
> Double check your schema. Remember that multiValued flag can be set
> both on the field itself and on its fie
I think that means your field went from multiValued to singleValued.
Double check your schema. Remember that multiValued flag can be set
both on the field itself and on its fieldType.
Regards,
Alex
P.s. However if your field is supposed to be single-valued, maybe you
should treat it as a featur
In solr 8.0.0 when running the query the data (type="text_general") was
shown in brackets *[ ]*
"country":*[*"IN"*]*,
"currency":*[*"INR"*]*,
"date_c":"2020-08-23T18:30:00Z",
"est_cost":0,
However, in solr 8.6.2 the query the data (type="text_general") is not
showing in brackets [ ]
"country":"IN"