TG-search¶
TG-search is the search service for the textgrid repository. There are tgsearch-public and tgsearch-nonpublic. tgsearch-public is for searching published data in the textgrid repository and does not require authentication (a sessionId). tgsearch-nonpublic is for searching the not public data the user has access to, this requires a sessionId.
Configuration¶
TG-search is configured and setup by puppet.
Dependencies¶
- ElasticSearch
- Triple Store, see triplestore_documentation
- TG-auth, see tgauth_documentation
Endpoints¶
- Production server
- tgsearch-public: https://textgridlab.org/1.0/tgsearch-public/
- tgsearch-nonpublic: https://textgridlab.org/1.0/tgsearch/
- Development server
- tgsearch-public: https://dev.textgridlab.org/1.0/tgsearch-public/
- tgsearch-nonpublic: https://dev.textgridlab.org/1.0/tgsearch/
API Documentation¶
- GET /search
- GET /info/{textgridUri}
- GET /info/{textgridUri}/revisions
- GET /info/{textgridUri}/revisions/meta
- GET /info/{textgridUri}/path
- GET /info/{textgridUri}/editionWorkMeta
- GET /info/{textgridUri}/metadata
- GET /info/{textgridUri}/parents
- GET /info/{textgridUri}/children
- GET /info/{projectId}/allObjects
- GET /navigation/{projectID}
- GET /navigation/agg/{textgridUri}
- GET /navigation/toplevel
- GET /facet
- GET /relation/{relation}/{textgridUri}
- GET /relation/{relation}/{textgridUri}/combined
- GET /relation/{relation}/{textgridUri}/metadata
Sources¶
See tgsearch_sources