diff --git a/automatic/solr/README.md b/automatic/solr/README.md deleted file mode 100644 index 1a43d8b8..00000000 --- a/automatic/solr/README.md +++ /dev/null @@ -1,42 +0,0 @@ -# ![Apache Solr](https://cdn.jsdelivr.net/gh/pauby/ChocoPackages@70dea0b/icons/solr.png "Apache Solr Logo") [Syncthing](https://chocolatey.org/packages/solr) - -Solr is a standalone enterprise search server with a REST-like API. You put documents in it (called "indexing") via JSON, XML, CSV or binary over HTTP. You query it via HTTP GET and receive JSON, XML, CSV or binary results. - -## Features - -- Advanced Full-Text Search Capabilities -- Optimized for High Volume Traffic -- Standards Based Open Interfaces - XML, JSON and HTTP -- Comprehensive Administration Interfaces -- Easy Monitoring -- Highly Scalable and Fault Tolerant -- Flexible and Adaptable with easy configuration -- Near Real-Time Indexing -- Extensible Plugin Architecture -- Schema when you want, schemaless when you don't -- Powerful Extensions -- Faceted Search and Filtering -- Geospatial Search -- Advanced Configurable Text Analysis -- Highly Configurable and User Extensible Caching -- Performance Optimizations -- Secure Solr with SSL, Authentication and Role based Authorization -- Advanced Storage Options (codecs, directories and more) -- Monitorable Logging -- Query Suggestions, Spelling and More -- JSON, CSV, XML and more are supported out of the box. -- Rich Document Parsing via Apache Tika -- Integrates into Apache UIMA -- Multiple search indices - -See more at [features page](https://lucene.apache.org/solr/features.html) - -## Package Parameters - -- `/InstallDir` - Install/unpack to a custom location. Chocolatey will remove files from this custom location on uninstall but **WILL NOT** upgrade files in this custom location without using the `/InstallDir` parameter again. - -## Notes - -- **This software in this package _requires_ a minimum of version 11 of a Java Runtime Engine. It will not work without one.** As there are so many flavours of Java I leave it to you to choose the one your prefer. My current recommendation is [Temurin](https://community.chocolatey.org/packages/Temurinjre) if you don't already have one installed. See the [Solr Java Requirements](https://solr.apache.org/guide/solr/latest/deployment-guide/system-requirements.html#java-requirements) for more information. -- The Solr binaries are extracted to the `solr-` folder of the local tools folder (by default `c:\tools` - see [`Get-ToolsLocation`](https://docs.chocolatey.org/en-us/create/functions/get-toolslocation) for more information). This is consistent with previous versions. -- **NOTE**: This is an automatically updated package. If you find it is out of date by more than a week, please contact the maintainer(s) and let them know the package is no longer updating correctly. \ No newline at end of file diff --git a/automatic/solr/solr.nuspec b/automatic/solr/solr.nuspec deleted file mode 100644 index 3a47ba33..00000000 --- a/automatic/solr/solr.nuspec +++ /dev/null @@ -1,107 +0,0 @@ - - - - - - - - - - - - - - - - solr - - - - 9.0.0 - https://github.com/pauby/chocopackages/tree/master/automatic/solr - - pauby, Miodrag Milic - - - - Apache Solr - The Apache Software Foundation - - https://lucene.apache.org/solr/ - https://cdn.jsdelivr.net/gh/pauby/ChocoPackages@70dea0b/icons/solr.png - 2022 The Apache Software Foundation - - http://www.apache.org/licenses/LICENSE-2.0 - false - https://github.com/apache/lucene-solr - https://lucene.apache.org/solr/guide - https://lucene.apache.org/solr/community.html - https://issues.apache.org/jira/projects/SOLR/issues - admin indexing search cross-platfrom - Solr is the popular, blazing-fast, open source enterprise search platform built on Apache Lucene. - Solr is a standalone enterprise search server with a REST-like API. You put documents in it (called "indexing") via JSON, XML, CSV or binary over HTTP. You query it via HTTP GET and receive JSON, XML, CSV or binary results. - -## Features - -- Advanced Full-Text Search Capabilities -- Optimized for High Volume Traffic -- Standards Based Open Interfaces - XML, JSON and HTTP -- Comprehensive Administration Interfaces -- Easy Monitoring -- Highly Scalable and Fault Tolerant -- Flexible and Adaptable with easy configuration -- Near Real-Time Indexing -- Extensible Plugin Architecture -- Schema when you want, schemaless when you don't -- Powerful Extensions -- Faceted Search and Filtering -- Geospatial Search -- Advanced Configurable Text Analysis -- Highly Configurable and User Extensible Caching -- Performance Optimizations -- Secure Solr with SSL, Authentication and Role based Authorization -- Advanced Storage Options (codecs, directories and more) -- Monitorable Logging -- Query Suggestions, Spelling and More -- JSON, CSV, XML and more are supported out of the box. -- Rich Document Parsing via Apache Tika -- Integrates into Apache UIMA -- Multiple search indices - -See more at [features page](https://lucene.apache.org/solr/features.html) - -## Package Parameters - -- `/InstallDir` - Install/unpack to a custom location. Chocolatey will remove files from this custom location on uninstall but **WILL NOT** upgrade files in this custom location without using the `/InstallDir` parameter again. - -**NOTE**: This is an automatically updated package. If you find it is out of date by more than a week, please contact the maintainer(s) and let them know the package is no longer updating correctly. - - https://solr.apache.org/docs/9_1_0/changes/Changes.html - - - - - - - - - - - - - - - - - - - - diff --git a/automatic/solr/tools/.skipAutoUninstall b/automatic/solr/tools/.skipAutoUninstall deleted file mode 100644 index e69de29b..00000000 diff --git a/automatic/solr/tools/chocolateyUninstall.ps1 b/automatic/solr/tools/chocolateyUninstall.ps1 deleted file mode 100644 index 2c2b7b5c..00000000 --- a/automatic/solr/tools/chocolateyUninstall.ps1 +++ /dev/null @@ -1,3 +0,0 @@ -$ErrorActionPreference = 'Stop' - -Uninstall-ChocolateyZipPackage -PackageName 'solr' -ZipFileName 'solr.tar' \ No newline at end of file diff --git a/automatic/solr/tools/chocolateyinstall.ps1 b/automatic/solr/tools/chocolateyinstall.ps1 deleted file mode 100644 index 73be3af4..00000000 --- a/automatic/solr/tools/chocolateyinstall.ps1 +++ /dev/null @@ -1,42 +0,0 @@ -$ErrorActionPreference = 'Stop' - -$toolsDir = Split-Path $MyInvocation.MyCommand.Definition - -$pp = Get-PackageParameters -if (-not $pp['InstallDir']) { - $unzipPath = Get-ToolsLocation -} -else { - if (Test-Path -Path $pp['InstallDir']) { - $unzipPath = $pp['InstallDir'] - Write-Warning 'On uninstall, files will not be removed from a custom install location. Please remove them manually.' - } - else { - throw "Custom install location, '$($pp['InstallDir'])', is invalid or does not exist. Cannot install to this location." - } -} - -# warn if no java detected but don't stop the install as it's not needed for installation only -if (-not (Get-Command -Name 'java.exe' -ErrorAction SilentlyContinue)) { - Write-Warning "Java 11 is not required to install the package, but is required to run Solr. As there are so many flavours, this package does not recommend a specific one." - Write-Warning "Please see https://solr.apache.org/guide/solr/latest/deployment-guide/system-requirements.html#java-requirements and install a suitable version and flavour of Java." -} - -$packageArgs = @{ - PackageName = 'solr' - url = 'https://archive.apache.org/dist/solr/solr/9.0.0/solr-9.0.0.tgz' - unzipLocation = $unzipPath - checksum = '383c6b6f352f2a385ece99b2b0a82e1552430aea65c6c33e5569da422138844192db4e06f58699325af55ee631694e16f836a5bbf8556f86fdeabc0cfa0533d5' - checksumType = 'sha512' -} - -Write-Host "Solr will be unpacked to '$unzipPath'." - -# The tgz file is a tar file inside a zip file. We need to extract the tar file and then extract the contents -$tempPath = Join-Path -Path $env:TEMP -ChildPath (([GUID]::NewGuid()).Guid) -$tgzPath = Join-Path -Path $tempPath -ChildPath 'solr.tgz' -Get-ChocolateyWebFile @packageArgs -FileFullPath $tgzPath # get the file -Get-ChocolateyUnzip -PackageName $packageArgs.PackageName -FileFullPath $tgzPath -Destination $tempPath # extract the tar file from the tgz file - -$tarPath = Join-Path -Path $tempPath -ChildPath 'solr.tar' # get the extracted tar file -Get-ChocolateyUnzip -PackageName $packageArgs.PackageName -FileFullPath $tarPath -Destination $unzipPath # extract the tar file contents to the final location