1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-08-05 13:35:25 +02:00

Enable Full-text Search when using SQL Server 2016+

This commit is contained in:
sauls8t 2019-09-11 19:08:53 +01:00
parent 0524a0c74c
commit 5004e5a85e
10 changed files with 1360 additions and 1199 deletions

View file

@ -38,8 +38,10 @@ func (h *Handler) Reindex(w http.ResponseWriter, r *http.Request) {
return
}
h.Runtime.Log.Info("Building search index")
go h.Indexer.Rebuild(ctx)
if h.Runtime.StoreProvider.Type() != env.StoreTypeSQLServer {
h.Runtime.Log.Info("Building search index")
go h.Indexer.Rebuild(ctx)
}
response.WriteEmpty(w)
}