{"id":14956447,"url":"https://github.com/mongodb/marian","last_synced_at":"2025-11-11T21:15:02.152Z","repository":{"id":22235393,"uuid":"95679812","full_name":"mongodb/marian","owner":"mongodb","description":"A search engine focused on documentation.","archived":false,"fork":false,"pushed_at":"2024-03-15T22:38:31.000Z","size":2453,"stargazers_count":20,"open_issues_count":13,"forks_count":15,"subscribers_count":25,"default_branch":"staging","last_synced_at":"2025-01-29T09:43:34.976Z","etag":null,"topics":["fts","full-text-search","hits","search","server"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mongodb.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"code-of-conduct.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-06-28T14:48:06.000Z","updated_at":"2024-05-08T10:23:14.000Z","dependencies_parsed_at":"2024-08-23T00:05:18.775Z","dependency_job_id":"fb5c4a87-ed97-4469-ad5e-38b524d63eb1","html_url":"https://github.com/mongodb/marian","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mongodb%2Fmarian","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mongodb%2Fmarian/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mongodb%2Fmarian/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mongodb%2Fmarian/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mongodb","download_url":"https://codeload.github.com/mongodb/marian/tar.gz/refs/heads/staging","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237088408,"owners_count":19253565,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["fts","full-text-search","hits","search","server"],"created_at":"2024-09-24T13:13:05.034Z","updated_at":"2025-10-19T07:31:03.535Z","avatar_url":"https://github.com/mongodb.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Marian\n\nMarian is an HTTP full text search service.\n\n## Running Marian\n\n### Prerequisites\n\nYou will need Node.js v8.0 or later.\n\n###\n\n### Launching the Marian Server\n\n```\nnpm install\nMAX_WORKERS=2 node ./src/index.js [MANIFEST_SOURCE]\n```\n\nMarian will then read the manifest directory given in `MANIFEST_SOURCE`, and\nbegin listening to requests on port 8080.\n\n### Manifest Source\n\nMarian requires a manifest source directory. This may either be a local\npath, or an Amazon S3 path. For example, `dir:./manifests/` or\n`bucket:docs-mongodb-org-prod/search-indexes/`.\n\nThe path must contain only JSON files having the following JSON schema:\n\n```\n{\n  \"$id\": \"http://example.com/example.json\",\n  \"type\": \"object\",\n  \"definitions\": {},\n  \"$schema\": \"http://json-schema.org/draft-07/schema#\",\n  \"properties\": {\n    \"url\": {\n      \"$id\": \"/properties/url\",\n      \"type\": \"string\",\n      \"title\": \"The Url Schema \",\n      \"default\": \"\"\n    },\n    \"includeInGlobalSearch\": {\n      \"$id\": \"/properties/includeInGlobalSearch\",\n      \"type\": \"boolean\",\n      \"title\": \"The Includeinglobalsearch Schema \",\n      \"default\": false\n    },\n    \"aliases\": {\n      \"$id\": \"/properties/aliases\",\n      \"type\": \"array\"\n    },\n    \"documents\": {\n      \"$id\": \"/properties/documents\",\n      \"type\": \"array\",\n      \"items\": {\n        \"$id\": \"/properties/documents/items\",\n        \"type\": \"object\",\n        \"properties\": {\n          \"slug\": {\n            \"$id\": \"/properties/documents/items/properties/slug\",\n            \"type\": \"string\",\n            \"title\": \"The Slug Schema \",\n            \"default\": \"\"\n          },\n          \"title\": {\n            \"$id\": \"/properties/documents/items/properties/title\",\n            \"type\": \"string\",\n            \"title\": \"The Title Schema \",\n            \"default\": \"\"\n          },\n          \"headings\": {\n            \"$id\": \"/properties/documents/items/properties/headings\",\n            \"type\": \"array\",\n            \"items\": {\n              \"$id\": \"/properties/documents/items/properties/headings/items\",\n              \"type\": \"string\",\n              \"title\": \"The 0th Schema \",\n              \"default\": \"\"\n            }\n          },\n          \"text\": {\n            \"$id\": \"/properties/documents/items/properties/text\",\n            \"type\": \"string\",\n            \"title\": \"The Text Schema \",\n            \"default\": \"\"\n          },\n          \"preview\": {\n            \"$id\": \"/properties/documents/items/properties/preview\",\n            \"type\": \"string\",\n            \"title\": \"The Preview Schema \",\n            \"default\": \"\",\n          },\n          \"tags\": {\n            \"$id\": \"/properties/documents/items/properties/tags\",\n            \"type\": \"string\",\n            \"title\": \"The Tags Schema \",\n            \"default\": \"\"\n          },\n          \"links\": {\n            \"$id\": \"/properties/documents/items/properties/links\",\n            \"type\": \"array\",\n            \"items\": {\n              \"$id\": \"/properties/documents/items/properties/links/items\",\n              \"type\": \"string\",\n              \"title\": \"The 0th Schema \",\n              \"default\": \"\"\n            }\n          }\n        }\n      }\n    }\n  }\n}\n```\n\n## Marian REST API\n\n```\n\nGET /search?q=\u003cquery\u003e[\u0026searchProperty=\u003csearchProperty\u003e]\n  Returns search results. For example, see https://marian.mongodb.com/search?q=aggregation%20pipeline\nGET /status\n  Returns a status document\nPOST /refresh\n  When this endpoint is POSTed, Marian will rescan the manifest source\n  directory.\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmongodb%2Fmarian","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmongodb%2Fmarian","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmongodb%2Fmarian/lists"}