Solr and Keycloak?

2021-11-03 Thread Eric Pugh
Has anyone gone through integrating Solr with Keycloak? I’m trying to figure out how to map the Keycloak response back to what Solr needs to figure out the user. Here is my security.json: https://github.com/querqy/chorus/blob/75f153b699855e6e2862900bd4413764f7b6a01e/solr/security.json

First cross-join faceting after a commit is slow

2021-11-03 Thread Andy Lester
I’m on Solr 8.10.1 and having a performance problem with my cross-core join facets. Here’s my basic query, with the interesting parts bolded (the joins in two facet.query fields) curl "$URL" --silent --show-error \ -X POST \ -F "q=($word AND -parent_tracings:($word))" \ -F 'df=titl

tomcat integration?

2021-11-03 Thread cmarkwood
Hello, I've never used Solr but successfully ran Exercise 1 here: https://solr.apache.org/guide/8_10/solr-tutorial.html I don't see how to integrate a Solr search with my existing website (.war deployed to Tomcat 8.5). It looks like there are major changes in Solr 8 and I don't see a .war file

Re: tomcat integration?

2021-11-03 Thread Furkan KAMACI
Hi, Here is an explanation about it: https://cwiki.apache.org/confluence/display/SOLR/WhyNoWar Kind Regards, Furkan KAMACI On Wed, Nov 3, 2021 at 10:21 PM cmarkwood wrote: > Hello, > I've never used Solr but successfully ran Exercise 1 here: > https://solr.apache.org/guide/8_10/solr-tutorial.h

Re: Solr and Keycloak?

2021-11-03 Thread Jan Høydahl
Try to add "rolesClaim" to JWTAuthPlugin to tell it which JWT claim to use a role. E.g. if you pick the claim "roles", then your user would have the roles=[profile, email]. So try to map the role "email" to the "all" permission, and your requests should be allowed. Jan > 3. nov. 2021 kl. 13:2

Is there a way to set max segment count for builtin merge policy?

2021-11-03 Thread Michael Conrad
Is there a way to set max segment count for builtin merge policy? I'm having a serious issue where I'm trying to reindex 75 million documents and the segment count skyrockets with associated significant drop in performance. To the point we start getting lots of timeouts. Is there a way to set

Re: tomcat integration?

2021-11-03 Thread cmarkwood
I see, thanks. So I need to write a query client, and (JSON) parser for the response. On Wednesday, November 3, 2021, 03:23:44 PM EDT, Furkan KAMACI wrote: On Wednesday, November 3, 2021, 03:23:44 PM EDT, Furkan KAMACI wrote: Hi, Here is an explanation about it:  https://cwiki.

Re: tomcat integration?

2021-11-03 Thread Michael Conrad
I recommend using the SolrJ client libs for the client war. On 11/3/21 15:50, cmarkwood wrote: I see, thanks. So I need to write a query client, and (JSON) parser for the response. On Wednesday, November 3, 2021, 03:23:44 PM EDT, Furkan KAMACI wrote: On Wednesday, November 3, 202

Re: Solr and Keycloak?

2021-11-03 Thread Eric Pugh
It’s all working! I still need to try out the “rolesClaim” below. If you want to see what I did, check out the PR https://github.com/querqy/chorus/pull/63 Thanks Jan and Tim for the help! Eric > On Nov 3, 2021, at 3:43 PM, Jan Høydahl wrote:

Re: Child doc question

2021-11-03 Thread Stephen Lewis Bianamara
Hi Folks, Going to give this one more shot. Is there anyone out there who understands child docs well enough to answer this basic question? Thanks, Stephen On Fri, Oct 29, 2021 at 2:56 PM Stephen Lewis Bianamara < stephen.bianam...@gmail.com> wrote: > Hi SOLR Community, > > Still hoping for hel

Re: Is there a way to set max segment count for builtin merge policy?

2021-11-03 Thread Shawn Heisey
On 11/3/2021 1:44 PM, Michael Conrad wrote: Is there a way to set max segment count for builtin merge policy? I'm having a serious issue where I'm trying to reindex 75 million documents and the segment count skyrockets with associated significant drop in performance. To the point we start gett