Search Engine

Papermerge DMS supports multiple search engine backends:

PAPERMERGE__SEARCH__ENGINE

Search engine backend to use. Following values are possible:

  • xapian (for Xapian search engine)

  • es, elastic, elasticsearch, es7, elastic7, elasticsearch7 for elastic search backend

  • solr - for solr search engine backend

  • whoosh - for whoosh backend

Example as environment variable:

PAPERMERGE__SEARCH__ENGINE=xapian

Example as toml config:

[search]
engine=whoosh

Default value is xapian.

PAPERMERGE__SEARCH__URL

URL of search engine. This setting is applicable only in case of Elastic and Solr backends.

Example as environment variable:

PAPERMERGE__SEARCH__ENGINE=elastic7
PAPERMERGE__SEARCH__URL=http://my-elastic7-host:9200

Example as toml config:

[search]
engine=elastic7
url=http://my-elastic7-host:9200

PAPERMERGE__SEARCH__INDEX_NAME

Index name. This setting is applicable only for Elastic backends.

Example as environment variable:

PAPERMERGE__SEARCH__ENGINE=elastic7
PAPERMERGE__SEARCH__INDEX_NAME=my_index

Example as toml config:

[search]
engine=elastic7
index_name=my_index

Default value is papermerge.

PAPERMERGE__SEARCH__PATH

PATH on the filesystem where of search index is stored. This setting is applicable only in case of Xapian and Whoosh backends.

Example as environment variable:

PAPERMERGE__SEARCH__ENGINE=xapian
PAPERMERGE__SEARCH__PATH=/app/xapian_index

Example as toml config:

[search]
engine=xapian
path=/app/xapian_index