Re: Regexp Filter boost

2015-01-19 Thread Michael Irwin
uot;: { "query": "frank", "max_expansions": 5 } } } ] } } } when using the analyzer as explained in http://www.elasticsearch.org/blog/starts-with-phrase-matching/ On Monday, January 19, 2015 at 1

Regexp Filter boost

2015-01-19 Thread Michael Irwin
Hello, I'm trying to figure out if it's possible to boost hits based on a regexp. For example, searching through records with user's names, I'd like to boost those that start with the query. I've tried a query like the following but it doesn't work like I'd like: { "query": { "function_s

Re: Completion suggester troubles

2014-12-05 Thread Michael Irwin
(i.e. have them always in the format artist - > songname). This is optional. Note: *The result is de-duplicated if > several documents have the same output*, i.e. only one is returned as > part of the suggest result. > > Michele > > On Friday, 5 December 2014 15:42:54 UTC+1, Mi

Completion suggester troubles

2014-12-05 Thread Michael Irwin
I'm using the Completion suggester with v1.4.1, and I'm noticing an issue regarding case sensitivity. For example, I have this mapping: { "mappings": { "artist": { "properties": { "suggest": { "type": "completion", "payloads": true }, "name"

Re: Delete all of type across all indices

2014-11-13 Thread Michael Irwin
I finally figured it out with the help of someone on SO. The query that worked was DELETE logstash*/_query?q=_type:error On Monday, November 10, 2014 2:31:51 PM UTC-5, Michael Irwin wrote: > > I'm using logstash to store logs. I'd like to delete all logstash entries > of type

Delete all of type across all indices

2014-11-10 Thread Michael Irwin
I'm using logstash to store logs. I'd like to delete all logstash entries of type 'error'. I checked out the Delete by Query API, but I can't seem to figure out how to do what I want in this situation. Help! -- You received this message because you are subscribed to the Google Groups "elastics

Sorting weirdness

2014-10-25 Thread Michael Irwin
I have a mapping like this: "venue": { "type": "nested", "include_in_parent": true, "properties": { "name": { "type": "string" } } If I'm sorting by 'venue.name' ascending, why would a name like 'Terminal 5' be

Re: Kibana group by terms

2014-10-18 Thread Michael Irwin
That's what I needed. Thanks! -- Mike On 2014-10-18, Lorenzo Mangani wrote: > Michael, > > If the value is being parsed into separate words, just try using the > FIELD.raw version instead, > > > Best, > > LM > > On Friday, October 17, 2014 9:54:40 PM U

Kibana group by terms

2014-10-17 Thread Michael Irwin
I'm using Kibana w/ logstash to view web server logs. I'd like to add a graph that displays uniques of the *entire* User-Agent string. I've tried adding a terms graph, but that breaks the UA string into separate words, which is less than desirable in this situation. Is there a way to do this? -

Re: Architecture to prevent slow queries

2014-10-06 Thread Michael Irwin
Also, I would be grateful if someone could point me to some good general information about this kind of thing. On Monday, October 6, 2014 4:28:31 AM UTC-4, Michael Irwin wrote: > > I'm using ES for searching for events based on date and geo distance, as > well as textual content.

Architecture to prevent slow queries

2014-10-06 Thread Michael Irwin
I'm using ES for searching for events based on date and geo distance, as well as textual content. I'm also using logstash for handling app logging and analytics. I've noticed after I have millions of records from logging/analytics, the events search starts slowing down. I'm currently using jus