Questions tagged [elasticsearch-percolate]

56 questions
1
vote
1 answer

Elasticsearch alerting based notifications

I write an e-commerce website. I use elasticsearch. I must write a price alert system with product prices. I know Percolate query can be used for this job. But I did research on the internet, but I could not find a page with examples. How can I? Is…
ercvs
  • 337
  • 1
  • 5
  • 13
1
vote
0 answers

Elasticsearch percolate performance

I use percolator(Elasticsearch 2.3.3) and i have ~100 term queries. When i percolate 1 document in 1 thread, it took ~500ms: {u'total': 0, u'took': 452, u'_shards': {u'successful': 12, u'failed': 0, u'total': 12}} TIME 0.467885982513 There are 4…
maxx
  • 135
  • 1
  • 1
  • 9
1
vote
2 answers

Using Elastic4s for Percolator Queries

I'm currently trying to create a percolator query with Elastic4s. I've got about this far but I can't seem to find any examples so I'm not sure how this quite works. So I've got: val percQuery = percolate in esIndex / esType query…
Ryan Wilson
  • 1,743
  • 3
  • 15
  • 26
1
vote
0 answers

Elasticsearch percolation + script filter using groovy switch

I can't get the percolation to work with a script filter using a groovy switch. I create a document like this curl -XPUT http://localhost:9200/perc_test/perc_type/1 -d'{"v": true}' => (OK)…
Clément Prévost
  • 8,000
  • 2
  • 36
  • 51
1
vote
1 answer

Efficiency of the ElasticSearch percolator versus querying

I have job candidates and job listings. I am trying to determine which candidates are qualified for a particular listing. We already have every listing indexed in ES. The two ways that I see that I could do this are: Index every candidate in ES,…
jdotjdot
  • 16,134
  • 13
  • 66
  • 118
1
vote
1 answer

ElasticSearch Percolator Scalability

If documents are indexed on tags and 100,000 users are interested in documents with specific tags, will percolator evaluate all 100,000 queries or just those that are querying on tags that are present in a given document?
teslan
  • 71
  • 4
1
vote
0 answers

How to Pass Raw JSON to RegisterPercolator in ElasticSearch NEST?

I am trying to create an object-agnostic Percolator microservice in C#. I can create and map an index passed into my method using a JSON object for the mapping, I can even then register a percolator against the index using the standard NEST query…
Draekane
  • 31
  • 2
  • 6
1
vote
3 answers

Elasticsearch Percolator with python api

Hi I am trying to do a percolator index using "elasticsearch.py" api. But I am not even getting any results. The API documentation seems to have 3 or 4 functions related to percolation. I have checked the following possibilities. can anyone be of…
user3116355
  • 1,187
  • 3
  • 14
  • 17
1
vote
0 answers

Maximum elasticsearch percolator query terms

Is there a maximum number of terms in an elasticsearch percolator query? When trying to index a query that has over a 1000 terms, I am getting a StackoverflowError like this: java.lang.StackOverflowError at…
0
votes
0 answers

Is there a way to identify matching nested items in ElasticSearch percolator?

I have a percolator query in ES as the following- "query": { "bool": { "filter": [{ "nested": { "path": "Person", "query": { "bool": { "filter": [{ …
0
votes
1 answer

Test query against documents in Elasticsearch without storing them in index

I have a set of documents that are not stored in any Elasticsearch index (and I don't want to) that I want to test against an Elasticsearch query. Basically I want to see how the Elasticsearch analyser would respond to an arbitrary query against…
Erik Rothoff
  • 4,826
  • 9
  • 41
  • 59
0
votes
1 answer

Why I have an ElasticSearch percolate query error?

When I am creating an index in ElasticSearch and trying to use percolate, I had an error that field with percolate type is not exists in index. But when I'm watching in index, field exists. I will show you mapping, how doc is looks like in index,…
0
votes
1 answer

ElasticSearch Blacklist (Subset Matching)

I'd like to implement a keyword blacklist using ElasticSearch. Basically I want to create a list of banned queries that a user is not allowed to search for. Then I want to be able to pass in a checked query and see which banned queries it matches…
0
votes
1 answer

elasticsearch percolate java api example

Need example for elasticsearch percolate using elasticsearch java rest API Could not find in elasticsearch docs In previous versions of elastic below is the code for transport client, not sure which one to be used for rest client PercolateResponse…
0
votes
1 answer

Best way to include aggregated document counts as part of percolation queries

Imagine that I have a stream of events, each of which with a particular event type and scoped to a particular user/account Users can set up alerts of the form Send alert when event A has occurred 3 times within the last year/month/day etc. I'd…
Tarlen
  • 3,657
  • 8
  • 30
  • 54