.
Thanks
Vineeth Mohan,
Elasticsearch consultant,
qbox.io ( Elasticsearch service provider http://qbox.io/)
On Tue, Jun 23, 2015 at 1:30 PM, Muddadi Hemaanusha
hemaanusha.bu...@gmail.com wrote:
Hi,
Am using fields with nested type, in the mappings I kept
Hello David ,
Very interesting finding.
As i see the only way for this to happen is to index the same document ID
with different routing keys or parent ID's even.
Have anything of these have happened while indexing ?
Thanks
Vineeth Mohan,
Elasticsearch consultant
Hello ,
I think that is cause you missed the _search in the second query.
http://localhost:9200/one/employee/_search?q=emp_id:4318W01149
The above might work.
Thanks
Vineeth Mohan,
Elasticsearch consultant,
qbox.io ( Elasticsearch service provider http
Hi ,
There is an bool filter
https://www.elastic.co/guide/en/elasticsearch/reference/1.6/query-dsl-bool-filter.html
that you can use for the same.
Put in multiple filters under the must clause and it should work just fine.
Thanks
Vineeth Mohan,
Elasticsearch consultant
}
}
}
}
Hope this helps,
Colin
On Tuesday, April 21, 2015 at 4:31:21 PM UTC+1, vineeth mohan wrote:
Hi ,
For scripted metric aggregation
http://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-metrics-scripted-metric-aggregation.html
,
in the example shown
Hello Daniel ,
Feel free to use should clause in bool filter
http://www.elastic.co/guide/en/elasticsearch/reference/1.4/query-dsl-bool-filter.html
.
Here you can give multiple terms filter and each of them can point to a
different document/field.
Thanks
Vineeth Mohan
Hello Zaid ,
It seems so.
But then you can anytime take the document , make the changes and index it
back to the same docID.
That does not need any scripting capability.
Thanks
Vineeth Mohan,
Elasticsearch consultant,
qbox.io ( Elasticsearch service provider http
Hi ,
Kibana dont work by itself, you need to install Elasticsearch too.
Thanks
Vineeth Mohan,
Elasticsearch consultant,
qbox.io ( Elasticsearch service provider http://qbox.io/)
On Wed, Apr 15, 2015 at 11:13 AM, guoyiqi...@gmail.com wrote:
Hello, Folks
I
-scripting.html
.
Or you can write a java code which does this and package it as a plugin.
You can find some examples here
https://github.com/imotov/elasticsearch-native-script-example.
In both these case , you need to make sure this code/plugin is pushed to
all the nodes.
Thanks
Vineeth
Hello ,
You can specify the analyzer in match query
http://www.elastic.co/guide/en/elasticsearch/reference/1.3/query-dsl-match-query.html
.
Creating the analyzer you want and mentioning the stopwords in it and
referring it from the match query might actually work.
Thanks
Vineeth Mohan
analyzed
differently , with different set of stop words.
So my advice would be to reindex the whole index , you you badly need this.
Thanks
Vineeth Mohan,
Elasticsearch consultant,
qbox.io ( Elasticsearch service provider http://qbox.io/)
On Wed, Apr 15, 2015 at 1
and this output text and payload would be
returned.
Thanks
Vineeth Mohan,
Elasticsearch consultant,
qbox.io ( Elasticsearch service provider http://qbox.io/)
On Mon, Apr 13, 2015 at 11:53 PM, Ap usc90...@gmail.com wrote:
How do you get the exact matched token from
, because there is not
tokenizing happening.
Thanks
Vineeth Mohan,
Elasticsearch consultant,
qbox.io ( Elasticsearch service provider http://qbox.io/)
On Mon, Apr 13, 2015 at 5:14 AM, Ayman Shorman aymanshor...@gmail.com
wrote:
Hello,
I'm trying to get exact match
the
serialization/deserialization stuff.
Thanks
Vineeth Mohan,
Elasticsearch consultant,
qbox.io ( Elasticsearch service provider http://qbox.io/)
On Mon, Apr 13, 2015 at 8:37 AM, Ted Smith tedsmithgr...@gmail.com wrote:
Hello:
I am running ES with one Node, one
Hello Pavan ,
This is not possible.
The parent and child need to be on the same index and same shard.
To ensure this such a rule is imposed.
Thanks
Vineeth Mohan,
Elasticsearch consultant,
qbox.io ( Elasticsearch service provider http://qbox.io/)
On Wed, Apr 8
value.
Last one , you need to expand that to query of above format.
You can find more information here -
http://www.elastic.co/guide/en/elasticsearch/reference/1.x/query-dsl-query-string-query.html
Thanks
Vineeth Mohan,
Elasticsearch consultant,
qbox.io
}
}
}
Thanks
Vineeth Mohan,
Elasticsearch consultant,
qbox.io ( Elasticsearch service provider http://qbox.io/)
On Fri, Apr 3, 2015 at 8:42 PM, zhangju...@gmail.com wrote:
Hi all,
I want to make the _id searchable/retrievable and copy its value to a
field
-queries.html#bool
.
Thanks
Vineeth Mohan,
Elasticsearch consultant,
qbox.io ( Elasticsearch service provider http://qbox.io/)
On Sun, Apr 5, 2015 at 5:10 PM, Ali Akhtar ali.rac...@gmail.com wrote:
Hi there,
I'm able to filter on one field at a time, using
on this document.
5. During upsert , see if the content hash has changed. If there no no
change you can stop orceeding and if there is a change in content , update
both the content field and the new hash content field.
Thanks
Vineeth Mohan,
Elasticsearch consultant
Hi ,
You need to copy the java jars of mysql jdbc libraries to the plugins
folder.
It wont otherwise work.
Thanks
Vineeth Mohan,
Elasticsearch consultant,
qbox.io ( Elasticsearch service provider http://qbox.io/)
On Mon, Apr 6, 2015 at 9:06 AM, Sanu Vimal
Hi Sanu ,
Didi you perform 3rd and fourth steps told here -
https://github.com/jprante/elasticsearch-river-jdbc
Thanks
Vineeth
On Mon, Apr 6, 2015 at 9:33 AM, Sanu Vimal sanuvi...@gmail.com wrote:
I have put all the files of mysql jdbc connector to the plugin/jdbc folder
where my
Hi ,
Is the version of marvel and Elasticsearch both complaint to each other ?
Thanks
Vineeth Mohan,
Elasticsearch consultant,
qbox.io ( Elasticsearch service provider http://qbox.io/)
On Sat, Apr 4, 2015 at 12:17 AM, mansis...@maprtech.com wrote:
We have
being more
accurate.
Thanks
Vineeth Mohan,
Elasticsearch consultant,
qbox.io ( Elasticsearch service provider http://qbox.io/)
On Sat, Apr 4, 2015 at 4:09 AM, Grayson Cash cashg...@gmail.com wrote:
I'm wanting to map all fields in my indices to a String. I
Hi ,
You can place a NGINX or Apache and redirect request to Kibana4 nodeJS port.
Its very much possible , I have done this on couple of production
environments.
Thanks
Vineeth Mohan,
Elasticsearch consultant,
qbox.io ( Elasticsearch service provider http
Hello Joel ,
This is a known issue.
Internally each field is stored as typeName.fieldName format as type name
is just an abstraction.
That is one of the reason for this issue.
You can find more information here -
https://github.com/elastic/elasticsearch/issues/7411
Thanks
Vineeth
are suggesting ES to prioritize those
segments which have higher number of deleted documents while merging. But
then if the merge policy feels it doesnt need to merge any more document ,
it wont perform it.
Thanks
Vineeth Mohan,
Elasticsearch consultant,
qbox.io
Hello Michael ,
There is Hadoop integration with Elasticsearch.
With this integration , it can run against each feed in elasticsearch in a
highly optimized way.
This gives you opportunity to couple mahout library with Elasticsearch.
I would advice this approach.
Thanks
Vineeth Mohan
, three ]
Will doc['arrayData'].values give results in the order in which it was
index , that is as [ one , two , three ] ?
Thanks
Vineeth Mohan,
Elasticsearch consultant,
qbox.io ( Elasticsearch service provider http://qbox.io)
--
You received this message because
: {
query: {
match: {
subject: this is a test
}
}
}
}
}
}
Thanks
Vineeth Mohan,
Elasticsearch consultant,
qbox.io ( Elasticsearch service provider http://qbox.io)
On Wed, Feb 4, 2015 at 6:44 PM, Anand kumar
Hi ,
You will need to increase the number of maximum open file descriptors from
OS.
You can find more info here -
http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/setup-configuration.html#file-descriptors
Thanks
Vineeth Mohan,
Elasticsearch
}
}
]
}
},
query: {
multi_match: {
query: SearchQuery,
fields: [
account.name,
group.title,
post.content
]
}
}
}
}
}
Thanks
Vineeth Mohan,
Elasticsearch consultant
Vineeth Mohan,
Elasticsearch consultant,
qbox.io ( Elasticsearch service provider http://qbox.io/)
On Wed, Jan 28, 2015 at 9:14 AM, Panzer appythonch...@gmail.com wrote:
def score = 0;
// terms: list of tokens
for(term in terms) {
q_term_freq = terms.countBy
.*; *
*ESLogger logger=ESLoggerFactory.getLogger('myscript'); *
*logger.info http://logger.info('This is a log message'); *
LINK - https://github.com/elasticsearch/elasticsearch/issues/9068
Thanks
Vineeth Mohan,
Elasticsearch consultant,
qbox.io ( Elasticsearch
Hi ,
Can you check the following -
1. Disk space on the machine where shards are not getting used.
2. See the configuration of the node in those machines. See if the
client node only config is enabled in the config.
Thanks
Vineeth
On Fri, Jan 16, 2015 at 5:20 PM, Stewart Gray
Hello Chetan ,
Can you confirm that there are enough disk space on that machine to
replicate the shard.
Thanks
Vineeth Mohan,
Elasticsearch consultant,
qbox.io ( Elasticsearch service provider http://qbox.io/)
On Mon, Jan 12, 2015 at 4:24 PM, Chetan Dev
: {
query : this AND that OR thus
}
},
_cache : false
}
Filter cache disable -
http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-query-filter.html#_caching_15
Thanks
Vineeth Mohan
Hi ,
I have answered this question in stackoverflow at -
http://stackoverflow.com/questions/27793530/esrejectedexecutionexception-in-elasticsearch-for-parallel-search/27793810#27793810
Thanks
Vineeth Mohan,
Elasticsearch consultant,
qbox.io ( Elasticsearch
Hi ,
Can you remove the snapshot name and try again -
*curl -XDELETE localhost:9200/_snapshot/_all?pretty*
Thanks
Vineeth
On Fri, Dec 26, 2014 at 7:53 PM, bplsi...@chaordicsystems.com wrote:
Hello,
I know the *delete all* kind of operations are the ones to avoid, but in
this
:
Thanks for reading vineeth. That was my initial thought but I couldn't
find any old gc during the outage. Each es node has 32 gigs. Each box has
128gigs split between 2 es nodes(32G each) and file system cache (64G).
On Wed, Dec 24, 2014 at 4:49 PM, vineeth mohan vm.vine...@gmail.com
wrote:
Hi
, 2014, at 11:12 PM, vineeth mohan vm.vineethmo...@gmail.com
wrote:
Hello Abhishek ,
Can you try to correlate merge operation of shards and this time of
cascading failures ?
I feel there is a correlation between both.
If so , we can do some optimization on that side.
Thanks
Hi ,
What is the memory for each of these machines ?
Also see if there is any correlation between garbage collection and the
time this anomaly happens.
Chances are that the stop the world time might block the ping for sometime
and the cluster might feel some nodes are gone.
Thanks
Hi ,
Filters don't do scoring which means the constrains inside a filter is not
used to determine the order of the results.
But query does do scoring and determines the order in which results should
be placed.
Thanks
Vineeth
On Wed, Dec 24, 2014 at 12:52 PM, Hajime
?
By the way, I try every strategy mention in here, but the above three
queries give different results anyway.
http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-filtered-query.html#_filter_strategy
On Wed, Dec 24, 2014 at 9:34 PM, vineeth mohan vm.vineethmo
Hi ,
Make sure all the dependent JAR files are present.
Its missing some of these.
Thanks
Vineeth
On Tue, Dec 23, 2014 at 11:15 AM, Vijayakumari B N
vijayakumari...@gmail.com wrote:
Hi,
I get the below error when i tried to restart my jboss server after
integrating with
think we need any other jars apart from this and my elastic server is
also running. Please let me know if there are any additional jars which i
need to add.
Thanks,
Vijaya
On Tuesday, December 23, 2014 2:38:43 PM UTC+5:30, vineeth mohan wrote:
Hi ,
Make sure all the dependent JAR files
Hi ,
Yes , definitely doc values would be a better idea.
As it is not 100% memory resident , it will give a lot better stability and
memory optimization to the system.
On the flip side, performance might go down to , say 10 to 15%.
Thanks
Vineeth
On Tue, Dec 23, 2014 at 8:47 PM, Han
am missing something.
On Sunday, December 21, 2014 8:01:06 PM UTC-8, vineeth mohan wrote:
Hello ,
My advice would be to use the script function type. Inside it you can
access _score which is the score given by the query and the value of the
field. Mix them together in whatever logic you want
Hi Nick ,
This wont change the _source , so no point in looking there.
Try script field to read the data of this field from store ( if enabled )
or reverse index.
Thanks
Vineeth
On Mon, Dec 22, 2014 at 11:05 PM, Nick Wood nwood...@gmail.com wrote:
Hello,
I'm trying to implement a
this (or
something close)?
-Chris
On Monday, December 22, 2014 1:34:08 PM UTC-5, vineeth mohan wrote:
Hi ,
I dont see why it should run into performance issue.
In anyway you do it , the _score and score due to a field have to be
computed/loaded.
If you precompile your script by placing it in config
Hi ,
Can you do a
ls /etc/elasticsearch
ps aux | grep Elasticsearch
Thanks
Vineeth
On Fri, Dec 19, 2014 at 10:13 PM, digital...@gmail.com wrote:
Topic says itI'm not seeing any log files in
/var/log/elasticsearch...ES is running, and I haven't modified anything
since
Hi ,
You cna use JDBC river to bridge ES and DB -
https://github.com/jprante/elasticsearch-river-jdbc
Only data inside the DB would flow to ES.
Thanks
Vineeth
On Fri, Dec 19, 2014 at 10:43 PM, teseter iamrav...@gmail.com wrote:
Hi
To fasten the search operations we are planning to
Hello ,
Use Sun Java , it will help a lot.
Second there has been back pressure from Elasticsearch to logstash.
To handle that , try increasing bulk/index queue size of Elasticsearch.
But then that wont help much as its memory intesnive or at max , it might
give you some extra time.
Best approach
Hi ,
Why dont you use script fields to access this value -
http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/search-request-script-fields.html#search-request-script-fields
Thanks
Vineeth
On Wed, Dec 17, 2014 at 2:57 PM, valerij.vasilce...@googlemail.com wrote:
Hi ,
How different is it from query_string query langauge.
Or is it using query_string in the background.
Thanks
Vineeth
On Wed, Dec 17, 2014 at 5:23 AM, Abe Haskins abeisgr...@abeisgreat.com
wrote:
Hi folks!
I wanted to share FiltrES.js https://github.com/abeisgreat/FiltrES.js,
Hi ,
I remember seeing a UI from a plugin or otherwise which visualizes the
output of explain API for scoring as a neat d3 visualization of
collapsible tree - http://bl.ocks.org/mbostock/4339083
If anyone remembers the link , please reply to this mail.
Thanks
Vineeth
--
You
Hi ,
I have a situation where a field is only used for aggregation , its never
used for searching.
In such cases , it doesn't make sense for this field to go to lucene
reverse index.
Rather if it can be only maintained in fieldData or docValues alone . that
would save me some good amount of space
Hi ,
Just check if its 200 ( Indexed ) or 201 ( Created ) .
HTTP status code alone should be sufficient.
Thanks
Vineeth
On Thu, Nov 20, 2014 at 4:01 PM, asanchez asanchez1...@gmail.com wrote:
Hello,
I'm developing a piece of code that inserts a document into an
elastcisearch
Hello ,
The score is impacted by TF , IDF and the field length. -
http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/modules-advanced-scripting.html
You need to write a small script to compute this logic via function score
query.
Thanks
Vineeth
On Fri, Nov 14, 2014
Hi ,
I would like to know what are the plans for presenting documents as table (
Like the one in Kibana 3) , in Kibana 4.
One of the feature I am badly looking forward is the power to download
documents as CSV from the table type from kibana 3 ( Not current data table
in kibana 4).
Thanks
Hello Wang ,
Can you disable analyzer and try again .
Thanks
Vineeth
On Mon, Nov 10, 2014 at 2:07 PM, Wang Yong cnwangy...@gmail.com wrote:
Hi folks,
I was trying to do a term filter on a very long string field, maybe more
then 500 bytes, but I got 0 hit. So, I am wondering
Hi ,
There is a s3 repository plugin -
https://github.com/elasticsearch/elasticsearch-cloud-aws#s3-repository
Use this.
The snapshots are incremental , so it should fit your purpose perfectly.
Thanks
Vineeth
On Fri, Nov 7, 2014 at 3:22 PM, Pradeep Reddy
Helli Vijay ,
I cant think of any straight and efficient way to implement this.
But then you can write your own map reduce script ( Feature in 1.4.0) to
gather this information -
Hello Min ,
Use the explain flag -
http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/search-request-explain.html#search-request-explain
Thanks
Vineeth
On Wed, Nov 5, 2014 at 6:32 PM, Min Cha minslo...@gmail.com wrote:
Hello.
As a title, I would like to obtain
Hello Valergi ,
This wont work , normally becuase the string would be tokenized into green
and energy.
If you use shingle token filter and set it as 2 , it might work.
Or in this case , you can see the position value of both the token using
the script and if its next to each other , you can
Hello Michaël ,
I cant think of a way to do this in a single call.
May be you should try the following
(Terms aggregation on element) - (Top N hits aggregation , sort by date by
asc and size = 1 ) - (Filter aggregation by type A)
With this you will get the elements that you are looking for.
Hello Mungeol ,
As far as i know , the plan is to depreciate rivers and move them to
logstash.
Thanks
Vineeth
On Mon, Oct 27, 2014 at 5:19 AM, Mungeol Heo mungeol@gmail.com wrote:
Hi,
My question is that will es remove all river related plugin in the future?
If it will, I'd
Hi ,
What exactly do you mean by overwrite @timestamp.
It would be also helpful if you can quite an example.
Thanks
Vineeth
On Tue, Oct 21, 2014 at 5:13 PM, ES USER es.user.2...@gmail.com wrote:
For the life of me my Google searching has not revealed any solution to
this at least
Hello Antonio ,
I am aware of this.
The example you have quoted should actually work.
Why do you feel that its not working.
Thanks
Vineeth
On Tue, Oct 21, 2014 at 7:38 PM, Antonio Augusto Santos mkha...@gmail.com
wrote:
If you are using logstash to push your events do ES you need
Hi ,
I am extracting tweets from twitter and i found the following issue.
On doing a terms facet on field retweet.id , i received some user ID's.
Now on doing a term query on one of the value obtained , I am not getting
any result.
The facet is as following -
{
facets: {
terms: {
to the match[1] query instead of term should fix the issue.
[1]
http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-match-query.html
On Mon, Oct 20, 2014 at 1:40 PM, vineeth mohan vm.vineethmo...@gmail.com
wrote:
Hi ,
I am extracting tweets from twitter and i
Hello Jack ,
What do you mean by fetching it back , is it a GET or a search.
GET is realtime and Search is near realtime.
You can use the refresh flag while indexing to make sure search is also
real time , but its expensive.
Thanks
Vineeth
On Mon, Oct 20, 2014 at 8:59 PM, Jack Park
Hi ,
Can you paste the complete curl query.
I see this when i forget to put the -d flag for data.
Thanks
Vineeth
On Fri, Oct 3, 2014 at 9:04 PM, bitsofinf...@gmail.com wrote:
Hi,
What does this error mean (es 1.3.2) when I do a delete by query?
DELETE such as
more than a single value into the score, but
those are really nasty hacks.
Klaus
On Thursday, 2 October 2014 15:39:36 UTC+2, vineeth mohan wrote:
Hello Klaus ,
For document flagging or similar feature , you can use script filter with
caching to achieve something close to it - http
Hi ,
In the auto complete , I would like to see some results to be returned even
if the text is empty. I tried all knobs documented but couldn't achieve
this.
Is there anyway to achieve this without using aggregation but auto complete
itself ?
Thanks
Vineeth
--
You received this
Hello Klaus ,
For document flagging or similar feature , you can use script filter with
caching to achieve something close to it -
http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-script-filter.html#query-dsl-script-filter
Also in ES 1.4.0 , there is support for
Hello Lee ,
There is a workaround for that.
You need to enabled word count and then use that in the script.
Word count -
http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/mapping-core-types.html
Script in scoring -
Hello Maarten ,
This is a direct use case of aggregations.
Simpy use term aggregation for both fields -
http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/search-aggregations.html
Thanks
Vineeth
On Sun, Sep 28, 2014 at 1:17 PM, Maarten Roosendaal
Hello ,
ELK stack doesn't give inherent support for this , but then there are a
couple of open source projects you can use.
https://github.com/fangli/kibana-authentication-proxy works fine for me.
Or else a solution based on Nginx will also work good.
Thanks
Vineeth
On Fri, Sep 26,
Hello Tim ,
The default similarity already have this logic in it , but then am sure
there are other logics too applied for default similarity.
I am not sure how to use this function logic alone for scoring.
But then , in worst case you can do as follows , but am sure there should
exist and
Hello Jennifer ,
I couldn't find any feature for this.
I feel this is a valid use case and i will file a bug on the same.
Thanks
Vineeth
On Tue, Sep 9, 2014 at 7:19 PM, Jennifer Cumming addedspar...@gmail.com
wrote:
I have an update script that updates the contents of a nested
Hello ,
This don't have to do anything with the escape character -
Try below -
curl -XPUT 'http://localhost:9200/test/test/test' -d '
{
rules: [
{
users : [ foo\bar ]
}
]
}'
Thanks
Vineeth
On Thu, Sep 18,
Hello James ,
You can try the following
1. Make the tags field nested
2. Do a 2 level aggregation with nested/term type aggregation on id
attribute over name term aggregation. This way you will get all ids and the
names associated with it.
Thanks
Vineeth
On Thu, Sep 18,
Hello Sam ,
The title field , i presume is a single value field which means values will
fail.
You need to use something like
doc['title'].value.length 1
Thanks
Vineeth
On Wed, Sep 17, 2014 at 9:11 PM, Sam Chrisinger s.chrisin...@gmail.com
wrote:
Hi All,
I'm having trouble with a
Hello Luan ,
There are many ways to do it -
Client client = new TransportClient()
.addTransportAddress(new InetSocketTransportAddress(host1, 9300));
GetSettingsRequest req = new GetSettingsRequest();;
GetSettingsResponse response =
Hello Abhishek ,
Something similar to this should work -
{
script_fields: {
test: {
script: doc['date'].value - new Date().getTime() * 1000
}
}
}
Thanks
Vineeth
On Mon, Sep 15, 2014 at 9:41 PM, Abhishek Gupta abhi.bansa...@gmail.com
wrote:
Hi,
I want to write a
Hi ,
If this pattern is a single word , regex query might do the trick -
http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-regexp-query.html#query-dsl-regexp-query
Thanks
Vineeth
On Fri, Sep 12, 2014 at 7:35 PM, Log Muncher railroaderslam...@gmail.com
Hello Wei ,
You can use the in optimize API - max_num_segments as 1 or
only_expunge_deletes as true .
OPTIMIZE -
http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/indices-optimize.html#indices-optimize
Thanks
Vineeth
On Sat, Sep 13, 2014 at 5:32 AM, Wei
Hello Lasse ,
Following is my idea on the whole thing -
Routing -
http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/docs-index_.html#index-routing
When a index request comes , based on the ID of the request , a hash
function computes the shard to which the request has to be
Hello Jigish ,
I dont think you can achieve all of these in Elasticsearch.
You can restrict the HTTP methods to GET and POST in Elasticsearch.
But for most of other tasks , Nginx would be a better option.
Elasticsearch jetty plugin might also help you -
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 wrote:
Nobody? :(
Op woensdag 10 september 2014 21:24:19 UTC+2 schreef Dan:
Hi Guys,
I have a simple query which
:04,vineeth mohan vm.vineethmo...@gmail.com 写道:
Hello ,
First you need to declare field details as nested. -
http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/mapping-nested-type.html#mapping-nested-type
Then do a bool query with the date range constrain and range
reply.
{from:0,size:10,query:{field:{tags:*blaat*}},filter:{and:[{term:{representative:1}},{term:{is_gift:0}},{term:{active:1}},{terms:{website_ids:[1],execution:and}}]}}
Is this enough?
Thanks!
Op donderdag 11 september 2014 15:08:05 UTC+2 schreef vineeth mohan:
Hello Dan ,
Can you
Hello ,
I didn't get your question completely , but then i feel a simple date
histogram query should do the trick.
aggs : {
{{time_interval}}: {
date_histogram: {
field: time,
interval: {{time_interval}},
min_doc_count: 0
}
problem.
Thanks Best Regard!
在 2014年9月12日,0:12,vineeth mohan vm.vineethmo...@gmail.com 写道:
Hello ,
I don't feel you can do this in a single call.
What i have in mind would be
1. Run a two level aggregation query with date histogram aggregation
on first level with date and term
for the term
frequencies. What do you think about these cases?
Thanks!
Darren
On Mon, Sep 8, 2014 at 11:28 AM, vineeth mohan vm.vineethmo...@gmail.com
wrote:
Hello Darren ,
Following query does what you have asked for ( replace FIELD with the
field you are looking for) -
{
fields
Hello ,
We need more data to debug this.
Can you paste the reference document you are performing MLT.
Also i feel if you set min_term_freq as 1 along with min_doc_freq=1 , it
should work.
Thanks
Vineeth
On Tue, Sep 9, 2014 at 7:39 PM, phenrigomes phenrigo...@gmail.com wrote:
Why
Hello Michael ,
Please find the answers in the order of questions you have asked -
1. Referencing script from file system is explained here. It has very
well worked for me , please double check on it -
Hello James ,
I didn't fully understand your question , but i feel JDBC river might be of
any use to you - https://github.com/jprante/elasticsearch-river-jdbc
Thanks
Vineeth
On Wed, Sep 10, 2014 at 3:29 PM, James m...@employ.com wrote:
Hi,
I'm setting up a system where I have a
Hello Ramy ,
Can you show the mapping ( not just the index creation JSON).
I need to make sure you have applied ngram on the required field.
Thanks
Vineeth
On Wed, Sep 10, 2014 at 1:11 PM, Ramy remra...@gmail.com wrote:
Can someone tell me, why the highlighting works not always? what
Of *vineeth mohan
*Sent:* Wednesday, September 10, 2014 5:14 AM
*To:* elasticsearch@googlegroups.com
*Subject:* Re: Scripting and dates
Hello Michael ,
Please find the answers in the order of questions you have asked -
1. Referencing script from file system is explained here. It has
1 - 100 of 248 matches
Mail list logo