notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
Port details on branch 2024Q4
apache-solr High performance search server built using Lucene Java
9.7.0_1,1 textproc on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 9.7.0_1,1Version of this port present on the latest quarterly branch.
Maintainer: mfechner@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2024-12-07 15:06:30
Last Update: 2024-12-19 09:04:46
Commit Hash: 5cd096a
Also Listed In: java
License: APACHE20
WWW:
https://lucene.apache.org/solr/
Description:
Solr is an open source enterprise search server based on the Lucene Java search library, with XML/HTTP and JSON APIs, hit highlighting, faceted search, caching, replication, a web administration interface and many more features. It runs in a Java servlet container such as Tomcat.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (3 items)
Collapse this list.
  1. /usr/local/share/licenses/apache-solr-9.7.0_1,1/catalog.mk
  2. /usr/local/share/licenses/apache-solr-9.7.0_1,1/LICENSE
  3. /usr/local/share/licenses/apache-solr-9.7.0_1,1/APACHE20
Collapse this list.
Dependency lines:
  • apache-solr>0:textproc/apache-solr
To install the port:
cd /usr/ports/textproc/apache-solr/ && make install clean
To add the package, run one of these commands:
  • pkg install textproc/apache-solr
  • pkg install apache-solr
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: apache-solr
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1733237470 SHA256 (solr-9.7.0.tgz) = 38548b86fa4e3c87883875952da124bf7d742cb8f7b25d37a1176833588e8552 SIZE (solr-9.7.0.tgz) = 282847338

No package information for this port in our database
Sometimes this happens. Not all ports have packages. Perhaps there is a build error. Check the fallout link: pkg-fallout
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Runtime dependencies:
  1. bash : shells/bash
  2. java : java/openjdk11
There are no ports dependent upon this port

Configuration Options:
===> The following configuration options are available for apache-solr-9.7.0_1,1: JTS=off: Enable support for JTS Topology Suite ===> Use 'make config' to modify these settings
Options name:
textproc_apache-solr
USES:
cpe tar:tgz
pkg-message:
For install:
Make sure to edit the following files to adapt to your setup: /usr/local/etc/solr.in.sh /var/db/solr/solr.xml All files are configured to have your solr instances running in /var/db/solr/<instancename> For more information how to configure solr check the manual: http://lucene.apache.org/solr/resources.html#documentation The port is configured to listen only on localhost, port 8983. To rotate solr log files include /var/log/solr/ to your log rotation configuration. To enable the port execute: sysrc solr_enable="YES" And start it with: service solr start
If upgrading
If you update, make sure you update your /usr/local/etc/solr.in.sh The LOG4J_PROPS has changed. If you would like to change logging, copy: cp /usr/local/solr/server/resources/log4j2.xml /var/db/solr/ Change it and make sure it is loaded in /usr/local/etc/solr.in.sh. Data Import Handler (DIH) has been removed from the base solr and is available as independent module which can be installed with solr package manager. The current repo is available at: https://github.com/rohitbemax/dataimporthandler Make also sure to always check the manual if you need to modify your configs or schemas: https://solr.apache.org/guide/9_0/solr-upgrade-notes.html Maybe you want also to check some examples: https://dovecot.org/pipermail/dovecot/2022-May/124701.html https://dovecot.org/pipermail/dovecot/2022-May/124711.html
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://archive.apache.org/dist/solr/solr/9.7.0/
Collapse this list.

Number of commits found: 2

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
9.7.0_1,1
19 Dec 2024 09:04:46
commit hash: 5cd096a4dce2188fc74fcb4026b45aaf073a2707commit hash: 5cd096a4dce2188fc74fcb4026b45aaf073a2707commit hash: 5cd096a4dce2188fc74fcb4026b45aaf073a2707commit hash: 5cd096a4dce2188fc74fcb4026b45aaf073a2707 files touched by this commit
Matthias Fechner (mfechner) search for other commits by this committer
textproc/apache-solr: use sockstat instead of lsof

While starting solr it is using now sockstat and can detect now if the start
was successful.

The patch is also provided upstream here:
https://github.com/apache/solr/pull/2906

Thanks a lot freebsd@koenigbj.8bx.de to provide with the required sockstat
parameters to make this PR possible.

PR:		283270
(cherry picked from commit a164dd24d276862af02b1a02f1dfd728ca4de71d)
9.7.0,1
06 Dec 2024 10:17:35
commit hash: 337f40bfddfb7ef34d88c62a18726152013c97aecommit hash: 337f40bfddfb7ef34d88c62a18726152013c97aecommit hash: 337f40bfddfb7ef34d88c62a18726152013c97aecommit hash: 337f40bfddfb7ef34d88c62a18726152013c97ae files touched by this commit
Matthias Fechner (mfechner) search for other commits by this committer
textproc/apache-solr: update to 9.7.0

Changes:	https://solr.apache.org/docs/9_7_0/changes/Changes.html#v9.7.0.bug_fixes
(cherry picked from commit 339fc33245ab0a6676ef8eb7fa35019dd21c1d19)

Number of commits found: 2