Questions tagged [sense]

A JSON aware developer console to ElasticSearch.

A JSON aware interface to ElasticSearch. Comes with handy machinery such as syntax highlighting, autocomplete, formatting and code folding.

Once installed, you can click on the ElasticSearch icon next to your url bar to open Sense in a new tab.

Sense on Chrome Web Store:-

https://chrome.google.com/webstore/detail/sense/doinijnbnggojdlcjifpdckfokbbfpbo?hl=en

On Github:-

https://github.com/bleskes/sense

Note:- The development of Sense has moved into Elasticsearch Marvel, you can find it here: http://www.elasticsearch.org/overview/marvel/

125 questions
2
votes
0 answers

How to control startup with joystick on sense hat

We are trying to write a code that starts raspberry pi when you hit the joystick of the sense hat. Code that acknowledges when joy stick is pressed from sense_hat import SenseHat sense = SenseHat() while True: for event in…
2
votes
1 answer

xcode 4 dot notation code sense problem

if i use dot notation in xcode 4 code completion doesn't work for me (pressing ESC): NSString *s = @"demo"; NSLog(@"%lu", [s length]); //[s code completion works fine NSLog(@"%lu", s.length); //s. code completion doesn't work ??
gert
  • 21
  • 1
2
votes
0 answers

ElasticSearch - Querying Embedded Nested Objects

Trying to have a Nested docs in a parent element. So, I have a location property and inside that I have phoneNumbers "Nested" group of phoneNumbers. Trying to query this for documents that have multiple phone numbers. Data Set _source: { id:…
Redmoomba
  • 41
  • 1
  • 6
2
votes
1 answer

How to find (many) documents with the same property in Elasticsearch?

I have an index with "event" documents. Each event has a property called "receiptId". Several events can have the same receiptId. I need to find a receiptId with at least 1000 events - how can I write some kind of query for that? I use Sense. I'm…
2
votes
0 answers

elasticsearch kibana regex to find phone number within string field

I tried using the follow query to search for all those which are like phone number within elastic search. This was the query I tried. However, it does not give me the right answer. { "query": { "bool": { "must": [ { …
Sharath
  • 57
  • 10
2
votes
1 answer

escape special character in elasticsearch query

My question is simple, I can't use @ in the search query. Finally, I found that I can escape the special characters using the backslash. GET index/_search { "size": 20, "query": { "query_string": { "query": "\@as", "analyzer":…
Tamizharasan
  • 293
  • 1
  • 5
  • 18
2
votes
1 answer

ElasticSearch: How do I search within a collection

I have the following structure of objects in ElasticSearch: { _id: 1, myObj: { myCol: [{id: 1, name:"1"}, {id: 2, name:"2"}, {id: 3, name:"3"}] } }, { _id: 2, myObj: { myCol: [{id: 2, name:"2"}, {id: 3, name:"3"}, {id: 4,…
Ilya Schukin
  • 303
  • 7
  • 11
2
votes
1 answer

Elastic search: Why simple query returns different score where all documents are equally relevant?

I have this query that returns me the customers who have age=40, do not have live in state "ID" and have balance>=20000 and balance<=30000? The query looks like: POST /bank/_search?pretty { "query": { "bool": { "must": [ {…
Sahil Sharma
  • 3,847
  • 6
  • 48
  • 98
2
votes
2 answers

Elasticsearch - Bulk insert using Sense Web Plugin in Windows

I am trying to import the accounts.json data using _bulk api as per the elastic search tutorial( https://www.elastic.co/guide/en/kibana/current/getting-started.html ). I'm using google-chrome's Sense plugin for this task. When i paste the url curl…
2
votes
0 answers

How to find documents which are causing mapping conflict in Elasticsearch

I have following Logstash filter: ... if [type] == "binarysize" { if ([file] =~ /svn/) { drop {} } grok { match => { "file" =>…
2
votes
3 answers

ElasticSearch Date Histogram Interval

Why my query contain filter from date, to date, but when use date histogram aggregation, start interval out of from date to date range(sometimes). My query filter from 2015-01-01 to 2015-01-31, interval start date must be in range 2015-01-01 to…
Giau Huynh
  • 300
  • 3
  • 15
2
votes
1 answer

View column headers in Elasticsearch's "sense"

I am new to using Elasticsearch and I am using the marvel development console to run sense queries. When I run a query (GET _cat/indices) I see the results, but I do not see column headers. How can I view the column headers using sense/marvel?
Rylander
  • 19,449
  • 25
  • 93
  • 144
2
votes
1 answer

elasticsearch: how to get only documents whose normalized scores (_score divided by max_score) are above certain threshold

While querying, I am trying to get only documents whose normalized scores(_score divided by max_score) are above a certain threshold. Is there any way to do that? I tried using function score, but I am getting a SearchPhaseExecutionException. My…
2
votes
1 answer

How to check elasticsearch query performance?

I need to check elasticsearch query performance. But due to caching I am unable to figure out actual query performance. Is there any way to stop caching. I had tried _cache/clear as per suggested below…
Roopendra
  • 7,674
  • 16
  • 65
  • 92
2
votes
2 answers

Registered ACTION_HEADSET_PLUG Listener triggers only a few times

I want to show a Notification after a the Headset was plugged in and hide it after it has been unplugged. Therefore I register the ACTION_HEADSET_PLUG Intent Listener in a BroadCastReceiver which is triggered at BOOT_COMPLETED. In my case I use HTC…
paulgavrikov
  • 1,883
  • 3
  • 29
  • 51
1
2
3
8 9