Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 1.5 KB

README.md

File metadata and controls

30 lines (21 loc) · 1.5 KB

Git Search v2

Description

Provides a full-text search of the commits contained in the LMS repo.

Requirements

If you plan on locally hosting the server, you will need the IIS hosting bundle

Optional

  • SqlServer with Full-Text Search installed

Operation

GitSearch2.Indexer is a console application that will perform the actual work of moving through the repository and indexing the commits.

Simple example for a local Sqlite database:

GitSearch2.Indexer.exe --input c:\d2l\instances\dev2\checkout\.git --pause true --live true --database Sqlite --connection "Data Source=webapp.sqlite3"

The web server uses appsettings.json to control which database is used.

Notes

The indexer can be run multiple times. When the indexer runs it will attempt to determine if an indexing is already underway. If one is, it will schedule a follow-on indexing and then exit. The currently running indexer, when it completes its current run, will check to see if any updates are scheduled and will re-execute automatically. This loop will continue until there are no scheduled runs pending.