Skip to content

Commit

Permalink
update search code not flush()
Browse files Browse the repository at this point in the history
  • Loading branch information
vcaesar committed Dec 22, 2018
1 parent a2386ff commit 836e6d0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions net/com/search.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,7 @@ func InitEngine(conf Config) {
// AddDocInx add index document
func AddDocInx(docId string, data types.DocData, forceUpdate bool) {
Searcher.Index(docId, data, forceUpdate)

Searcher.Flush()
// Searcher.Flush()
}

// SearchArgs search args
Expand Down

0 comments on commit 836e6d0

Please sign in to comment.