{"id":15955290,"url":"https://github.com/vsilverman/marklogic","last_synced_at":"2026-01-28T09:02:03.479Z","repository":{"id":148907056,"uuid":"127360942","full_name":"vsilverman/MarkLogic","owner":"vsilverman","description":"MarkLogic Search App","archived":false,"fork":false,"pushed_at":"2018-03-30T15:47:59.000Z","size":43,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-05T07:39:08.186Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://developer.marklogic.com/","language":"XQuery","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vsilverman.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"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":"2018-03-30T00:24:12.000Z","updated_at":"2018-03-30T15:48:00.000Z","dependencies_parsed_at":"2023-07-24T09:32:34.433Z","dependency_job_id":null,"html_url":"https://github.com/vsilverman/MarkLogic","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/vsilverman/MarkLogic","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vsilverman%2FMarkLogic","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vsilverman%2FMarkLogic/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vsilverman%2FMarkLogic/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vsilverman%2FMarkLogic/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vsilverman","download_url":"https://codeload.github.com/vsilverman/MarkLogic/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vsilverman%2FMarkLogic/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28843118,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-28T07:39:25.367Z","status":"ssl_error","status_checked_at":"2026-01-28T07:39:24.487Z","response_time":57,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":[],"created_at":"2024-10-07T13:22:18.079Z","updated_at":"2026-01-28T09:02:03.462Z","avatar_url":"https://github.com/vsilverman.png","language":"XQuery","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MarkLogic Search Application\n\n\tThe purpose of this file is to describes how easy it is \n\tto build from scratch a basic web search application \n\tand start testing it's functionality\n\n\n## 1. INTRODUCTION\n\n\tThis file outlines the steps required for:\n\t- installation of MarkLogic server 9\n\t- inserting xml based content into the MarkLogic database \n\t    (using Shakespeare plays as the sample content).\n\t- build a basic web search application on top of MarkLogic server\n\t- start testing this application\n\n\n## 2. REQUIREMENTS\n\n\tThis project was tested with Windows 10 Operating System and Java 1.8 installed on top of it.\n\tIt should work on any Linux platform as well.\n\tTo start working on this MarkLogic project clone the current repository (e.g. using \"git clone ...\" command)\n\n\n## 3. STEPS\n\n3.1.\tDownload MarkLogic Server 9 through the browser or using the CURL tool.\n\tYou may see download instructions at http://docs.marklogic.com/guide/installation.\n\n3.2. \tInstall MarkLogic Server 9 Server.  Make sure that you know the location where the server was installed\n\t\t\n3.3.\tStart MarkLogic service and admin server using e.g. Windows start option\n\tVerify that MarkLogic service is up by running the following command:\n\t```\n\t\t\tsc query MarkLogic\n\t```\n\t\t\n\tAfter completing this step make sure that:\n\t\t- you have active account at \n\t\t\thttps://developer.marklogic.com\n\t\t- you register for an account if you don't have one\n\t\t- you downloaded and installed MarkLogic developer license.  \n\t\t    (follow MarkLogic documentation to install the license)\n\t\t- you can view installed license at\n\t\t\thttp://localhost:8001/license.xqy\n \n3.4.\tDownload zipped content of Shakespare plays from \n\t\t\thttp://metalab.unc.edu/bosak/xml/eg/shaks200.zip\n\n3.5.\tCreate db for storing shakespeare content. To do this:\n\n\t- cd to your MarkLogic 9 Server installation directory\n\t- run from gitbash shell command \"use-db.sh \u003cpswd\u003e\", where \u003cpswd\u003e is your admin password\n\n3.6.\tCreate forest for storing shakespeare content and attach it to created db. To do this:\n\n\t- cd to your MarkLogic 9 Server installation directory\n\t- run from gitbash shell command \"use-appserver.sh \u003cpswd\u003e\", where \u003cpswd\u003e is your admin password\n\n3.7.\tLoad downloaded Shakespeare content into MarkLogic Server. For doing this:\n\n\t- download MLCP tool from https://developer.marklogic.com/products/mlcp\n\t- run from gitbash shell command \"load-input-compressed.sh \u003cpswd\u003e\", where \u003cpswd\u003e is your admin password\n\n3.8.\tCreate http based TestServer on the top of MarkLogic Server. To do this:\n\n\t- cd to your MarkLogic 9 Server installation directory\n\t- run from gitbash shell command \"use-appserver.sh \u003cpswd\u003e\", where \u003cpswd\u003e is your admin password\n\t- copy provided appdemo sources, including *.xqy, *.html and *.gif files, to the root of your newly created http server\n\t- you may rename this file to README.txt and copy to above folder\n\t- make sure that you can access the newly created http server from the browser and from the gitbash shell\n\t\t\n3.9\t\tList loaded Shaekespeare content in ascending and descending orders.  To do this:\n\n\t\t- point your browser to the ascending titles script at \n\t\t\thttp://localhost:\u003cyour-port\u003e/titles-a.xqy\n\t\t- open a new browser panel\n\t\t- point a new panel to the decending titles script at \n\t\t\thttp://localhost:\u003cyour-port\u003e/titles-d.xqy\n\t\t- compare the order of shakespare plays in both browser panels\n\t\t\n3.10\tNow let's implement search functionality for the word on \"LINE\" element in provided XML files.\n\tAfter that let's display the matching results grouped by document name.\n\tAnd finally let's highlight the searched word. For doing this:\n\n\t\t- point your browser to your newly created http server at \n\t\t\thttp://localhost:\u003cyour-port\u003e/\n\t\t- make sure that on the right frame you can see the ordered list of all shakespeare plays\n\t\t- type in the search box on the left any word, e.g. Mark\n\t\t- make sure that the right frame displays the search results and higlights the searched word\n\t\t\n3.11\tStart testing your applications by using MarkLogic Test Engine. You can find detailed instructions at the following url:\n\t\thttps://github.com/marklogic-community/widowmaker .\n\n---------------------------\n### Some notes to remember:\n\n\t- Implementation of search is case-sensitive\n\t- Only the whole word is highlighted. To highlight all occurences - press Ctrl + F and enter the word.\n\t- Pressing search button without entering any text presents all plays, grouped by filenames and sliced by LINE\n\t- To present again the ordered list of all plays press refresh icon in your browser\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvsilverman%2Fmarklogic","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvsilverman%2Fmarklogic","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvsilverman%2Fmarklogic/lists"}