Skip to content

Instantly share code, notes, and snippets.

View byronvoorbach's full-sized avatar

Byron Voorbach byronvoorbach

View GitHub Profile
{"error":"init shard \"collection_properties_19_7e4b1794-a6a9-4f77-af91-e0ff86b5a4f1\": init shard \"collection_properties_19_7e4b1794-a6a9-4f77-af91-e0ff86b5a4f1\": shard db: create objects bucket: init disk segments: init segment segment-1711917640228718280.db: mmap file: cannot allocate memory","level":"error","msg":"Unable to load shard 7e4b1794-a6a9-4f77-af91-e0ff86b5a4f1: init shard \"collection_properties_19_7e4b1794-a6a9-4f77-af91-e0ff86b5a4f1\": init shard \"collection_properties_19_7e4b1794-a6a9-4f77-af91-e0ff86b5a4f1\": shard db: create objects bucket: init disk segments: init segment segment-1711917640228718280.db: mmap file: cannot allocate memory","time":"2024-04-02T14:54:22Z"}
2024/04/02 14:54:22 http: panic serving 10.0.166.193:46634: Unable to load shard 7e4b1794-a6a9-4f77-af91-e0ff86b5a4f1: init shard "collection_properties_19_7e4b1794-a6a9-4f77-af91-e0ff86b5a4f1": init shard "collection_properties_19_7e4b1794-a6a9-4f77-af91-e0ff86b5a4f1": shard db: create objects bucket: init disk segments:
This file has been truncated, but you can view the full file.
{"action":"lsm_recover_from_active_wal","class":"Block_Spans_19","index":"block_spans_19","level":"warning","msg":"active write-ahead-log found. Did weaviate crash prior to this? Trying to recover...","path":"/var/lib/weaviate/block_spans_19/28516e75-5a04-492e-813d-8a92cb3c1506/lsm/property_collection_id/segment-1712053961574001467","shard":"28516e75-5a04-492e-813d-8a92cb3c1506","time":"2024-04-02T14:52:26Z"}
{"action":"lsm_recover_from_active_wal","class":"Block_Spans_19","index":"block_spans_19","level":"warning","msg":"active write-ahead-log found. Did weaviate crash prior to this? Trying to recover...","path":"/var/lib/weaviate/block_spans_19/28516e75-5a04-492e-813d-8a92cb3c1506/lsm/property_permissions_group_ids/segment-1712053961575762335","shard":"28516e75-5a04-492e-813d-8a92cb3c1506","time":"2024-04-02T14:52:26Z"}
{"action":"lsm_recover_from_active_wal","class":"Block_Spans_19","index":"block_spans_19","level":"warning","msg":"active write-ahead-log found. Did weaviate crash prior to this? Trying to r
POST /products/_doc/_bulk
{"index": {"_id":1}}
{"name": "Playstation 4 FIFA 2018 Ronaldo edition", "displayName": "FIFA 18 RONALDO EDITION PS4", "releaseDate": "01/10/2018"}
{"index": {"_id":2}}
{"name": "Sony UHD TV 43 inch", "displayName": "KD-43XD8305", "releaseDate": "01/06/2018"}
{"index": {"_id":3}}
{"name": "Black & Decker Accuboormachine", "displayName": "BLACK & DECKER BDCHD18BAFC-QW", "releaseDate": "01/07/2016"}
{"index": {"_id":4}}
{"name": "Lenovo 13-14 inch basis laptop", "displayName": "LENOVO IDEAPAD 320-14ISK 80XG0057MH", "releaseDate": "20/03/2018"}
{"index": {"_id":5}}
#ten cate
#dekbed
#foodstars
#ecosym
#paraplu
#balkenbrij
#allerhande box
#ube
#overhemd
#cantharellen
blauwe kaas
blauwekaas
vaatwas tabletten
vaatwastabletten
soja drink
sojadrink
italiaanse groente
italiaansegroente
baby voeding
babyvoeding
DELETE test
PUT test
{
"settings": {
"number_of_replicas": 0,
"number_of_shards": 1
},
"mappings": {
"test": {
"properties": {
@byronvoorbach
byronvoorbach / composite_icm_date_histo
Created December 20, 2017 13:15
Possible bug when using date_histo icm composite aggregation - Elasticsearch 6.1.1
DELETE tickers
PUT tickers
{
"settings": {
"number_of_shards": 1,
"number_of_replicas": 0
},
"mappings": {
"tickers": {
@byronvoorbach
byronvoorbach / filters.txt
Created October 4, 2017 13:52
(Graphical) Filters
#LEXISNEXIS
DELETE shop
PUT shop
{
"settings": {
"number_of_shards": 1,
"number_of_replicas": 0
},
"mappings": {
PUT webshop
{
"settings": {
"number_of_shards": 1,
"number_of_replicas": 0,
"analysis": {
"filter": {
},
"analyzer": {
@byronvoorbach
byronvoorbach / collapse.inner_hits.bug.txt
Created May 15, 2017 11:23
ES 5.4 - Field Collapsing + inner hits throws exception
## Example gist, showing a possible bug in inner_hits workings in collapse feature when size > amount of results.
DELETE webshop
#Create some products
POST webshop/product/1
{
"title": "The Division - PS4",
"family_id": 1
}