Hi People,
I use the following query to filter my data. Everything works great, untill
I want to use a price-range filter.
This range filter does not do exactly what I expect. I have a product in my
collection with the price=10. When I set the filter to gte:1 - lte:11, it
works, but gte:2 -
.
Kind regards,
Florentin
Am Dienstag, 27. Mai 2014 21:55:03 UTC+2 schrieb Dan:
Hi People,
I use the following query to filter my data. Everything works great,
untill I want to use a price-range filter.
This range filter does not do exactly what I expect. I have a product in
my collection
.
Dan
On Tuesday, April 8, 2014 1:11:46 PM UTC+1, cyrilforce wrote:
Hi,
I have a query as below :
multi_match : {
query : *happy*,
fields : [ *DISPLAY_NAME^8*, *PERFORMER* ],
type: *phrase_prefix*,
operator : AND
}
Result
I have 5 nodes in my cluster (I have set replicas to 0 for now), the status
is not moving from red:
curl -XGET 'http://localhost:9200/_cluster/health?pretty=true'
{
cluster_name : my-cluster,
status : red,
timed_out : false,
number_of_nodes : 5,
number_of_data_nodes : 5,
Thanks for your response.I can't see the method 'setFetchSource' in the
Client class. Are you sure that is in 1.0.0?
On Tuesday, February 25, 2014 8:41:37 PM UTC, Binh Ly wrote:
Yes you can use the client.setFetchSource() method:
SearchResponse response = client.prepareSearch(index)
Yes, I can see it. Thanks.
On 25 Feb 2014, at 22:23, Binh Ly binhly...@yahoo.com wrote:
Hmmm, can please double-check. I can see it from the tests here:
https://github.com/elasticsearch/elasticsearch/blob/v1.0.0/src/test/java/org/elasticsearch/search/source/SourceFetchingTests.java
--
I’m currently changing all of my facet code to use the new aggregations in
ElasticSearch 1.0. What aggregation should be used in place of the
QueryFacet?
--
You received this message because you are subscribed to the Google Groups
elasticsearch group.
To unsubscribe from this group and stop
I'm changing our current autocomplete implementation to use the new
autocomplete suggester as below. Is there a Java API available to send the
suggest search request to ElasticSearch?
http://www.elasticsearch.org/blog/you-complete-me/
--
You received this message because you are subscribed to
, 2014 4:18:16 PM UTC, Dan wrote:
I'm changing our current autocomplete implementation to use the new
autocomplete suggester as below. Is there a Java API available to send the
suggest search request to ElasticSearch?
http://www.elasticsearch.org/blog/you-complete-me/
--
You received
I upgraded to ES 1.0.1 and I have it running on our Test server, but it
keeps stopping after being up for a few hours. It is just a single node
with 5 shards. Any ideas on what might be causing this?
[2014-03-06 11:30:40,782][INFO ][node ] [Killraven]
started
[2014-03-06
Is it possible to use a path for the copy_to value? something like:
{
book: {
title: {
type: string,
properties: {
en: {
type: string,
copy_to: title.newTitle
},
newTitle: {
Hi Guys,
I have a simple query which is not working. I am using the same query on
another server with the same mapping; where it does work.
Everything else is working like a charm.
I am talking about the following query.
The problem is to be found when I using the query field tags query.
Nobody? :(
Op woensdag 10 september 2014 21:24:19 UTC+2 schreef Dan:
Hi Guys,
I have a simple query which is not working. I am using the same query on
another server with the same mapping; where it does work.
Everything else is working like a charm.
I am talking about the following query
vineeth mohan:
Hello Dan ,
Can you paste the above as JSON.
I am not exactly able to make out what is the query.
Thanks
Vineeth
On Thu, Sep 11, 2014 at 5:50 PM, Dan da...@adena.nl javascript: wrote:
Nobody? :(
Op woensdag 10 september 2014 21:24:19 UTC+2 schreef Dan:
Hi Guys
Thanks!! Thats it.
Op donderdag 11 september 2014 18:23:31 UTC+2 schreef vineeth mohan:
Hello Dan ,
The format of the entire query is wrong.
You need to at-least specify the type of query that you are using.
In this case , wild card query would be the best fit.
Thanks
Vineeth
Hello,
Is it possible to do a query string search on multi fields, where I can
determine the result order by field?
When a string is found in field-A it would be more important then an result in
field-B
[query] = Array
(
[query_string] = Array
(
?
Something which call nodes info API for example???
--
David ;-)
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
Le 31 mai 2014 à 16:23, Dan Spinner dan.s...@sonian.net javascript: a
écrit :
Has anyone else ran into this?
We didn't have this behavior on 90.5. While testing out
I'm trying to combine a date_histogram agg with a stats agg to find the
min/max within a bucket of documents, so far so good, but now I need a
field from the document where the Min/Max was actually found.
My index basically has millions of x,y datapoints that I want to search for
and plot.
} }
}
}
}
}
}
}
}
}
On Thursday, June 12, 2014 4:08:13 PM UTC-7, Dan Isla wrote:
I'm trying to combine a date_histogram agg with a stats agg to find the
min/max within a bucket of documents, so far so good
...],
:minimum_should_match = 1}}
I would like to know how many user_ids were matched.
Thanks,
Dan
--
You received this message because you are subscribed to the Google Groups
elasticsearch group.
To unsubscribe from this group and stop receiving emails from it, send an email
to elasticsearch+unsubscr
:26:23 PM UTC+2, Mark Walkom wrote:
Can you elaborate on the timeouts?
What Elasticsearch version, what java version?
Regards,
Mark Walkom
Infrastructure Engineer
Campaign Monitor
email: ma...@campaignmonitor.com javascript:
web: www.campaignmonitor.com
On 30 June 2014 18:40, Dan
Apartments simplicity or understood do it we. Song such eyes had and off.
Removed winding ask explain delight out few behaved lasting. Letters old
hastily ham sending not sex chamber because present. Oh is indeed twenty
entire figure. Occasional diminution announcing new now literature
Apartments simplicity or understood do it we. Song such eyes had and off.
Removed winding ask explain delight out few behaved lasting. Letters old
hastily ham sending not sex chamber because present. Oh is indeed twenty
entire figure. Occasional diminution announcing new now literature
.
Thanks,
Dan
--
You received this message because you are subscribed to the Google Groups
elasticsearch group.
To unsubscribe from this group and stop receiving emails from it, send an email
to elasticsearch+unsubscr...@googlegroups.com.
To view this discussion on the web visit
https
(compBuilder);
SuggestResponse suggestResponse =
suggestRequestBuilder.execute().actionGet();
Dan
On Mon, Apr 7, 2014 at 8:49 AM, Alexander Reelsen a...@spinscale.de wrote:
Hey,
looks ok. Minor note: Types are simply ignored for suggestions. What are
you getting back? Nothing?
Can you create
is the issue, if you remove that type the boost
will be applied. So it doesn't look like you can combine 'multi_match'
boosting with the 'phrase_prefix' as the type.
Dan
On Tuesday, April 8, 2014 5:15:38 PM UTC+1, cyrilforce wrote:
Hi Dan,
I have enabled an analyzer in mapping due to stopword
).getOptions().get(0);*
Where *getSuggestion* is getting the field name you supplied in the request.
Dan
So it looks like your query is returning zero results. Can you see values
indexed for the field 'at'
On Tuesday, April 8, 2014 4:07:57 PM UTC+1, Bill Wortinger wrote:
Great resource! Thank you
entry = entryList.get(0);
ListCompletionSuggestion.Entry.Option options = entry.getOptions();
if (options != null) {
CompletionSuggestion.Entry.Option option = options.get(0);
//the value of toReturn is 'FooFighters'
String toReturn = option.getText().string()
}
Dan
index, the term 'Happier' in appears twice your index therefore it has
a higher score for idf.
Dan
On Friday, April 11, 2014 4:45:58 AM UTC+1, cyrilforce wrote:
Hi,
I have a question on how the scoring being computed on the following query
:
{
from : 0,
size : 60,
explain : true
aggregations on
nested types without having to add a *Key field for each one.
Is there a way to filter terms aggregations on nested types while
returning the count of parent docs, not nested docs?
Thanks,
Dan
--
You received this message because you are subscribed to the Google Groups
elasticsearch
)
.field(type, completion)
.endObject()
.endObject()
.endObject().execute().actionGet());
Which will create the JSON:
{
test: {
properties: {
suggest: {
type: completion
}
}
}
}
Dan
On Tuesday, April 15, 2014 2:31:01 PM UTC+1, Bill
Make it a phrase query:
http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-match-query.html#_phrase
or with the query_string:
{
bool: {
must: {
query_string: {
query: (symbol:\AUD/USD\)
}
}
}
}
Dan
This sounds exactly like what I need! I guess I can live with my
workaround until reverse_nested becomes available.
Thanks,
Dan
--
You received this message because you are subscribed to the Google Groups
elasticsearch group.
To unsubscribe from this group and stop receiving emails from
, completion)
.endObject()
.endObject()
.endObject()
.endObject().execute().actionGet());
Dan
On Tuesday, April 15, 2014 3:44:23 PM UTC+1, Dan Tuffery wrote:
You're missing the index 'type' and 'properties' objects from the index
mapping
query:
curl -XGET 'http://localhost:9200/message_index/message_indext/_search' -d
'{query:{wildcard:{URL.untouched:http://www.mohit-kumar-yadav.com*}}}'
Dan
On Thursday, April 17, 2014 8:55:20 PM UTC+1, Mohit Kumar Yadav wrote:
hi folks,
In my document there is a field which contians only URL
You could use a script filter:
filtered : {
query : {
...
},
filter : {
script : {
script : doc['subject'].value.length() 20
}
}
}
Dan
On Thursday, May 22, 2014 8:45:41 AM UTC+1, David Nielsen wrote:
Hi.
I am trying to find a way
This looks similar to this
bug https://github.com/elasticsearch/elasticsearch/issues/4703 thought
that's with has_child filters and doesn't throw an error. I wonder if it's
a related issue though?
There's both curl and JUnit test cases attached there if that helps.
Cheers,
Dan
--
You
a node is known
about, its existence should be communicated to the other nodes.
Cheers,
Dan
--
Dan Fairs | dan.fa...@gmail.com | @danfairs | secondsync.com
--
You received this message because you are subscribed to the Google Groups
elasticsearch group.
To unsubscribe from this group and stop
Hi Jörg
Dan, no problem, I can build a version against 0.19.8
That would be much appreciated - many thanks! :)
(Happy to have a go myself if you can point me towards some basic instructions
- but I suspect it's a 5-minute thing for you, and two days for me, as a Python
person!)
Let me know
,
Dan
--
Dan Fairs | dan.fa...@gmail.com | @danfairs | secondsync.com
--
You received this message because you are subscribed to the Google Groups
elasticsearch group.
To unsubscribe from this group and stop receiving emails from it, send an email
to elasticsearch+unsubscr...@googlegroups.com
a term facet on the field in
question, and counting the number of entries.
I'd also note that we don't do this in live web requests, but in batch jobs,
and store the result!
Cheers,
Dan
--
Dan Fairs | dan.fa...@gmail.com | @danfairs | secondsync.com
--
You received this message because you
, Dan dan.tuff...@gmail.com wrote:
I found an example in the tests, if anyone else is looking for it and
comes across this post:
SuggestResponse suggestResponse =
client().prepareSuggest(INDEX).addSuggestion(
new
CompletionSuggestionBuilder(testSuggestions).field(FIELD).text
suggestor for one field here
},
id2 : {
.//put your suggestor for second field here
}
}
-Amit.
On Thu, Mar 6, 2014 at 9:10 AM, Dan Tuffery dan.tuff...@gmail.com wrote:
Thanks Amit. Is there anyway to execute the autocomplete suggest on
multiple fields within
There's nothing else in the logs.
On Thu, Mar 6, 2014 at 11:18 PM, Binh Ly binhly...@yahoo.com wrote:
I would check the log files and see if there is anything else there...
--
You received this message because you are subscribed to the Google Groups
elasticsearch group.
To unsubscribe
I using the top hits aggregation with a has_child query. In the top_hits
aggregation documentation it says '*By default the hits are sorted by the
score of the main query*', but I'm not seeing that in the results for my
query
{
from: 0,
size: 3,
query: {
has_child: {
}
}
]
}
}
This returns the following result.
On Tuesday, August 19, 2014 8:47:40 AM UTC+1, Martijn v Groningen wrote:
Hi Dan,
The buckets of there replies terms agg are sorted by default by their doc
count, but the hits inside topChildren agg are sorted by default by the
score
I should have looked at the documentation first :) it is 'doc.score'.
http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/modules-scripting.html#_score
On Tuesday, August 19, 2014 7:07:18 PM UTC+1, Dan Tuffery wrote:
Hi Martijn,
Thanks for your response, that seems like
Is there are release date scheduled for ES 1.4.0? I need the child
aggregation for the project I'm working on at the moment.
https://github.com/elasticsearch/elasticsearch/pull/6936
Dan
--
You received this message because you are subscribed to the Google Groups
elasticsearch group
I'm having the exact same issue.
Zero values are not drawn on the histogram.
Is this a feature or a bug?
If I wanted to try and fix this, where should I look in the code?
Thanks,
Dan.
On Tuesday, September 30, 2014 5:09:21 PM UTC+3, Samuel Merlet wrote:
Hi,
I can't figure out how
running your query directly with curl, or something else that doesn't have
javascript in the pipeline.
(Interesting aside: we also noticed that the popular 'jq' utility also has
problems with long values...)
Cheers,
Dan
--
Dan Fairs dan.fa...@gmail.com | @danfairs
--
You received this message
If I have mapped an alias to more than one index and I execute a search
using the alias name, will the idf be calculated for each individual index
or will the idf calculation take into consideration all of the indexes that
are mapped to the alias?
--
You received this message because you are
I'm running:
elasticsearch-1.4.0_1
logstash-1.4.2_1
kibana-3.1.1
on FreeBSD 9.3
On initial setup, the prebuilt dashboard: (Logstash Dashboard) at
/index.html#/dashboard/file/logstash.json worked
I added more panels from github. The Logstash Dashboard still worked.
Then it didn't.
screen
SOLVED.
Not sure how, but while messing around with the nginx.conf files, it
started working. Sorry I do not have more information which points
directly to the solution.
--
You received this message because you are subscribed to the Google Groups
elasticsearch group.
To unsubscribe from
Is it possible to install plug-ins to elasticsearch when running it under
yarn? I can't quite seem to figure out how to invoke the plugin command via
hadoop
Thanks
Dan
--
You received this message because you are subscribed to the Google Groups
elasticsearch group.
To unsubscribe from
data would live between restarts
So how would one configure elasticsearch-yarn for the recommended approach?
Does one make changes in the elasticsearch.zip's config files? If so, what
settings?
Thanks
Dan
--
You received this message because you are subscribed to the Google Groups
seem to achieve anything.
OR, is there another way to get autocomplete suggestions for words?
Cheers,
Dan
--
You received this message because you are subscribed to the Google Groups
elasticsearch group.
To unsubscribe from this group and stop receiving emails from it, send an email
I'd like to create a mapping on an index, specifying a particular field,
TCNAME, as a non-analyzed string. This seems straightforward when you're
mapping against a field at the root node, or even a field nested deeper
within a document in cases where there is a predictable pattern of field
Hello elasticUs, I want to know which is the best route to index a text that
contains codes (for example 1/56DTH) and other normal text but without
losing benefits of analyzed text.
For example I want index the text:
Every night I need to restart my robots 1/56DTH
If I use an standard english
The logs for the 5th and 6th of April have no error messages. But on the
4th, perhaps this issue? FYI,the IP address mentioned is the box from
which this log is taken.
2015-04-03 21:40:06,810][DEBUG][action.admin.indices.stats] [Analyzer]
[kibana-int][0], node[7WrGQp7eR96iVCnprjokJA], [P],
In a previous discussion of Significant Terms
(https://groups.google.com/forum/?utm_medium=emailutm_source=footer#!msg/elasticsearch/EQ1ysXVC5TU/rloTy6ZrHusJ),
one of the recommendations to reduce memory usage was:
Use Doc Values in your index mappings to hit disk instead of using es
I'm seeing this:
{
cluster_name : elasticsearch,
status : red,
timed_out : false,
number_of_nodes : 4,
number_of_data_nodes : 2,
active_primary_shards : 4,
active_shards : 8,
relocating_shards : 0,
initializing_shards : 0,
unassigned_shards : 2,
indices : {
kibana-int :
61 matches
Mail list logo