Skip to content

Instantly share code, notes, and snippets.

@rkroll
Created December 21, 2010 20:17
Show Gist options
  • Save rkroll/750511 to your computer and use it in GitHub Desktop.
Save rkroll/750511 to your computer and use it in GitHub Desktop.
Query search string containing non-closed double quote
[2010-12-21 15:15:46,708][DEBUG][action.search.type ] [Oracle] [redflag][14], node[BIjCua6SR8CUaN6YRSKruw], [P], s[STARTED]: Failed to execute [org.elasticsearch.action.search.SearchRequest@704c98f1]
java.lang.ArrayIndexOutOfBoundsException: 549
at org.elasticsearch.common.Unicode.UTF8toUTF16(Unicode.java:188)
at org.elasticsearch.common.Unicode.unsafeFromBytesAsUtf16(Unicode.java:104)
at org.elasticsearch.common.Unicode.fromBytes(Unicode.java:78)
at org.elasticsearch.search.SearchService.parseSource(SearchService.java:416)
at org.elasticsearch.search.SearchService.createContext(SearchService.java:335)
at org.elasticsearch.search.SearchService.executeDfsPhase(SearchService.java:153)
at org.elasticsearch.search.action.SearchServiceTransportAction.sendExecuteDfs(SearchServiceTransportAction.java:101)
at org.elasticsearch.action.search.type.TransportSearchDfsQueryThenFetchAction$AsyncAction.sendExecuteFirstPhase(TransportSearchDfsQueryThenFetchAction.java:82)
at org.elasticsearch.action.search.type.TransportSearchTypeAction$BaseAsyncAction.performFirstPhase(TransportSearchTypeAction.java:191)
at org.elasticsearch.action.search.type.TransportSearchTypeAction$BaseAsyncAction.access$000(TransportSearchTypeAction.java:77)
at org.elasticsearch.action.search.type.TransportSearchTypeAction$BaseAsyncAction$2.run(TransportSearchTypeAction.java:168)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:637)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment