Re: Solr 8.6.2 text_general

2020-09-25 Thread Erick Erickson
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

Re: Solr 8.6.2 text_general

2020-09-25 Thread Anuj Bhargava
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

Re: Solr 8.6.2 text_general

2020-09-25 Thread Alexandre Rafalovitch
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

Re: Solr 8.6.2 text_general

2020-09-25 Thread Anuj Bhargava
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

Re: Solr 8.6.2 text_general

2020-09-24 Thread Alexandre Rafalovitch
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

Re: Solr 8.6.2 text_general

2020-09-24 Thread Anuj Bhargava
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

Re: Solr 8.6.2 text_general

2020-09-24 Thread Alexandre Rafalovitch
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

Solr 8.6.2 text_general

2020-09-24 Thread Anuj Bhargava
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"