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
search_params = { | |
"data": [[0.9416827215464951, 0.28483659455216337, 0.22337490359193568, 0.07460372283292016, 0.7788300427333823, | |
0.9058013202642274, 0.8005134968218222, 0.9486847938132976, 0.6218679701011072, 0.27585949536512855, | |
0.7756943848208089, 0.08995504260083065, 0.23130892712609374, 0.6751721505575567, 0.6941195905065118, | |
0.23284162904436978, 0.10662335966797953, 0.9961467831512942, 0.6307459199746293, 0.06627920947433608, | |
0.8289946791330329, 0.9035509990065851, 0.7113979484016966, 0.3636869249377086, 0.8124258690512163, | |
0.6145055367119812, 0.4165774844875849, 0.7829327879496613, 0.8199679195597704, 0.4531653437398595, | |
0.7150129167722166, 0.8296377767891803, 0.3809657110523086, 0.10656198050517385, 0.9023210537850659, | |
0.7737145701747816, 0.7699041245302052, 0.9790142745094668, 0.8698235606209159, 0.8303118872048563, | |
0.5777710200260926, 0.41779329514837893, 0.0836139826488429, 0.7259191 |
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
phrase_intro = FieldSchema( | |
name="phrase_intro", | |
dtype=DataType.FLOAT_VECTOR, | |
dim=VECTOR_LEN | |
) | |
text = FieldSchema(name='text', dtype=DataType.VARCHAR, is_primary=True, max_length=512) | |
list_id = FieldSchema( | |
name='list_id', | |
dtype=DataType.INT64, | |
is_partition_key=True |
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
version: '3' | |
services: | |
redis-node-1: | |
image: kirillborisov89/redis:latest | |
networks: | |
redis_cluster_net: | |
ipv4_address: 173.18.0.2 | |
hostname: redis-node-1 |
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
FROM redislabs/redisearch:latest AS builder | |
RUN \ | |
apt-get update && \ | |
apt-get install -y \ | |
git \ | |
make \ | |
python2 \ | |
gcc \ | |
vim |
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
=== REDIS BUG REPORT START: Cut & paste starting from here === | |
1:M 04 Sep 2023 15:38:00.458 # Redis 7.2.0 crashed by signal: 11, si_code: 1 | |
1:M 04 Sep 2023 15:38:00.458 # Accessing address: 0x300000000 | |
1:M 04 Sep 2023 15:38:00.458 # Crashed running the instruction at: 0x4003aee25b | |
------ STACK TRACE ------ | |
EIP: | |
/usr/lib/redis/module-oss.so(+0x16025b)[0x4003aee25b] | |
Backtrace: |
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
pipeline { | |
agent | |
{ | |
label 'builder' | |
} | |
options { | |
buildDiscarder(logRotator(numToKeepStr: '10')) | |
timeout (time: 10, unit: 'MINUTES') | |
} |
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
properties([ | |
parameters([ | |
[$class: 'ChoiceParameter', | |
choiceType: 'PT_SINGLE_SELECT', | |
description: 'Select a choice', | |
filterLength: 1, | |
filterable: false, | |
name: 'component', | |
script: [$class: 'GroovyScript', | |
fallbackScript: [classpath: [], sandbox: false, script: 'return ["Could not get component"]'], |