# Global search plugin
### Usage
To use the library you need to define the following paths in the config:
```
GLOBAL_SEARCH_MODELS = [{"model_service": "documents.services.records.service.DocumentsService",
"service_config": "documents.services.records.config.DocumentsServiceConfig",
"ui_resource_config": "ui.documents.DocumentsResourceConfig",
"api_resource_config": "documents.resources.records.config.DocumentsResourceConfig",
}]
```
for example:
```
GLOBAL_SEARCH_MODELS = [{"model_service": "path_to_service_class",
"service_config": "path_to_service_config",
"ui_resource_config": "path_to_ui_resource_config",
"api_resource_config": "path_to_api_resource_config",
}]
```
Raw data
{
"_id": null,
"home_page": "https://github.com/oarepo/oarepo-global-search",
"name": "oarepo-global-search",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.10",
"maintainer_email": null,
"keywords": "invenio relations model builder",
"author": "Alzbeta Pokorna",
"author_email": "Alzbeta.Pokorna@cesnet.cz",
"download_url": "https://files.pythonhosted.org/packages/1f/f2/953eb5635bb973f0bb50b70ff676e2f13a367873e54c514b3e00fdc563bf/oarepo_global_search-1.0.29.tar.gz",
"platform": "any",
"description": "# Global search plugin\n\n### Usage\n\nTo use the library you need to define the following paths in the config:\n\n```\nGLOBAL_SEARCH_MODELS = [{\"model_service\": \"documents.services.records.service.DocumentsService\",\n \"service_config\": \"documents.services.records.config.DocumentsServiceConfig\",\n \"ui_resource_config\": \"ui.documents.DocumentsResourceConfig\",\n \"api_resource_config\": \"documents.resources.records.config.DocumentsResourceConfig\",\n }]\n```\n\n\nfor example:\n```\nGLOBAL_SEARCH_MODELS = [{\"model_service\": \"path_to_service_class\",\n \"service_config\": \"path_to_service_config\",\n \"ui_resource_config\": \"path_to_ui_resource_config\",\n \"api_resource_config\": \"path_to_api_resource_config\",\n }]\n```\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "\"A model builder plugin for global search\"",
"version": "1.0.29",
"project_urls": {
"Homepage": "https://github.com/oarepo/oarepo-global-search"
},
"split_keywords": [
"invenio",
"relations",
"model",
"builder"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "3a3a122510bb30b64cf57aec5940ffd17d56dda629da56fdda934d0238e8a120",
"md5": "94d7e6daa7ddb3dd8019bf372fb2140f",
"sha256": "9ef23faa9c7572e4bb5fe43c0a12fc4ed6534b921d5a4de7c0fcadc3fd01a70a"
},
"downloads": -1,
"filename": "oarepo_global_search-1.0.29-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "94d7e6daa7ddb3dd8019bf372fb2140f",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": ">=3.10",
"size": 24952,
"upload_time": "2024-11-29T11:07:30",
"upload_time_iso_8601": "2024-11-29T11:07:30.221412Z",
"url": "https://files.pythonhosted.org/packages/3a/3a/122510bb30b64cf57aec5940ffd17d56dda629da56fdda934d0238e8a120/oarepo_global_search-1.0.29-py2.py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "1ff2953eb5635bb973f0bb50b70ff676e2f13a367873e54c514b3e00fdc563bf",
"md5": "acfbe46625bedfbd74974cbea04fc903",
"sha256": "b55948dbe799ebb30ca335ae12f7b1aa230729f9162a81917a5fb46537094831"
},
"downloads": -1,
"filename": "oarepo_global_search-1.0.29.tar.gz",
"has_sig": false,
"md5_digest": "acfbe46625bedfbd74974cbea04fc903",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.10",
"size": 14782,
"upload_time": "2024-11-29T11:07:36",
"upload_time_iso_8601": "2024-11-29T11:07:36.447133Z",
"url": "https://files.pythonhosted.org/packages/1f/f2/953eb5635bb973f0bb50b70ff676e2f13a367873e54c514b3e00fdc563bf/oarepo_global_search-1.0.29.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-11-29 11:07:36",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "oarepo",
"github_project": "oarepo-global-search",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "oarepo-global-search"
}