Re: Authentication problems

2023-04-04 Thread MEXANIK
Jan, Hi!! I have such a problem that out of 5 collections, 2 of them can be read using the john_sl user with admin_x accesses. But if the "admin_rwx" accesses are taken away from the "admin" user, then the john_sl user will not be able to read 2 collections previously available for reading ... How

Re: Authentication problems

2023-04-04 Thread Jan Høydahl
I think the way forward here is to create a minimal re-production example for others to try. Ideally using a setup with basic auth, you could help us reproduce with a script like this: Copy my-security.json into current folder bin/solr start -c (or using docker) solr create -c coll1 solr create

Date Range Facet sort order

2023-04-04 Thread Thomas Redman
I am using the SolrJ Json facet API to retrieve a facet on a range of date. DateFacet df = (DateFacet)f; RangeFacetMap rfm = new RangeFacetMap(df.getField(), df.getStartDate(), df.getEndDate(), df.getSpan().getKeyword()) .setMinCount

Solr post, update "quiet" mode (warnings, errors only)?

2023-04-04 Thread Victoria Stuart (VictoriasJourney.com)
When I post to / update my Solr core is there a quiet (errors, warnings) only mode? I use the CLI / terminal, e.g. (illustration, here) ... solr-core-8.11.1.jar -Dauto=yes -Dbasicauth=***:*** \ -Durl=MYCORE/update -Dc=MYCORE \ -Ddata=files org.apache.solr.util.SimplePostTool

Query on Solr and ZK ports

2023-04-04 Thread HariBabu kuruva
Hi All, I could see the solr process is Listening on 7981 port along with the normal solr port(8981). It is shown as DSTOP PORT , when I grep solr process. Could you please give more details on this port, Can we disable this ? With regards to Zookeeper I could see port 8080 as a ZK admin port, Ho

Re: Solr post, update "quiet" mode (warnings, errors only)?

2023-04-04 Thread Victoria Stuart (VictoriasJourney.com)
... never mind; I'll just "tee" the output to a file and grep for errors, warnings. == - Original Message(s): - Subject: Solr post, update "quiet" mode (warnings, errors only)? When I post to / update my Solr cor

Re: SOLR 9.2.0 cluster basic authentication with http2 solr client

2023-04-04 Thread Shawn Heisey
On 4/4/23 00:11, Andrei Minin wrote: protected SolrClient getSolrClient(String baseUrl) { return new Http2SolrClient.Builder(baseUrl).withHttpClient(httpClient).build(); } That's not good. This patch would fix it: https://paste.elyograg.org/view/456026f5 A similar patch would be n

Re: SOLR 9.2.0 cluster basic authentication with http2 solr client

2023-04-04 Thread Tomás Fernández Löbbe
> Looking at the code in CloudHttp2SolrClient on main, branch_9x, and > branch_9_2, the effective result of these two different options appear > to be identical, the only difference being that the clientIsInternal > boolean is false for the first option and true for the second. I would > not expec

Re: SOLR 9.2.0 cluster basic authentication with http2 solr client

2023-04-04 Thread Tomás Fernández Löbbe
Yes, good catch Andrei! Mind filing a Jira issue? On Tue, Apr 4, 2023 at 10:46 AM Shawn Heisey wrote: > On 4/4/23 00:11, Andrei Minin wrote: > > protected SolrClient getSolrClient(String baseUrl) { > > return new > Http2SolrClient.Builder(baseUrl).withHttpClient(httpClient).build(); > >

Re: Date Range Facet sort order

2023-04-04 Thread Chris Hostetter
: I see no way to change the sort order to index (I want the output in : date order), I get results sorted on the count. I have tried adding the : sort field like so: This ... doesn't make sense. AFAIK "index" order (or more specifically: The "natural order" of the bucket values) is the on

Re: SOLR 9.2.0 cluster basic authentication with http2 solr client

2023-04-04 Thread Andrei Minin
Ticket created: https://issues.apache.org/jira/browse/SOLR-16737 Thank you for supporting, Andrei Minin | Principal Developer Intellective ami...@intellective.com www.intellective.com Follow us on LinkedIn | Twitt