Re: multiValued=false is not working in Solr 6.4 in RHEL/CentOS

2017-07-20 Thread Erick Erickson
The key is removing the entire data directory as in "rm -rf solr_core/data" with Solr down then restarting Solr. Or create a new core. It's most probably working on Windows because the schema was set with multiVauled=false when you indexed your first document. Best, Erick On Thu, Jul 20, 2017

Re: multiValued=false is not working in Solr 6.4 in RHEL/CentOS

2017-07-20 Thread prashantas
I am not running solr in cloud mode. On Thu, Jul 20, 2017 at 4:40 PM, Shawn Heisey-2 [via Lucene] < ml+s472066n4346954...@n3.nabble.com> wrote: > On 7/20/2017 2:30 AM, prashantas wrote: > > I am using solr6.4. In my managed-schema, I have defined my field > details. > > None of my fields are mult

Re: multiValued=false is not working in Solr 6.4 in RHEL/CentOS

2017-07-20 Thread Shawn Heisey
On 7/20/2017 2:30 AM, prashantas wrote: > I am using solr6.4. In my managed-schema, I have defined my field details. > None of my fields are multiValued. If I set property multiValued=false , it > works fine in Windows, but in CentOS/RHEL, it does not accept the same and > the field still shows mul

Re: multiValued=false is not working in Solr 6.4 in RHEL/CentOS

2017-07-20 Thread Amrit Sarkar
By saying: I am just adding multiValued=false in the managed-schema file. Are you modifying in the local filesystem "conf" or going into the core conf directory and changing there? If you are SolrCloud, you should change the same on Zookeeper.

Re: multiValued=false is not working in Solr 6.4 in RHEL/CentOS

2017-07-20 Thread alessandro.benedetti
Assuming the service solr service restart does its job, I think the only thing I would do is to completely remove the data directory content, instead of just running the delete query. Bare in mind that when you delete a document in Solr, this is marked as deleted, but it takes potentially a while

Re: multiValued=false is not working in Solr 6.4 in RHEL/CentOS

2017-07-20 Thread prashantas
I am just adding multiValued=false in the managed-schema file. Then deleting the complete data by running the command curl http://localhost:8983/solr/Schools/update?commit=true -d '*:*' where 'Schools' is my core name. Then restart the solr by "service solr restart" And then import the csv fi

Re: multiValued=false is not working in Solr 6.4 in RHEL/CentOS

2017-07-20 Thread alessandro.benedetti
I doubt it is an environment problem at all. How are you modifying your schema ? How you reloading your core/collection ? Are you restarting your Solr instance ? Regards - --- Alessandro Benedetti Search Consultant, R&D Software Engineer, Director Sease Ltd. - www.sease.io -- Vi