Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
33 views

I know I can query index creation time with curl 'http://localhost:9200/_cat/indices?v&h=index,creation.date.string'. Is there a similar query which I can check index update time (not creation ...
m7xtuf's user avatar
  • 41
0 votes
1 answer
53 views

Create the Index with Query-Time Analyzer Only: PUT /local_persons { "settings": { "analysis": { "analyzer": { "person_search_analyzer": { ...
Ajay's user avatar
  • 4,251
0 votes
1 answer
41 views

I am looking to create an index called 'story' in Elasticsearch. This index will store multiple documents, each containing a field called 'description' which provides some information about the story ...
Shrayam Mitra's user avatar
0 votes
1 answer
185 views

how to use "more Like this" query score to function score in Elasticsearch static FunctionScore mltFunctionScore(String text, Double weight, List<String> fields) { return ...
vane's user avatar
  • 41
0 votes
0 answers
23 views

I have aggregation output having two datasets, need to find the key values present in both. { "aggregations":{ "data4hr":{ doc_count:12345, "NAME":{ ...
Sajid Ta's user avatar
0 votes
1 answer
497 views

Im using ES version 6.8, trying to do a query with the Java High Level REST Client. I'm trying to use the Histogram Date Aggregation to get the count of documents by date. This is my query: { "...
roditoo's user avatar
  • 11
0 votes
1 answer
224 views

I have a data available in ES in the below format. Lets call each json object as campaign object. {id:"c1", tags:[{key:"k1",value:"v1"}, {key:"k2",value:"...
code121's user avatar
  • 21
0 votes
0 answers
89 views

To brief:(Elastic Search) I have set of IDs [12,32,44,32], I need to prioritize the records based on the list of IDs, means I need to bring the record which has the IDs one among the above mentioned ...
user avatar
0 votes
1 answer
86 views

Trying to search within an Index by query string, sort by numeric field all within a specific radius. There is no reference in the Elastic documentation, so I may have to solve it at the application ...
Josh_Breier's user avatar
0 votes
1 answer
106 views

I'm searching for the following index: { "_index": "example-index", "_type": "_doc", "_id": "C-123", "_version": ...
flosam's user avatar
  • 1
0 votes
1 answer
52 views

I want to store multiple numerical ranges (array of integer_range) for a document. Each set of ranges is associated to a unit (a text field). Here's an example: PUT nested_index/_doc/1 { "...
perryizgr8's user avatar
0 votes
2 answers
134 views

I've been trying to use the **unique ** token filter in my analyzer, but it continue to use duplicate tokens while scoring. Analyzer: { "settings": { "analysis": { ...
KseniaT's user avatar
1 vote
1 answer
1k views

There is a 'remark' field in an Elasticsearch index that contains various remarks along with the date when that remark was given. For example: remark ------ 14/02/2023 To be updated ; 15/02/2023 ...
Manoj Agarwal's user avatar
0 votes
1 answer
57 views

my data is, POST index_name/_doc/1 { "created_date" : "2023-02-09T13:21:41.632492", "created_by" : "hats", "data" : [ ...
Harshin Ramesh's user avatar
0 votes
1 answer
892 views

I have an index user. I'm filtering user on LOCATION_ID and _source consists of PHONE_NUMBER & USER_ID, some of the documents do not have PHONE_NUMBER data. It returns a response with just USER_ID....
Divyansh Rajput's user avatar
1 vote
1 answer
143 views

What is the exact difference between Query String and Simple Query String? The only difference that is mentioned in the docs is that Query String is more advanced but throws an exception when a sent ...
sheharbano's user avatar
1 vote
1 answer
631 views

How can I query elastic search based on the number key? JSON field name years_of_experience : "{\"61\": \"10\", \"8240\": \"5\", \"8249\": \"...
Arsalan Subhan's user avatar
0 votes
1 answer
708 views

first of all, this is my very first post on here, so bear with me I am trying to find a proper way to sort on an elasticsearch nested field in a class which is defined as follows: public class ...
Feideus's user avatar
0 votes
1 answer
43 views

One of my document (id = emergency) is a circle having a 30000 meter radius: GET seller-67/_doc/emergency { "_index": "seller-67", "_type": "_doc&...
woshitom's user avatar
  • 5,169
1 vote
1 answer
128 views

Why can't I get the same result in the second query as in the third one? What am I doing wrong? I make this query: { "size": 20, "track_total_hits": false, "_source&...
Slad's user avatar
  • 17
0 votes
1 answer
45 views

I try to write a query where I have multiple Exact search terms lets say an array of strings like ["Q4 Test WC Schüssel", "Q4_18 Bankerlampen", "MORE_SEARCHTERMS"] And I ...
squadwuschel's user avatar
  • 3,448
0 votes
1 answer
680 views

I am struggling with an elasticsearch query. In the fields option, we have specified '*' which means it should look in all fields as well as given the higher weights to a few fields. But it isn't ...
sheharbano's user avatar
0 votes
1 answer
548 views

I want to add one more field inside match inside function block in my query, but when i am adding, i am getting an error ------ "reason" : "[match] query doesn't support multiple fields,...
Vineet Vinayak's user avatar
0 votes
1 answer
38 views

I would like to know if there is a way to define a time range as follows. With a watcher I am looking for records with a certain message within a field. The problem is that I want it to find the ...
Uriel Arenas's user avatar
1 vote
0 answers
43 views

Is there a standard seach possibility to find closest docs to one reference doc by date criteria (if I don not know range yet) Example dataset: index “person” - doc : name=>Alice birthday=>01....
Eva Err's user avatar
  • 11

1
2 3 4 5
13