Resolved:
Corrected version date format is :
postDate: {
type: date,
format: E MMM d H:m:s z Y
},
On Tuesday, 14 October 2014 17:53:30 UTC+5:30, Roopendra Vishwakarma wrote:
I am trying to index data with date format *Tue May 14 17:06:01
I am trying to index data with date format *Tue May 14 17:06:01 PDT 2013*.
As described in Elasticsearch Date Format
http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/mapping-date-format.html
document I need to use custom date format. I refer to DateTimeFormat
Any Suggestion??
On Monday, 15 September 2014 23:31:26 UTC+5:30, Roopendra Vishwakarma wrote:
In elasticsearch 1.3.0 *filtered* not working with *has_parent*. In
*elasticsearch
0.90.5* its working fine.
I am using below query. In this query I need add filtered inside
*has_parent-query
Filtered query not working with Elasticsearch 1.3.0. I upgrade
elasticsearch 0.90.5 to 1.3.0.
I am using elasticsearch Query DSL;
{
query: {
match_all: {},
filtered: {
filter: {
bool: {
must: [
Filtered query not working with *Elasticsearch 1.3.0*. I upgrade
elasticsearch *0.90.5* to *1.3.0*.
I am using elasticsearch below Query DSL. In *Elasticsearch 0.90.5* below
query DSL is working fine. But in *Elasticsearch 1.3.0* getting error
*ElasticsearchParseException[Expected
field name
In elasticsearch 1.3.0 *filtered* not working with *has_parent*. In
*elasticsearch
0.90.5* its working fine.
I am using below query. In this query I need add filtered inside
*has_parent-query-filtered-bool-must*. But my basic query is not
working.
{
query: {
has_parent:
Fix this problem. Cause of the issue. I am using old version of service
wrapper script for elasticsearch. After update * /etc/init.d/elasticsearch*
everything is working fine.
On Wednesday, 10 September 2014 15:52:50 UTC+5:30, Roopendra Vishwakarma
wrote:
I am using ansible playbook
I am using ansible playbook to install elasticsearch and elasticsearch
plugin. after successfully installation of Elasticsearch I written one
ansible task to Restart Elasticsearch. Its restarting elasticsearch but
ansible playbook hang up in this task. My ansible task is:
- name: Ensure
@Binh Ly, Thanks for your response.
I have tried to change query as per your suggestion and I analysed after
using _cache:true
performance little bit increase after second/third hit.
I am trying in SENSE chrome plugin.
I have tried third point to change my query but its not working for me.
Is there any way to optimize query in Elasticsearch? I am using below
query. Its taking average `15-20s` and sometimes it little bit fast `4-5s`.
My server configuration :- Centos 6.3, 8 Core 16GB RAM
{
fields: [
_id,
aff_id,
post_uri,
blog_cat,
10 matches
Mail list logo