Significant terms expression giving error "length needs to be >= 1"

2021-02-15 Thread ufuk yılmaz
We have a SolrCloud cluster, version 8.4 At the customer’s site there’s a collection with very few documents, around 12. We usually have collections with hundreds of millions of documents, so that collection is a bit of an exception. When I send a significantTerms streaming expression it immedi

Your ZK connection string (3 hosts) is different

2021-02-15 Thread Gell-Holleron, Daniel
Hello there, I've installed Solr 8.7.0 on 3 servers that are using 3 ZooKeeper servers, which are running on version 3.6.2. These are all running on a Windows OS. After running upconfigs to the ZooKeeper servers and starting Solr up, it all seems to be running ok. However I see an issue when I

Re: SolrJ: SolrInputDocument.addField()

2021-02-15 Thread Steven White
Hi Shawn, Yes, I have managed schema enabled like so: true cp-schema.xml The reason why I enabled it is so that I can dynamically customize the schema based on what's in the DB. So that I can add fields to the schema dynamically. I didn't know about the field "guessing" part. No

Re: SolrJ: SolrInputDocument.addField()

2021-02-15 Thread Shawn Heisey
On 2/15/2021 6:52 AM, Steven White wrote: It looks to me that SolrInputDocument.addField() is either missnamed or isn't well implemented. When it is called on a field that doesn't exist in the schema, it will create that field and give it a type based on the data. Not only that, it will set def

Re: SolrJ: SolrInputDocument.addField()

2021-02-15 Thread Steven White
Thanks Shawn. It looks to me that SolrInputDocument.addField() is either missnamed or isn't well implemented. When it is called on a field that doesn't exist in the schema, it will create that field and give it a type based on the data. Not only that, it will set default values. For example, th

Re: Elevation in dataDir in Solr Cloud

2021-02-15 Thread Mónica Marrero
Of course, here is the full stack trace (collection 'techproducts' with just one core to make it easier): org.apache.solr.common.SolrException: Unable to reload core [techproducts2_shard1_replica_n1] at org.apache.solr.core.CoreContainer.reload(CoreContainer.java:1472) at org.apac