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:
parent
0524a0c74c
commit
5004e5a85e
10 changed files with 1360 additions and 1199 deletions
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue