Hi all, I'm using elasticsearch 1.3.4 and noticed that if query like "*field:foo" is given (via Kibana), elasticsearch throws exception as below.
Why this happens? Regards, Marko [2014-10-31 13:01:21,993][DEBUG][action.search.type ] [Grizzly] [logstash-2014.10.31][1], node[FHnlfX6gQV2IfA_SPw2Meg], [P], s[STARTED]: Failed to execute [org.elasticsearch$ org.elasticsearch.search.SearchParseException: [logstash-2014.10.31][1]: from[-1],size[-1]: Parse Failure [Failed to parse source [{"facets":{"2":{"date_histogram":{"field":"@time$ at org.elasticsearch.search.SearchService.parseSource(SearchService.java:660) at org.elasticsearch.search.SearchService.createContext(SearchService.java:516) at org.elasticsearch.search.SearchService.createAndPutContext(SearchService.java:488) at org.elasticsearch.search.SearchService.executeQueryPhase(SearchService.java:257) at org.elasticsearch.search.action.SearchServiceTransportAction$5.call(SearchServiceTransportAction.java:206) at org.elasticsearch.search.action.SearchServiceTransportAction$5.call(SearchServiceTransportAction.java:203) at org.elasticsearch.search.action.SearchServiceTransportAction$23.run(SearchServiceTransportAction.java:517) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Caused by: org.elasticsearch.index.query.QueryParsingException: [logstash-2014.10.31] Failed to parse query [*field:foo] at org.elasticsearch.index.query.QueryStringQueryParser.parse(QueryStringQueryParser.java:240) at org.elasticsearch.index.query.QueryParseContext.parseInnerQuery(QueryParseContext.java:239) at org.elasticsearch.index.query.FilteredQueryParser.parse(FilteredQueryParser.java:71) at org.elasticsearch.index.query.QueryParseContext.parseInnerQuery(QueryParseContext.java:239) at org.elasticsearch.index.query.FQueryFilterParser.parse(FQueryFilterParser.java:66) at org.elasticsearch.index.query.QueryParseContext.executeFilterParser(QueryParseContext.java:302) at org.elasticsearch.index.query.QueryParseContext.parseInnerFilter(QueryParseContext.java:283) at org.elasticsearch.index.query.IndexQueryParserService.parseInnerFilter(IndexQueryParserService.java:282) at org.elasticsearch.search.facet.FacetParseElement.parse(FacetParseElement.java:86) at org.elasticsearch.search.SearchService.parseSource(SearchService.java:644) ... 9 more Caused by: org.apache.lucene.queryparser.classic.ParseException: Cannot parse '*field:foo': Encountered " ":" ": "" at line 1, column 11. Was expecting one of: <EOF> <AND> ... <OR> ... <NOT> ... "+" ... "-" ... <BAREOPER> ... "(" ... "*" ... -- 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://groups.google.com/d/msgid/elasticsearch/780a243f-5003-4cdf-814b-60e64b2f1e2b%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.