# 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/1d/e6/2c845bad9c787892d7adb241ce641c8fe623545324d8357a4079ff3bcbee/oarepo_global_search-1.0.45.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.45",
"project_urls": {
"Homepage": "https://github.com/oarepo/oarepo-global-search"
},
"split_keywords": [
"invenio",
"relations",
"model",
"builder"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "5eac734c04247d17e86acbace34f4fb07c2a9d59e22177fa7a5dc03807b0f0ed",
"md5": "08e1597b78f58c77b90e1d711861275e",
"sha256": "6c06eb258e0fddd7313fd6b49ef9e899f0f835b552a7d62cd0b08c6ff0d8ca78"
},
"downloads": -1,
"filename": "oarepo_global_search-1.0.45-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "08e1597b78f58c77b90e1d711861275e",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": ">=3.10",
"size": 28078,
"upload_time": "2025-08-01T13:39:19",
"upload_time_iso_8601": "2025-08-01T13:39:19.585194Z",
"url": "https://files.pythonhosted.org/packages/5e/ac/734c04247d17e86acbace34f4fb07c2a9d59e22177fa7a5dc03807b0f0ed/oarepo_global_search-1.0.45-py2.py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "1de62c845bad9c787892d7adb241ce641c8fe623545324d8357a4079ff3bcbee",
"md5": "c4c3f8da53d0d3f49e4b04a3b2d4838d",
"sha256": "55598b0d15d29b622f80147edc1d048272f4e50d0fe2666d605ee81c5fa59dcf"
},
"downloads": -1,
"filename": "oarepo_global_search-1.0.45.tar.gz",
"has_sig": false,
"md5_digest": "c4c3f8da53d0d3f49e4b04a3b2d4838d",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.10",
"size": 16522,
"upload_time": "2025-08-01T13:39:20",
"upload_time_iso_8601": "2025-08-01T13:39:20.709899Z",
"url": "https://files.pythonhosted.org/packages/1d/e6/2c845bad9c787892d7adb241ce641c8fe623545324d8357a4079ff3bcbee/oarepo_global_search-1.0.45.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-08-01 13:39:20",
"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"
}