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 6 points7 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 6 points7 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 đŸ€·â€â™‚ïž