mirror of
https://github.com/peeringdb/peeringdb.git
synced 2024-05-11 05:55:09 +00:00
* Don't allow the first and last addresses being assigned #1241 Show all e-mail addresses associated with a username #1291 Add permission 'manage peering sessions' #1290 Put an Icon next to user name on https://www.peeringdb.com/org/nnnn#users if the user is using U2F #1238 Tie TOTP devices and Webauthn Security Keys to the user account #1339 v2 Search (#1204) pin django peeringdb 3.0.1 and poetry relock linting * fix codeql warning: DOM text reinterpreted as HTML * fix global stats tests --------- Co-authored-by: 20C <code@20c.com>
24 lines
510 B
Markdown
24 lines
510 B
Markdown
Generated from search.py on 2023-04-12 10:09:44.563425
|
|
|
|
# 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.
|
|
|
|
---
|