Hi all,
Currently, we run Solr on a test server and use it during our integration
tests for Spring Batch Jobs. This server needs to be maintained and
make sure solr is up and running while executing test cases. For the
database connections, we use H2 in-memory DB, which works well because it's
fas
Two options:
* For integration tests that use Solr "externally" start a Solr Docker
container using TestContainers (e.g.
https://opensourceconnections.com/blog/2021/03/01/adding-integration-tests-to-a-solr-plugin-project/
)
* For integration tests that need to spin up SolrCloud but also need to
hav
For in-process tests developers use
https://github.com/apache/solr/blob/5fafabdb13d62b2d590f7602b7720042e5f3a3db/solr/test-framework/src/java/org/apache/solr/cloud/SolrCloudTestCase.java#L83
it might be a possible approach.
Also you may experiment RAMDirectoryFactory in solrconfig.xml
On Fri, Jul
Hi
Thanks for suggestions, will check these
*Thanks & Regards,*
*Uday Kumar*
*Product Search Tech*
On Fri, Jul 11, 2025, 14:08 Matthias Krüger <
mkrue...@opensourceconnections.com> wrote:
> Two options:
> * For integration tests that use Solr "externally" start a Solr Docker
> container using Te
Hi Mikhail,
Thank you so much for getting back to me.
From what I understand these two are libs are being used in the codebase and
removing them would cause an error while building.
Would it be possible for you to suggest me an optimal way to import for the
solr and then it can be build?
Thanks
On Fri, Jul 11, 2025 at 12:36 PM Mikhail Khludnev wrote:
> I suggested removing repositories, not libs.
> Regarding Restlet, it either will be found via maven central or it needs
> https://maven.restlet.talend.com/ is specified as a repository.
>
>
> On Fri, Jul 11, 2025 at 11:08 AM Gupta, Ankur