-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: vec-270 support separate index a nd vector data namespaces (#50)
* feat: vec-270 support separate data and index namespaces in the quote search example * feat: support separate index and vector data namespaces in the image search example * chore: change docker example aerospike config to use separate index and vector namespaces * feat: add avs_index_set and avs_index_namespace to image and quote example configs
- Loading branch information
1 parent
2204223
commit fef7a21
Showing
14 changed files
with
236 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
74 changes: 74 additions & 0 deletions
74
prism-image-search/container-volumes/aerospike/etc/aerospike/aerospike-single-namespace.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
# Aerospike database configuration file for use with systemd. | ||
|
||
service { | ||
cluster-name prism-demo | ||
proto-fd-max 15000 | ||
} | ||
|
||
|
||
logging { | ||
file /var/log/aerospike/aerospike.log { | ||
context any info | ||
} | ||
|
||
# Send log messages to stdout | ||
console { | ||
context any info | ||
context query critical | ||
} | ||
} | ||
|
||
network { | ||
service { | ||
address any | ||
port 3000 | ||
} | ||
|
||
heartbeat { | ||
mode multicast | ||
multicast-group 239.1.99.222 | ||
port 9918 | ||
|
||
# To use unicast-mesh heartbeats, remove the 3 lines above, and see | ||
# aerospike_mesh.conf for alternative. | ||
|
||
interval 150 | ||
timeout 10 | ||
} | ||
|
||
fabric { | ||
port 3001 | ||
} | ||
|
||
info { | ||
port 3003 | ||
} | ||
} | ||
|
||
namespace test { | ||
replication-factor 1 | ||
nsup-period 60 | ||
|
||
storage-engine device { | ||
file /opt/aerospike/data/index.dat | ||
filesize 16G | ||
} | ||
} | ||
|
||
namespace avs-meta { | ||
replication-factor 1 | ||
nsup-period 100 | ||
|
||
storage-engine memory { | ||
data-size 1G | ||
} | ||
|
||
# To use file storage backing, comment out the line above and use the | ||
# following lines instead. | ||
# storage-engine device { | ||
# file /opt/aerospike/data/bar.dat | ||
# filesize 16G | ||
# data-in-memory true # Store data in memory in addition to file. | ||
# } | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
74 changes: 74 additions & 0 deletions
74
...semantic-search/container-volumes/aerospike/etc/aerospike/aerospike-single-namespace.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
# Aerospike database configuration file for use with systemd. | ||
|
||
service { | ||
cluster-name quote-demo | ||
proto-fd-max 15000 | ||
} | ||
|
||
|
||
logging { | ||
file /var/log/aerospike/aerospike.log { | ||
context any info | ||
} | ||
|
||
# Send log messages to stdout | ||
console { | ||
context any info | ||
context query critical | ||
} | ||
} | ||
|
||
network { | ||
service { | ||
address any | ||
port 3000 | ||
} | ||
|
||
heartbeat { | ||
mode multicast | ||
multicast-group 239.1.99.222 | ||
port 9918 | ||
|
||
# To use unicast-mesh heartbeats, remove the 3 lines above, and see | ||
# aerospike_mesh.conf for alternative. | ||
|
||
interval 150 | ||
timeout 10 | ||
} | ||
|
||
fabric { | ||
port 3001 | ||
} | ||
|
||
info { | ||
port 3003 | ||
} | ||
} | ||
|
||
namespace test { | ||
replication-factor 1 | ||
nsup-period 60 | ||
|
||
storage-engine device { | ||
file /opt/aerospike/data/test.dat | ||
filesize 16G | ||
} | ||
} | ||
|
||
namespace avs-meta { | ||
replication-factor 1 | ||
nsup-period 100 | ||
|
||
storage-engine memory { | ||
data-size 1G | ||
} | ||
|
||
# To use file storage backing, comment out the line above and use the | ||
# following lines instead. | ||
# storage-engine device { | ||
# file /opt/aerospike/data/bar.dat | ||
# filesize 16G | ||
# data-in-memory true # Store data in memory in addition to file. | ||
# } | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters