Questions tagged [elasticsearch-percolate]
56 questions
6
votes
1 answer
How to percolate simple_query_string/query_string query
Index:
{
"settings": {
"index.percolator.map_unmapped_fields_as_text": true,
},
"mappings": {
"properties": {
"query": {
"type": "percolator"
}
}
}
}
This test…

Rrr
- 1,747
- 3
- 17
- 22
6
votes
0 answers
Highlighting match phrase instead word phrase in ElasticSearch
We are working with percolators in ElasticSearch, and we need get a complete highlighting by phrase instead word by word:
As example, we have the next search:
curl -X GET "localhost:9200/my-index/_search" -H 'Content-Type: application/json' -d'
{
…

SalahAdDin
- 2,023
- 25
- 51
6
votes
1 answer
Using NEST to percolate
I'm indexing my query as follows:
client.Index(new PercolatedQuery
{
Id = "std_query",
Query = new QueryContainer(new MatchQuery
{
Field = Infer.Field(entry => entry.Message),
Query = "just a text"
…

Marek M.
- 3,799
- 9
- 43
- 93
6
votes
1 answer
Elastic Search MUST + at least one SHOULD in percolator query
Im trying to make suggestions to users based on several factors:
•Suggestions MUST only be students from the same college
•Suggestions MUST match at least one other field
I thought I had it but the problem is this query will return ALL students…

ChuckKelly
- 1,742
- 5
- 25
- 54
6
votes
1 answer
How to Optimize elasticsearch percolator index Memory Performance
Is there a way to improve memory performance when using an elasticsearch percolator index?
I have created a separate index for my percolator. I have roughly 1 000 000 user created saved searches (for email alerts). After creating this percolator…

richardpj
- 413
- 4
- 10
6
votes
2 answers
Scoring in elasticsearch percolate-response
Current Situation
I am using the percolate feature of elasticsearch. It works all well - I get the matching percolate-ids back for a new document and can build basically an inverse search. Up until now all great.
Problem
Here comes the problem: I…

Patrick Meier
- 444
- 1
- 6
- 14
5
votes
0 answers
Percolate in PostgreSQL
What we usually do is index documents and get them back by querying. What the percolator allows to do in a nutshell is index queries and percolate documents against the indexed queries to know which queries they match. It's also called reversed…

Romper
- 2,009
- 3
- 24
- 43
5
votes
1 answer
Perl module for Elastisearch Percolator
I'm trying to use the Elasticsearch Percolator with perl and I have found this cool module.
The Percolation methods are listed here
As far as I can tell they're just read methods, hence it is only possible to read the queries index and see if a…

barbasa
- 675
- 4
- 22
5
votes
1 answer
Getting ElasticSearch Percolator Queries
I'm trying to query ElasticSearch for all the percolator queries that are currently stored on the system. My first thought was to do a match_all with a type filter but from my testing they don't seem to be returned if I do a match_all query. I…

JDP10101
- 81
- 9
4
votes
0 answers
How important is it to use separate indices for percolator queries and their documents?
The ElasticSearch documentation on the Percolate query recommends using separate indices for the query and the document being percolated:
Given the design of percolation, it often makes sense to use separate indices for the percolate queries and…

MattM
- 1,159
- 1
- 13
- 25
4
votes
1 answer
How to set up percolator to return when an aggregation value hits a certain threshold?
Take the following aggregation query as an example:
{
"query": {
"match_all": {}
},
"aggs": {
"groupBy": {
"terms": {
"field": "CustomerName"
},
"aggs": {
"points_sum": {
"stats": {
…

Jim
- 4,509
- 16
- 50
- 80
3
votes
0 answers
Index phrase query as percolator
I'm trying to percolate some texts and add hyperlink to matches. But before adding hyperlink, I couldn't figure how to highlight words more than one. Here is my happy path for the scenario:
Adding mapping like this:
curl -X PUT…

Kerem
- 840
- 7
- 22
3
votes
1 answer
How to create percolate index in Elasticsearch by multiple fields
I have an index: products
curl -XPUT "http://localhost:9200/products/product/1" -d'
{
"title": "Iphone 6",
"category_id": 4,
"price": 7788,
"owner_id": 21
}'
How to create percolate index for 3 fields: title, category_id,…

Romper
- 2,009
- 3
- 24
- 43
3
votes
1 answer
How to improve percolator performance in ElasticSearch?
Summary
We need to increase percolator performance (throughput).
Most likely approach is scaling out to multiple servers.
Questions
How to do scaling out right?
1) Would increasing number of shards in underlying index allow running more percolate…

Dennis Gorelik
- 1,234
- 1
- 11
- 15
3
votes
2 answers
Percolate not returning results as expected
We're trying to set up and use percolate, but we aren't quite getting results as expected.
First, I register a few queries:
curl -XPUT 'localhost:9200/index-234234/.percolator/query1' -d '{
"query" : {
"range" : {
"price" : {…

zsquare
- 9,916
- 6
- 53
- 87