File tree Expand file tree Collapse file tree 2 files changed +7
-9
lines changed Expand file tree Collapse file tree 2 files changed +7
-9
lines changed Original file line number Diff line number Diff line change @@ -4,19 +4,17 @@ version: '3'
4
4
services :
5
5
6
6
manticore :
7
- image : manticoresearch/manticore:6.2.12
7
+ image : manticoresearch/manticore:7.4.6
8
8
environment :
9
- EXTRA : 1
10
- # Will attempt to index 'gamenode' on startup
11
- CREATE_PLAIN_TABLES : gamenode
9
+ CREATE_PLAIN_TABLES : games:0 3 * * *;users:0 * * * *;games;users
12
10
13
11
restart : no
14
12
ports :
15
13
# Note: ManticoreSearch as minimum built-in security,
16
14
# so it's not recommended to expose it to the host in production.
17
15
# SQL port, use it with care.
18
- - " 127.0.0.1: 9306:9306"
19
- - " 127.0.0.1: 9308:9308"
16
+ - " 9306:9306"
17
+ - " 9308:9308"
20
18
21
19
ulimits :
22
20
nproc : 65535
Original file line number Diff line number Diff line change @@ -94,9 +94,9 @@ func buildManticoreOrderString() string {
94
94
func buildManticoreSearchRequest (dto * schema.GameSearchRequestDto ) (string , error ) {
95
95
96
96
matchString , _ := buildManticoreMatchString (dto )
97
- filterString , _ := buildManticoreFilterString (dto )
98
- paginationString := buildManticorePaginationString (dto )
99
- orderString := buildManticoreOrderString ()
97
+ // filterString, _ := buildManticoreFilterString(dto)
98
+ // paginationString := buildManticorePaginationString(dto)
99
+ // orderString := buildManticoreOrderString()
100
100
101
101
selectString := fmt .Sprintf ("SELECT * FROM games WHERE match('%s') OPTION fuzzy=1;" , matchString )
102
102
You can’t perform that action at this time.
0 commit comments