Re: Slow build and startup of tests in intellij

2025-04-08 Thread Colvin Cowie
2023.2.1, OpenJDK Java 21.0.5). I haven't hit > any of those additional hurdles you mentioned. > > Maybe it's something particular to your IntelliJ or Java version? If > you share those maybe that'd help someone either reproduce or offer a > workaround? > >

Slow build and startup of tests in intellij

2025-04-07 Thread Colvin Cowie
Hello all, While writing smoke tests for the v2 API I've noticed that the spin up time of the tests in intellij with gradle is quite slow, making it hard to iterate rapidly. Even without making any changes, there's about 30-40 seconds of gradle build before they start running. And it's maybe doubl

Re: [DISCUSS] SIP-16: Polish and Prepare v2 APIs for v1 Deprecation

2025-02-11 Thread Colvin Cowie
Just to say, I've been writing a smoke test for the v2 APIs when I've had a spare hour, I've done about half of it https://github.com/apache/solr/pull/3023/files I've found three b

Re: v2 COLLECTIONPROP API - HK2 service reification failed for [org.apache.solr.handler.admin.api.CollectionProperty] with an exception

2025-01-10 Thread Colvin Cowie
look for non-failure). Maybe a > > single > > > test class smoke testing all of v2. Maybe should be in "bats" > actually. > > > > > > On Thu, Jan 9, 2025 at 4:24 AM Colvin Cowie < > colvin.cowie@gmail.com> > > > wrote: > > > &g

Re: v2 COLLECTIONPROP API - HK2 service reification failed for [org.apache.solr.handler.admin.api.CollectionProperty] with an exception

2025-01-09 Thread Colvin Cowie
gt; Maybe we should reconsider the testing strategy here, and try to > ensure that all v2 APIs are called in at least one test. > > Best, > > Jason > > On Wed, Jan 8, 2025 at 10:25 AM Colvin Cowie > wrote: > > > > Hello, I'm trying to use the v2 > > >

v2 COLLECTIONPROP API - HK2 service reification failed for [org.apache.solr.handler.admin.api.CollectionProperty] with an exception

2025-01-08 Thread Colvin Cowie
Hello, I'm trying to use the v2 https://solr.apache.org/guide/solr/latest/deployment-guide/collection-management.html#collectionprop API. v1 works fine, but v2 fails with a glassfish error. I won't paste the full stacktrace here because it's mostly noise. I assume it's because org.apache.solr.hand

Re: Storing application metadata for a collection? / APIs to read properties and configuration

2025-01-08 Thread Colvin Cowie
I'm not entirely familiar with that "auto-created" configSet, but I think I see what you mean. If your configuration is all within a collection specific overlay you wouldn't even need to delete a config set, you would just delete the collection (or possibly the overlay), so would entirely avoid th

Storing application metadata for a collection? / APIs to read properties and configuration

2025-01-07 Thread Colvin Cowie
Hello, I'm revisiting something that I did a long time ago, and looking to tidy things up but I think I need to add at least one bit of API to do it (unless there's a different way to go). I've got an application which indexes to Solr, and it records some metadata for each collection - e.g. the l

CVE-2024-45216, Solr 9.7 and Windows

2024-10-17 Thread Colvin Cowie
Hello, Given that the fix for the two recent CVEs on Solr 9 is provided in Solr 9.7.0, and Solr 9.7.0 doesn't work on Windows https://issues.apache.org/jira/browse/SOLR-17457 - I was just wondering what the likely ETA for a 9.7.1 or 9.8.0 release is? Cheers Colvin

Special characters in variables and delayed expansion on Windows

2024-03-05 Thread Colvin Cowie
Hello. Does anyone know enough about Windows batch to say what's right or wrong when it comes to delayed expansion? I know enough to be dangerous, in a "hit it till it works" approach, but I don't know enough to confidently say what the right answer is. Someone came to me with a problem where they

Re: Welcome Colvin Cowie as Solr committer

2023-02-14 Thread Colvin Cowie
8 PM Gus Heck wrote: > > > Welcome Colvin :). > > > > On Mon, Feb 13, 2023 at 6:21 PM Jan Høydahl > wrote: > > > > > Hi all, > > > > > > I'm pleased to announce that Colvin Cowie has accepted the PMC's > > > invitatio

Circular task dependency in gradle

2023-01-27 Thread Colvin Cowie
Hello, I just cloned main from https://github.com/apache/solr/commit/1135fdfd7c49ff7ef23513ab01b4ee36ffc14f8f and to test that everything was working, before I start making changes, I ran *gradlew tidy updateLicenses check -x test* just to see that everything would pass https://github.com/apache/s

Re: JAX-RS APIs in Solr

2022-08-09 Thread Colvin Cowie
that the OpenAPI definitions and > documentation is all done inline with the code using @Tag and @Operaton > annotations, and there is no drift. You can then generate the OpenAPI spec > JSON from code to do (client) code generation. Swagger UI comes for free in > the app itself with a simple d

Re: JAX-RS APIs in Solr

2022-08-09 Thread Colvin Cowie
I spent the first few months of this year adopting OpenAPI 3 spec in our product, which has a fairly large API. We previously generated a Swagger 1.0 spec from our Java code, now we're generating our POJOs and JAX-RS endpoints from the OA3 spec. Aside from needing to get off outdated Swagger 1 to

Re: [RESULT] [VOTE] Release Lucene/Solr 8.11.2 RC2

2022-06-23 Thread Colvin Cowie
I don't know if someone was already taking care of it, but I've created a PR for updating the docker image to 8.11.2: https://github.com/docker-solr/docker-solr/pull/426 On Wed, 22 Jun 2022 at 08:36, Colvin Cowie wrote: > It's there now, thanks > > On Tue, 21 Jun 2022 at

Re: [RESULT] [VOTE] Release Lucene/Solr 8.11.2 RC2

2022-06-22 Thread Colvin Cowie
n Tue, Jun 21, 2022 at 9:47 AM Colvin Cowie > wrote: > >> Thanks! >> >> On Tue, 21 Jun 2022 at 16:31, Shawn Heisey wrote: >> >>> On 6/21/2022 8:22 AM, Colvin Cowie wrote: >>> > Hello, I see 8.11.2 is on the mirrors and in maven central, but &

Re: [RESULT] [VOTE] Release Lucene/Solr 8.11.2 RC2

2022-06-21 Thread Colvin Cowie
Thanks! On Tue, 21 Jun 2022 at 16:31, Shawn Heisey wrote: > On 6/21/2022 8:22 AM, Colvin Cowie wrote: > > Hello, I see 8.11.2 is on the mirrors and in maven central, but > > there's not yet been a release announcement on > > https://solr.apache.org/news.html etc. Is

Re: [RESULT] [VOTE] Release Lucene/Solr 8.11.2 RC2

2022-06-21 Thread Colvin Cowie
Hello, I see 8.11.2 is on the mirrors and in maven central, but there's not yet been a release announcement on https://solr.apache.org/news.html etc. Is that coming? Thanks On Fri, 17 Jun 2022 at 23:24, Mike Drob wrote: > > It's been >72h since the vote was initiated and the result is: > > +1

Re: [ANNOUNCE] Apache Solr 9.0.0 released

2022-05-12 Thread Colvin Cowie
Super minor point, but on a small screen (I.e mobile) the title on the ref guide gets squashed and goes off the screen: https://drive.google.com/file/d/1FfOifKk5EZfEOK-hcv5KgEsU4ct41iaX/view?usp=drivesdk But overall the new guide is great On Thursday, 12 May 2022, Gus Heck wrote: > +1 for uwe'