# ParseException: Cannot parse '\*field:foo': Encountered " ":" ": ""

**URL:** <https://discuss.elastic.co/t/parseexception-cannot-parse-field-foo-encountered/20512>\
**Category:** Elasticsearch\
**Created:** [October 31, 2014, 11:26am UTC](https://discuss.elastic.co/t/parseexception-cannot-parse-field-foo-encountered/20512 "2014-10-31T11:26:49Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Marko\_Uusitalo](https://avatars.discourse-cdn.com/v4/letter/m/ec9cab/32.png) [@Marko\_Uusitalo](https://discuss.elastic.co/u/Marko_Uusitalo)\
**Post date:** [October 31, 2014, 11:26am UTC](https://discuss.elastic.co/t/parseexception-cannot-parse-field-foo-encountered/20512/1 "2014-10-31T11:26:49Z")

</div>

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:_  
   
 _...  
 ...  
 ...  
"+" ...  
"-" ...  
 ...  
"(" ...  
"_" ...

--  
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+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/780a243f-5003-4cdf-814b-60e64b2f1e2b%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/780a243f-5003-4cdf-814b-60e64b2f1e2b%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 12:52am UTC](https://discuss.elastic.co/t/parseexception-cannot-parse-field-foo-encountered/20512/2 "2017-07-06T00:52:51Z")

</div>

Closed on July 6, 2017, 12:52am UTC


