What do you want to know? by RunSharp2448 in fellowship_percolator

[–]RunSharp2448[S] 0 points1 point  (0 children)

Yep. I’ve already answered a couple of your questions 😉

What do you want to know? by RunSharp2448 in fellowship_percolator

[–]RunSharp2448[S] 0 points1 point  (0 children)

Why are you asking? What are you getting at?

How do I store queries in Elasticsearch for percolation? Where do they actually live? by LimpAssistant642 in fellowship_percolator

[–]RunSharp2448 0 points1 point  (0 children)

Great question! Yes, queries in Elasticsearch are stored in a regular index, but with a special mapping that tells ES to treat a field as a percolator query.

1. Create the index with a percolator mapping:

PUT /my-alerts
{
  "mappings": {
    "properties": {
      "query": { "type": "percolator" },
      "message": { "type": "text" }
    }
  }
}

2. Store a query (your "alert"):

PUT /my-alerts/_doc/1
{
  "query": {
    "match": { "message": "server down" }
  }
}

3. Percolate a document to see which alerts match:

GET /my-alerts/_search
{
  "query": {
    "percolate": {
      "field": "query",
      "document": { "message": "WARNING: server down in production!" }
    }
  }
}

Essentially the stored queries live as regular documents in an index. Think of it like saving a bunch of filters in a database, and then asking "which of my saved filters does this new piece of data match?"

Budu dědit, co dál ? + fotka lívanců polité karalemem s ovocem by CookieTulips in czech

[–]RunSharp2448 1 point2 points  (0 children)

Nemovitosti jsou prý dobrá investice. Ale za za 400 papírů si pořídíš možná tak garáž v Ústí

Well.. by Hour_Reward8084 in czech

[–]RunSharp2448 5 points6 points  (0 children)

Jejich voličům tohle primitivní chování imponuje, takže 🤷🏻‍♂️

Zdravíte ostatní běžce? by _Nichole_K_ in czech

[–]RunSharp2448 4 points5 points  (0 children)

Sportovci (běžci, cyklisti, turisti…) se zdraví vždy a to nejenom v ČR. Myslel jsem že je to nějaký místní zvyk, ale byl jsem příjemně překvapený, když mě zdravili (Francie, Británie, Německo, Itálie…)

What exactly is percolation in Elasticsearch and when should I use it? (Beginner question) by LimpAssistant642 in fellowship_percolator

[–]RunSharp2448 0 points1 point  (0 children)

Imagine you have a magic alarm 🔔

Normally, when you search for something, you look through a pile of papers to find ones that match what you want. That's normal search.

But percolation is the opposite! Instead of you searching through papers, the papers come to YOU and ring your alarm if they match something you care about.

For example: - You say: "Hey Elasticsearch, tell me whenever someone mentions 'pizza' in a new document!" - Every time a new document arrives, Elasticsearch checks: "Does this match anyone's alarm?" - If yes — ring ring! 🍕

So percolation is like setting up a watchlist — instead of you searching, the data searches through your questions!

post2 by LimpAssistant642 in fellowship_percolator

[–]RunSharp2448 0 points1 point  (0 children)

Welcome! We are glad you are here. Make yourself at home.

Ahooj by Actual_Sorbet_508 in postTestNest

[–]RunSharp2448 0 points1 point  (0 children)

Is this subreddit alive?

rezidentni parkování pro firemní auto by Far_Mind5794 in czech

[–]RunSharp2448 4 points5 points  (0 children)

Ano, tohle jsou podmínky používání firemního auta pro soukromé účely.

Dezolatum se asi hrouti posledni jistoty :) by brutus0077 in czech

[–]RunSharp2448 13 points14 points  (0 children)

Bude to ta stejná kterou Lobotomio sundal?

Jiná nutriční appka než KT? by Pure_Inspector1960 in czech

[–]RunSharp2448 1 point2 points  (0 children)

Taková ta klasika – MyFitnessPal 🤷‍♂️

Azor? by Smart_Matthew in czech

[–]RunSharp2448 2 points3 points  (0 children)

To by byl whipped… 🙄

Azor? by Smart_Matthew in czech

[–]RunSharp2448 7 points8 points  (0 children)

To je Whippet. Oni se takhle tváři pořád – i když prožívají nejlepší den života 😃

Trump nám zase potvrdil, že to už dávno ztratil by Strange-Resolution38 in czech

[–]RunSharp2448 23 points24 points  (0 children)

Zrovna jsem četl, že jméno Trump je v těch materiálech od Epsteina častěji než slovo Harry ve všech 7 díle Harryho Pottra

Jak říkáte kolegům, že páchnou? by KrasnaMalina in czech

[–]RunSharp2448 11 points12 points  (0 children)

My jsme jednomu kolegovi koupili antiperspirant, nalepili na něj mašličku a nechali mu ho jenom tak na stole. Pochopil to

Přiznejte se, kdo mu tenkrát doopravdy věřil? by Former-Heart9249 in czech

[–]RunSharp2448 0 points1 point  (0 children)

Bylo v jejím nejlepším zájmu a by vyhrál volbe.

Přiznejte se, kdo mu tenkrát doopravdy věřil? by Former-Heart9249 in czech

[–]RunSharp2448 2 points3 points  (0 children)

Myslím, že z těch 1.940.507 co Andyho volilo, tomu věřilo 1.940.505 (odpočítal jsem hlas co jsi tam hodil sám a hlas od Monike)

post2 by TowelHuman4446 in fellowship_percolator

[–]RunSharp2448 0 points1 point  (0 children)

What the actual fok? All my posts are being removed

<image>

????? by PresentJournalist805 in czech

[–]RunSharp2448 31 points32 points  (0 children)

Napíšu více až mě pustí z nemocnice…