This module has search functionality for ovp projects and nonprofits
Project description
This module implements core search functionality. It is responsible for searching projects and nonprofits.
Getting Started
Prerequisites
This module relies on django-haystack to do full-text search. It was implemented and tested on top of ElasticSearch but should work with any backend.
Installing
Install django-ovp-search:
pip install ovp-search
Add it to INSTALLED_APPS on settings.py
Add haystack to INSTALLED_APPS
Set up haystack connection:
HAYSTACK_CONNECTIONS = { 'default': { 'ENGINE': 'haystack.backends.elasticsearch_backend.ElasticsearchSearchEngine', 'URL': 'http://%s/' % (os.environ.get('HS_SEARCH_ENDPOINT', '127.0.0.1:9200')), 'INDEX_NAME': 'atadosovp' }, }
Forking
If you have your own OVP installation and want to fork this module to implement custom features while still merging changes from upstream, take a look at django-git-submodules.
Testing
To test this module
python ovp_searcb/tests/runtests.py
Contributing
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
Versioning
We use SemVer for versioning. For the versions available, see the tags on this repository.
License
This project is licensed under the AGPLv3 License see the LICENSE.md file for details
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file ovp-search-1.0.16.tar.gz
.
File metadata
- Download URL: ovp-search-1.0.16.tar.gz
- Upload date:
- Size: 44.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 51666802d091374857c369a854f554e9f190207b8ccdd888d2e93f8cf2ccc02e |
|
MD5 | 5b61978001cc98170d5802cc5f102b2b |
|
BLAKE2b-256 | fb8fd0477e04e4ca9edb97c95d3d3d72176f2baf2ab06c840de99a532b73e005 |