read-only Collection

2020-08-05 Thread Bertrand Mahé
Hi all,

We are using SOLR 8.6.0 and we put the "read-only" parameter on a SOLRCLOUD
collection with 3 replicas. Here is the error message we have following a
problem on one of the SOLR nodes:

Error while trying to
recover:org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException
: Error from server at http://10.10.10.10:8983/solr/test_shard1_replica_n1:
Collection test is read-only.

If the collection is read-only we could avoid the recovery checks and
restart faster. What do you think?

Thanks,

Bertrand





Query facet syntax with escaped char

2019-07-05 Thread Bertrand Mahé
Hello,

I have a collection containing a field called text defined as below in the
schema.xml file:
  
  

Here is an example of text: "pam_unix(cron:session): session closed for user
root"

I want to know the number of documents containing the expression "session
closed".

Below the request I use and which returns 0 documents:
 
http://10.1.1.1:8983/solr/collection/select?q=*:*&wt=json&rows=0&indent=true
&facet.threads=-1&json.facet={"column0":{"type":"query","q":"text:*session\%
20closed*"}}

But I am sure I have matching documents because the following request
returns 184 documents:
http://10.1.1.1:8983/solr/collection/select?q=text:*session%5C%20closed*&wt=
json&rows=50&indent=true

Any idea?

Thanks

Bertrand




Solr - zoo with more than 1000 collections

2018-06-29 Thread Bertrand Mahé
Hi,

 

In order to store timeseries data and perform deletion easily, we create a
several collections per day and then use aliases.

 

We are using SOLR 7.3 and we have 2 questions:

 

Q1 : In order to access quickly the latest data would it be possible to load
cores in descending chronological order rather than alphabetical order?

 

Q2: When we exceed 1200-1300 collections, zookeeper suddenly changes from
6-700 KB RAM to 3 GB RAM which makes zoo very slow or almost unusable. Is
this normal?

 

Thanks in advance,

 

Bertrand