mirror of
https://github.com/peeringdb/peeringdb.git
synced 2024-05-11 05:55:09 +00:00
* module docstrings * db schema graph * dev docs first pass * dev docs pass 2 * add generated notification to top of generated docs files * linting * regen docs Co-authored-by: Stefan Pratter <stefan@20c.com> Co-authored-by: Sunshine Buchholz <sunshine@20c.com>
23 lines
509 B
Markdown
23 lines
509 B
Markdown
Generated from search.py on 2021-10-15 07:56:57.376975
|
|
|
|
# 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
|
|
---
|
|
|
|
## search
|
|
`def search(term, autocomplete=False)`
|
|
|
|
Search searchable objects (ixp, network, facility ...) by term.
|
|
|
|
Returns result dict.
|
|
|
|
--- |