Re: Rule-Based permissions for cores

2020-08-31 Thread Dominique Bejean
Hi, It looks like this issue I opened a long time ago. https://issues.apache.org/jira/browse/SOLR-13097 Regards Dominique Le lun. 31 août 2020 à 23:02, Thomas Corthals a écrit : > Hi, > > I'm trying to configure the Rule-Based Authorization Plugin in Solr 8.4.0 > in standalone mode. My goal

Rule-Based permissions for cores

2020-08-31 Thread Thomas Corthals
Hi, I'm trying to configure the Rule-Based Authorization Plugin in Solr 8.4.0 in standalone mode. My goal is to limit a user's access to one or more designated cores. My security.json looks like this: { "authentication":{ "blockUnknown":true, "class":"solr.BasicAuthPlugin",

Child query with negative filter return zero documents

2020-08-31 Thread Marvin Bredal Lillehaug
Hi! We have documents with one level of child documents. One use case we have is returning (or getting stats for) child documents, filtering by field values on both the child and the parent. This works for «must» filter on parent: q= *:* fq=doc_type:child fq=child_field:child_field_value

What is the Best way to block certain types of queries/ query patterns in Solr?

2020-08-31 Thread Mark Robinson
Hi, I had come across a mail (Oct, 2019 one) which suggested the best way is to handle it before it reaches Solr. I was curious whether:- 1. Jetty query filter can be used (came across something like that,, need to check) 2. Any new features in Solr itself (like in a request handler...or

Solr waits too long for connect after editing solr.in.sh

2020-08-31 Thread maciejpregiel
Good afternoon. In Solr 8.6 Guide, in chapter "Securing Solr", there is section "Enable IP Access Control". Here I can theoretically uncomment and edit content of solr.in.sh commands: SOLR_IP_WHITELIST, SOLR_IP_BLACKLIST. When I did this, launching local Solr server takes too much time (over 30

Re: How to Prevent Recovery?

2020-08-31 Thread Dominique Bejean
Hi, Even if it is not the root cause, I suggest to try to respect some basic best practices and so not have "2 Zk running on the same nodes where Solr is running". Maybe you can achieve this by just stopping these 2 Zk (and move them later). Did you increase ZK_CLIENT_TIMEOUT to 3 ? Did you