BSD Ports

textproc/apache-solr 10.0.0_1,1 FreeBSD

High performance search server built using Lucene Java

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
APACHE20
Categories
textproc, java
Package size
341598.1 KiB, 403390.2 KiB installed

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.

In the other systems

SystemPortVersion
FreeBSDtextproc/apache-solr10.0.0_1,1
NetBSDdatabases/apache-solr8.11.1
DragonFlytextproc/apache-solr9.8.0,1
MidnightBSDtextproc/apache-solr9.8.0

Install

Binary package:

pkg install apache-solr

From the ports tree:

cd /usr/ports/textproc/apache-solr/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	apache-solr>0:textproc/apache-solr

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest10.0.0_1,110.0.0_1,1--10.0.0_1,1
FreeBSD:14:quarterly10.0.0_1,110.0.0_1,1n/a9.9.0,110.0.0_1,1
FreeBSD:15:latest10.0.0_1,110.0.0_1,1n/a-9.9.0,1
FreeBSD:15:quarterly10.0.0_1,110.0.0_1,1n/an/an/a
FreeBSD:16:latest10.0.0_1,110.0.0_1,1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Runtime 1

The full lists below include those, and their dependencies in turn.

Run dependencies 54

No port depends on this one.

Configuration

Options name: textproc_apache-solr

OptionDefaultDescription
JTSoffEnable support for JTS Topology Suite
USES
cpe java tar:tgz
Service scripts
solr

Message after installing

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 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

Files

distinfo 1
FileSizeSHA256
solr-10.0.0.tgz3.59361698e+0807c180970f60d13776be13ccb60c707d041e5e1a8b914d197d1358ac25f804b5
Master sites 1
  • https://archive.apache.org/dist/solr/solr/10.0.0/

Commit history 0

No commits in the history this site was built from.