BSD Ports

www/py-modelsearch 1.3.2 FreeBSD

Library for indexing Django models

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
57cdbda123
License
BSD3CLAUSE
Categories
www, python
Package size
236.4 KiB, 1771.7 KiB installed

Description

Django ModelSearch allows you to index Django models and search them using the ORM!

It supports PostgreSQL FTS, SQLite FTS5, MySQL FTS, MariaDB FTS, Elasticsearch (7.x, 8.x, and 9.x), and OpenSearch (2.x and 3.x).

Features:

  • Index models in Elasticsearch and OpenSearch and query with the Django ORM
  • Reuse existing QuerySets for search, works with Django paginators and django-filter
  • Also supports PostgreSQL FTS, MySQL FTS, MariaDB FTS and SQLite FTS5
  • Autocomplete
  • Faceting
  • Per-field boosting
  • Fuzzy Search
  • Phrase search
  • Structured queries
  • Multi-table inheritance
  • Zero-downtime index rebuilding (uses aliases to atomically swap in a new index when its ready)

This has been built into Wagtail CMS since 2014 and extracted into a separate package in March 2025.

In the other systems

SystemPortVersion
FreeBSDwww/py-modelsearch1.3.2
NetBSDwww/py-modelsearch1.3.2nb1
HardenedBSDwww/py-modelsearch1.3.2
GhostBSDwww/py-modelsearch1.3.2

Install

Binary package:

pkg install py312-modelsearch

From the ports tree:

cd /usr/ports/www/py-modelsearch/ && make install clean

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

RUN_DEPENDS=	py312-modelsearch>0:www/py-modelsearch

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:latest1.3.21.3.2--1.3.2
FreeBSD:14:quarterly1.3.21.3.2n/a-1.3.2
FreeBSD:15:latest1.3.21.3.2n/a--
FreeBSD:15:quarterly1.3.21.3.2n/an/an/a
FreeBSD:16:latest1.3.21.3.2n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 2

Runtime 2

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

Build dependencies 16
Run dependencies 21

Configuration

No options to configure.

USES
python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
modelsearch-1.3.2.tar.gz10525352ede0f65e91efdb9d715f603e0bb3db96a95c80eba695abcd4628c03759999e
Master sites 1
  • PYPI

Commit history 2

DateCommitCreditsLog message
57cdbda123 Po-Chuan Hsieh www/py-modelsearch: Update to 1.3.2
Changes: https://github.com/wagtail/django-modelsearch/releases
644effe455 Po-Chuan Hsieh www/py-modelsearch: Update to 1.3.1
Changes: https://github.com/wagtail/django-modelsearch/releases