Re: Solr equivalent of relational joins on nested documents

2021-04-22 Thread Timothy Potter
Might take a look at the domain join stuff in JSON facets too: https://solr.apache.org/guide/8_8/json-faceting-domain-changes.html#join-query-domain-changes ... I've seen this work where you index a common ID field in each document (different document types in the same collection each having a comm

Re: Solr equivalent of relational joins on nested documents

2021-05-04 Thread Timothy Potter
Did you try routing all docs for the same customer ID to the same shard (not block join), just docs of different types in the same shard based on customer ID and then using Joins? On Tue, May 4, 2021 at 4:06 AM Alain Rogister wrote: > > It sounds like nobody knows. Just one last try. Up ! > > Tx

Re: Migration from NRT to TLOG performance issues

2021-06-11 Thread Timothy Potter
Hi Nick, What does your response time look like if you use shards.preference=replica.type:PULL,replica.location:local as a query parameter? Basically route all queries to PULL replicas only. LMK Tim On Fri, Jun 11, 2021 at 6:55 AM Nick Vladiceanu wrote: > > hello, > I’m facing some performance

Re: Migration from NRT to TLOG performance issues

2021-06-14 Thread Timothy Potter
Hi Nick, Thank you for following up with your results! If you lose the leader, there are 5 other TLOG replicas ready to take its place and they should be in-sync with the leader, so no docs would be lost. Although they are not flushed to disk in the index (because the autoCommit hasn't fired), th

Re: Cloudsolrclient.getclusterstateprovider - returns incorrect base_url [http instead of https] - Urgent pls help

2021-07-21 Thread Timothy Potter
Does your `solrURL` value you're passing to `CloudSolrClient.Builder` start with `https`? On Wed, Jul 21, 2021 at 10:12 AM Reej Nayagam wrote: > > Hi All, > > I still face the same issue. Anyone had this issue before? > Im making client connection as below, > CloudSolrClinet client = new CloudSol

Re: Getting 401 Unauthorized HTTP errors when trying to create collection with async flag

2021-08-03 Thread Timothy Potter
I tried reproducing this with a checkout of 8.9.0 to no avail but found another issue (SOLR-15575). From the stack trace you supplied, the PKI Authentication Plugin should be supplying the internal server identity for the ShardRequestor call and in my env (once I fixed 15575) my quick hack test cas

Re: need help on using date in where clause

2021-08-03 Thread Timothy Potter
Hi Yaswanth, I tried your query in a quick unit test and there's a problem here even on main. I'll get this fixed for 8.10. That timestamp string looks like a valid ISO-8601 timestamp to me. Which version of Solr are you using? As a work-around, you could try: WHERE addedon >= CAST('2021-07-13

Re: Cloudsolrclient.getclusterstateprovider - returns incorrect base_url [http instead of https] - Urgent pls help

2021-08-16 Thread Timothy Potter
Hi Reej, I finally tracked down the issue you're facing, see: https://issues.apache.org/jira/browse/SOLR-15587 Will get this fixed in 8.10 Cheers, Tim On Thu, Jul 22, 2021 at 6:23 PM Reej Nayagam wrote: > > Thanks Vincenzo D'Amore & Shawn > Hi Ours is a legacy system using EJB, no maven or gra

[ANNOUNCE] Apache Solr 8.10.0 released

2021-09-28 Thread Timothy Potter
The Solr PMC is pleased to announce the release of Apache Solr 8.10.0. Solr is the popular, blazing fast, open source NoSQL search platform from the Apache Lucene project. Its major features include powerful full-text search, hit highlighting, faceted search, dynamic clustering, database integrati

Re: dataimport only works with curl

2021-11-04 Thread Timothy Potter
Please use your browser's debug console to capture the request the UI is sending ... On Thu, Nov 4, 2021 at 9:45 AM Scott Derrick wrote: > > If I send the following command using curl the data import works as expected > > curl > 'http://localhost:8983/solr/mbepp/update/tei?command=full-import&

Re: Solr & Kubernetes - how to configure the liveness

2021-11-12 Thread Timothy Potter
Some things to consider ... If one out of many Solr cores is down on a pod, I would not want Kubelet to restart my Solr pod (if liveness probe fails) or even remove it from the load-balancer service (if readiness probe fails) because the pod can still serve traffic for the healthy cores. Requiring

Re: Solr & Kubernetes - how to configure the liveness

2021-11-12 Thread Timothy Potter
ealth port: 8983 readinessProbe: httpGet: path: /admin/info/health port: 8983 On Fri, Nov 12, 2021 at 11:11 AM Timothy Potter wrote: > > Some things to consider ... > > If one out of many Solr cores is down on a pod, I would not want > Kubelet to restart my Solr pod (if live

Re: Permission "all" does not include security-edit

2021-11-30 Thread Timothy Potter
Hi Isabelle, Yes, this is a bug in the security UI only (not the backend), specifically right here: https://github.com/apache/solr/blob/main/solr/webapp/web/js/angular/controllers/security.js#L344. Please file a JIRA as a minor (since there's an easy work-around); I'm not sure what the right solut

Re: Read-only user in solr not working as expected

2021-12-16 Thread Timothy Potter
Try adding the "all" permission with the "admin" role assigned (in the last position in the permission list). Having all explicitly defined (and last) will cover all other permissions that aren't explicitly defined in your config. On Wed, Dec 15, 2021 at 2:05 AM Martin Schober wrote: > > Dear sol

Re: null pointer exception for solr package management v8.11.0

2021-12-16 Thread Timothy Potter
Does passing the -zkHost option to the package command help? On Thu, Dec 16, 2021 at 10:52 AM andrew goh wrote: > > hi all, > > I'm a newbie to solr, need some help. > > While i'm trying to use solr 8.11.0. after starting solr with > bin/solr -Denable.packages=true > > All the commands with pack

Re: How to update solr.xml in kubernetes stateful set?

2021-12-22 Thread Timothy Potter
I think it would be great if you could switch to using the Solr operator. It supports loading a custom solr.xml from a ConfigMap (and restarting Solr pods if the ConfigMap changes). The operator provides a common approach for running Solr on Kubernetes and is maintained by Solr committers. If you c

Re: Memory and thread leak using SolrJ

2022-02-17 Thread Timothy Potter
SolrClient implements Closable which means it needs to be closed when you're done with it or you leak resources. On Thu, Feb 17, 2022 at 6:47 PM Steven White wrote: > > Hi everyone, > > I wanted to follow up on this topic, thank everyone for your feedback and > share with you what fixed my issue