1
0
mirror of https://github.com/peeringdb/peeringdb.git synced 2024-05-11 05:55:09 +00:00
Files
peeringdb-peeringdb/docs/dev/modules/search.py.md
Stefan Pratter 2ee1220c58 Support 202209 (#1259)
* Add export tool to https://peeringdb.com/cp/peeringdb_server #586

* IX-F importer fails on nulled ipv4 / ipv6 properties in vlan_list entries #1244

* Adding a POC must require an email address or phone number #1044

* Selenium tests

* ping django-peeringdb and rdap and poetry relock

* linting

* linting

* remove selenium tests cruft

* comment out django-peeringdb and search data mounts

* regen docs
2022-10-11 07:45:07 -05:00

509 B

Generated from search.py on 2022-10-11 12:34:14.972233

peeringdb_server.search

Search implementation used for the peeringdb top search bar, name searches through the api name_search filter, as well as advanced search functionality.

Search logic is handled by django-haystack and whoosh.

Refer to search_indexes.py for search index definition.

Functions


def search(term, autocomplete=False)

Search searchable objects (ixp, network, facility ...) by term.

Returns result dict.