# 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/ea/75/4e4af7c47b2af27bc020d8b5936d2d3869a4c80cc9da19ba3018dfed5acb/oarepo_global_search-1.0.37.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.37",
"project_urls": {
"Homepage": "https://github.com/oarepo/oarepo-global-search"
},
"split_keywords": [
"invenio",
"relations",
"model",
"builder"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "59394e68116bb00b04a4023aacb03c7d14f082a1dc7582f2c7b517d28abefeb8",
"md5": "6bf00402f827f1720b6daef3de5aaaff",
"sha256": "e075398e874b7a1afdd3e305f94322692e11d62da8f3d13fcc5f67bcfdd479cb"
},
"downloads": -1,
"filename": "oarepo_global_search-1.0.37-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "6bf00402f827f1720b6daef3de5aaaff",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": ">=3.10",
"size": 26538,
"upload_time": "2025-02-25T22:35:56",
"upload_time_iso_8601": "2025-02-25T22:35:56.012186Z",
"url": "https://files.pythonhosted.org/packages/59/39/4e68116bb00b04a4023aacb03c7d14f082a1dc7582f2c7b517d28abefeb8/oarepo_global_search-1.0.37-py2.py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "ea754e4af7c47b2af27bc020d8b5936d2d3869a4c80cc9da19ba3018dfed5acb",
"md5": "f73f555caf047e8087ab5f4374638ab8",
"sha256": "a84925d5fd5a42c86a8abc47927f588d3ed0b482c546081a0d8223a9f536d3d6"
},
"downloads": -1,
"filename": "oarepo_global_search-1.0.37.tar.gz",
"has_sig": false,
"md5_digest": "f73f555caf047e8087ab5f4374638ab8",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.10",
"size": 15792,
"upload_time": "2025-02-25T22:35:57",
"upload_time_iso_8601": "2025-02-25T22:35:57.186274Z",
"url": "https://files.pythonhosted.org/packages/ea/75/4e4af7c47b2af27bc020d8b5936d2d3869a4c80cc9da19ba3018dfed5acb/oarepo_global_search-1.0.37.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-02-25 22:35:57",
"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"
}