Solr Cloud Query when one of the Solr instances goes down

2020-09-03 Thread Tyrone Tse
I have setup the example Solr Cloud that comes with the built in Zoo Keeper that runs on localhost:9993. I created my Solr Cloud instance with 2 nodes. Node 1 url is http://localhost:8983/solr/#/~cloud Node 2 url is http://localhost:7574/solr/#/~cloud Currently all Solr queries go through Node 1

Re: Setting

2020-07-21 Thread Tyrone Tse
the interval, > the less work you’ll do opening new searchers, which is a rather expensive > operation. I like > 5-10 minutes if possible, but your app may require shorter intervals. > > Then don’t send any commit settings in your SolrJ program at all. > > Best, > Erick > >

Setting

2020-07-21 Thread Tyrone Tse
I am using Solr 8.5 cloud, and in my collection I have edited the solrconfig.xml file to use 1000 and commented out the default configuration We are using SolrJ to post files to the Solr here is the snippet of Java code that does it try(HttpSolrClient solrClient = solr.build

Re: Error with Solr Suggester using lookupIml = FreeTextLookupFactory

2019-11-06 Thread Tyrone Tse
2019 at 3:11 PM Tyrone Tse wrote: > What's the command to build it > > > On Wed, Nov 6, 2019 at 3:06 PM Mikhail Khludnev wrote: > >> Hello, >> >> Have you build suggester before requesting? >> >> On Wed, Nov 6, 2019 at 12:50 PM Tyrone Tse

Re: Error with Solr Suggester using lookupIml = FreeTextLookupFactory

2019-11-06 Thread Tyrone Tse
What's the command to build it On Wed, Nov 6, 2019 at 3:06 PM Mikhail Khludnev wrote: > Hello, > > Have you build suggester before requesting? > > On Wed, Nov 6, 2019 at 12:50 PM Tyrone Tse wrote: > > > Solr version 8.1.1 > > > > My schema >

Error with Solr Suggester using lookupIml = FreeTextLookupFactory

2019-11-06 Thread Tyrone Tse
Solr version 8.1.1 My schema solconfig.xml mySuggester FreeTextLookupFactory DocumentDictionaryFactory suggest 3 text_en_splitting false tru

Re: Sample JWT Solr configuration

2019-09-19 Thread Tyrone Tse
cal.add(Calendar.MINUTE,60); Date expDate = cal.getTime(); String jws = Jwts.builder(). setSubject("admin") .setAudience("Solr") .setExpiration(expDate) .signWith(SignatureAl

Re: JWT Auth plugin (https://github.com/cominvent/solr-auth-jwt) for Solr 7.2 Errors

2019-09-13 Thread Tyrone Tse
I only copied the 2 jars - jwt-auth-1.0.0.jar - jose4j-0.6.3.jar to the $SOLR_HOME/lib folder, to install the code for the https://github.com/cominvent/solr-auth-jwt plugin On Fri, Sep 13, 2019 at 11:55 AM Shawn Heisey wrote: > On 9/13/2019 10:30 AM, Tyrone Tse wrote: >

JWT Auth plugin (https://github.com/cominvent/solr-auth-jwt) for Solr 7.2 Errors

2019-09-13 Thread Tyrone Tse
I am testing the JWT Auth plugin from https://github.com/cominvent/solr-auth-jwt as my project is using Solr 7.2. I downloaded the master branch for the code, and I built the jwt-auth-1.0.0.jar with the mvn package command. I then copied the jar to my $SOLR_HOME/lib/ I also downloaded the jose4

Re: Sample JWT Solr configuration

2019-09-12 Thread Tyrone Tse
"alg": "HS256", "typ": "JWT" } Payload { "sub": "admin", "name": "admin", "iat": 1516239022 } What other parameters do I need to add to the security.json file to secure Solr 7.2 ? I don't want any

Re: Sample JWT Solr configuration

2019-09-10 Thread Tyrone Tse
Høydahl wrote: > Please check the error message in solr.log on the server side and paste > that here. Could be a bug 🕷 > > Jan Høydahl > > > 10. sep. 2019 kl. 18:51 skrev Tyrone Tse : > > > > Jan using https://mkjwk.org/ > > I generated the following JWK >

Re: Sample JWT Solr configuration

2019-09-10 Thread Tyrone Tse
Jan using https://mkjwk.org/ I generated the following JWK { "kty": "oct", "use": "sig", "kid": "solr", "k": "pIpVnjhuAj9DBg8e2lwya7o_uZMM3Wqo2eK0uchOza0vBS-orZNYTkLcHTLXF9JaCBR08tWfFEWVPENF6sXKuaj8Mn65Kc3QUmS-csblVvjj69dXk2Mi-Zs2iDDM3QyyvdiyRpfxE-xKwwjhU47xs7M0Dq69I1UE5nrFkczLf9qe3b47ha