Created
March 1, 2011 22:33
-
-
Save lukas-vlcek/850033 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
org.elasticsearch.search.SearchParseException: [indexName][2]: query[ConstantScore(*:*)],from[-1],size[-1]: Parse Failure [Failed to parse source [{"query":{"query_string":{"query":"*"}},"facets":{"histogram":{"date_histogram":{"field":"date","interval":"1w"}}}}]] | |
at org.elasticsearch.search.SearchService.parseSource(SearchService.java:470) | |
at org.elasticsearch.search.SearchService.createContext(SearchService.java:385) | |
at org.elasticsearch.search.SearchService.executeQueryPhase(SearchService.java:215) | |
at org.elasticsearch.search.action.SearchServiceTransportAction.sendExecuteQuery(SearchServiceTransportAction.java:134) | |
at org.elasticsearch.action.search.type.TransportSearchCountAction$AsyncAction.sendExecuteFirstPhase(TransportSearchCountAction.java:74) | |
at org.elasticsearch.action.search.type.TransportSearchTypeAction$BaseAsyncAction.performFirstPhase(TransportSearchTypeAction.java:191) | |
at org.elasticsearch.action.search.type.TransportSearchTypeAction$BaseAsyncAction.access$000(TransportSearchTypeAction.java:75) | |
at org.elasticsearch.action.search.type.TransportSearchTypeAction$BaseAsyncAction$1.run(TransportSearchTypeAction.java:150) | |
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) | |
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) | |
at java.lang.Thread.run(Thread.java:636) | |
Caused by: org.elasticsearch.search.facet.FacetPhaseExecutionException: Facet [histogram]: failed to parse interval [1w], tried both as built in intervals (year/month/...) and as a time format | |
at org.elasticsearch.search.facet.datehistogram.DateHistogramFacetProcessor.parse(DateHistogramFacetProcessor.java:187) | |
at org.elasticsearch.search.facet.FacetParseElement.parse(FacetParseElement.java:88) | |
at org.elasticsearch.search.SearchService.parseSource(SearchService.java:457) | |
... 10 more |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment