org.elasticsearch.search.SearchParseException: [opal-variables][0]: query[+datasource:opal2 +table:conclusionquestionnaire],from[-1],size[-1]: Parse Failure [Failed to parse source [{"query":{"query_string":{"fields":["name","label*","description*","maelstrom*"],"query":"datasource:\"opal2\" AND table:\"ConclusionQuestionnaire\""}},"sort":{"index":{"order":"asc"}},"fields":["name","datasource","table","label","label-en","index"],"from":0,"size":10}]]

JIRA | Etienne Morency-Bachand [X] | 4 years ago
  1. 0

    09:32:58,426 DEBUG org.obiba.opal.search.IndexSynchronizationManager.run:107 - Check index for table: opal2.2 09:33:14,863 DEBUG org.elasticsearch.action.search.type.internalDebug:99 - [Zach] [opal-variables][0], node[Otir2JmMSSKiWaLPMGUPZQ], [P], s[STARTED]: Failed to execute [org.elasticsearch.action.search.SearchRequest@40e669bb] org.elasticsearch.search.SearchParseException: [opal-variables][0]: query[+datasource:opal2 +table:conclusionquestionnaire],from[-1],size[-1]: Parse Failure [Failed to parse source [{"query":{"query_string":{"fields":["name","label*","description*","maelstrom*"],"query":"datasource:\"opal2\" AND table:\"ConclusionQuestionnaire\""}},"sort":{"index":{"order":"asc"}},"fields":["name","datasource","table","label","label-en","index"],"from":0,"size":10}]] at org.elasticsearch.search.SearchService.parseSource(SearchService.java:566) at org.elasticsearch.search.SearchService.createContext(SearchService.java:481) at org.elasticsearch.search.SearchService.createContext(SearchService.java:466) at org.elasticsearch.search.SearchService.executeQueryPhase(SearchService.java:236) at org.elasticsearch.search.action.SearchServiceTransportAction.sendExecuteQuery(SearchServiceTransportAction.java:141) at org.elasticsearch.action.search.type.TransportSearchQueryThenFetchAction$AsyncAction.sendExecuteFirstPhase(TransportSearchQueryThenFetchAction.java:80) at org.elasticsearch.action.search.type.TransportSearchTypeAction$BaseAsyncAction.performFirstPhase(TransportSearchTypeAction.java:205) at org.elasticsearch.action.search.type.TransportSearchTypeAction$BaseAsyncAction.performFirstPhase(TransportSearchTypeAction.java:192) at org.elasticsearch.action.search.type.TransportSearchTypeAction$BaseAsyncAction$2.run(TransportSearchTypeAction.java:178) 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:722) Caused by: org.elasticsearch.search.SearchParseException: [opal-variables][0]: query[+datasource:opal2 +table:conclusionquestionnaire],from[-1],size[-1]: Parse Failure [No mapping found for [index] in order to sort on] at org.elasticsearch.search.sort.SortParseElement.addSortField(SortParseElement.java:164) at org.elasticsearch.search.sort.SortParseElement.addCompoundSortField(SortParseElement.java:138) at org.elasticsearch.search.sort.SortParseElement.parse(SortParseElement.java:76) at org.elasticsearch.search.SearchService.parseSource(SearchService.java:554) ... 11 more

    JIRA | 4 years ago | Etienne Morency-Bachand [X]
    org.elasticsearch.search.SearchParseException: [opal-variables][0]: query[+datasource:opal2 +table:conclusionquestionnaire],from[-1],size[-1]: Parse Failure [Failed to parse source [{"query":{"query_string":{"fields":["name","label*","description*","maelstrom*"],"query":"datasource:\"opal2\" AND table:\"ConclusionQuestionnaire\""}},"sort":{"index":{"order":"asc"}},"fields":["name","datasource","table","label","label-en","index"],"from":0,"size":10}]]
  2. 0

    09:32:58,426 DEBUG org.obiba.opal.search.IndexSynchronizationManager.run:107 - Check index for table: opal2.2 09:33:14,863 DEBUG org.elasticsearch.action.search.type.internalDebug:99 - [Zach] [opal-variables][0], node[Otir2JmMSSKiWaLPMGUPZQ], [P], s[STARTED]: Failed to execute [org.elasticsearch.action.search.SearchRequest@40e669bb] org.elasticsearch.search.SearchParseException: [opal-variables][0]: query[+datasource:opal2 +table:conclusionquestionnaire],from[-1],size[-1]: Parse Failure [Failed to parse source [{"query":{"query_string":{"fields":["name","label*","description*","maelstrom*"],"query":"datasource:\"opal2\" AND table:\"ConclusionQuestionnaire\""}},"sort":{"index":{"order":"asc"}},"fields":["name","datasource","table","label","label-en","index"],"from":0,"size":10}]] at org.elasticsearch.search.SearchService.parseSource(SearchService.java:566) at org.elasticsearch.search.SearchService.createContext(SearchService.java:481) at org.elasticsearch.search.SearchService.createContext(SearchService.java:466) at org.elasticsearch.search.SearchService.executeQueryPhase(SearchService.java:236) at org.elasticsearch.search.action.SearchServiceTransportAction.sendExecuteQuery(SearchServiceTransportAction.java:141) at org.elasticsearch.action.search.type.TransportSearchQueryThenFetchAction$AsyncAction.sendExecuteFirstPhase(TransportSearchQueryThenFetchAction.java:80) at org.elasticsearch.action.search.type.TransportSearchTypeAction$BaseAsyncAction.performFirstPhase(TransportSearchTypeAction.java:205) at org.elasticsearch.action.search.type.TransportSearchTypeAction$BaseAsyncAction.performFirstPhase(TransportSearchTypeAction.java:192) at org.elasticsearch.action.search.type.TransportSearchTypeAction$BaseAsyncAction$2.run(TransportSearchTypeAction.java:178) 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:722) Caused by: org.elasticsearch.search.SearchParseException: [opal-variables][0]: query[+datasource:opal2 +table:conclusionquestionnaire],from[-1],size[-1]: Parse Failure [No mapping found for [index] in order to sort on] at org.elasticsearch.search.sort.SortParseElement.addSortField(SortParseElement.java:164) at org.elasticsearch.search.sort.SortParseElement.addCompoundSortField(SortParseElement.java:138) at org.elasticsearch.search.sort.SortParseElement.parse(SortParseElement.java:76) at org.elasticsearch.search.SearchService.parseSource(SearchService.java:554) ... 11 more

    JIRA | 4 years ago | Etienne Morency-Bachand [X]
    org.elasticsearch.search.SearchParseException: [opal-variables][0]: query[+datasource:opal2 +table:conclusionquestionnaire],from[-1],size[-1]: Parse Failure [Failed to parse source [{"query":{"query_string":{"fields":["name","label*","description*","maelstrom*"],"query":"datasource:\"opal2\" AND table:\"ConclusionQuestionnaire\""}},"sort":{"index":{"order":"asc"}},"fields":["name","datasource","table","label","label-en","index"],"from":0,"size":10}]]
  3. 0

    field numeric type processing

    GitHub | 4 years ago | androtan
    org.elasticsearch.search.SearchParseException: [sampleindex][0]: from[-1],size[-1]: Parse Failure [Failed to parse source [{"query":{"constant_score":{"filter":{"numeric_range":{"total":{"from":"6.5","to":"10"}}}}}}]]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    NullPointerException

    GitHub | 4 years ago | nvie
    org.elasticsearch.search.SearchParseException: [idents][0]: from[-1],size[-1]: Parse Failure [Failed to parse source [{"query": {"terms": {"query": "foo"}}}]]
  6. 0

    Search by integer NullPointerException

    GitHub | 3 years ago | farchanjo
    org.elasticsearch.search.SearchParseException: [index3][0]: from[-1],size[-1]: Parse Failure [Failed to parse source [{ "query": { "multi_match": { "query": 2014, "fields": [ "year" ] } }, "size": 20 } ]]

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.elasticsearch.search.SearchParseException

      [opal-variables][0]: query[+datasource:opal2 +table:conclusionquestionnaire],from[-1],size[-1]: Parse Failure [No mapping found for [index] in order to sort on]

      at org.elasticsearch.search.sort.SortParseElement.addSortField()
    2. ElasticSearch
      TransportSearchTypeAction$BaseAsyncAction$2.run
      1. org.elasticsearch.search.sort.SortParseElement.addSortField(SortParseElement.java:164)
      2. org.elasticsearch.search.sort.SortParseElement.addCompoundSortField(SortParseElement.java:138)
      3. org.elasticsearch.search.sort.SortParseElement.parse(SortParseElement.java:76)
      4. org.elasticsearch.search.SearchService.parseSource(SearchService.java:554)
      5. org.elasticsearch.search.SearchService.createContext(SearchService.java:481)
      6. org.elasticsearch.search.SearchService.createContext(SearchService.java:466)
      7. org.elasticsearch.search.SearchService.executeQueryPhase(SearchService.java:236)
      8. org.elasticsearch.search.action.SearchServiceTransportAction.sendExecuteQuery(SearchServiceTransportAction.java:141)
      9. org.elasticsearch.action.search.type.TransportSearchQueryThenFetchAction$AsyncAction.sendExecuteFirstPhase(TransportSearchQueryThenFetchAction.java:80)
      10. org.elasticsearch.action.search.type.TransportSearchTypeAction$BaseAsyncAction.performFirstPhase(TransportSearchTypeAction.java:205)
      11. org.elasticsearch.action.search.type.TransportSearchTypeAction$BaseAsyncAction.performFirstPhase(TransportSearchTypeAction.java:192)
      12. org.elasticsearch.action.search.type.TransportSearchTypeAction$BaseAsyncAction$2.run(TransportSearchTypeAction.java:178)
      12 frames
    3. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      3. java.lang.Thread.run(Thread.java:722)
      3 frames