[jira] [Resolved] (SOLR-1886) In SolrJ, XMLResponseParser throws an exception when attempting to process a response with spellcheck.extendedResults=true containing word suggestions
[ https://issues.apache.org/jira/browse/SOLR-1886?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shalin Shekhar Mangar resolved SOLR-1886. - Resolution: Cannot Reproduce I can't reproduce this bug. In SolrJ, XMLResponseParser throws an exception when attempting to process a response with spellcheck.extendedResults=true containing word suggestions -- Key: SOLR-1886 URL: https://issues.apache.org/jira/browse/SOLR-1886 Project: Solr Issue Type: Bug Components: spellchecker Affects Versions: 1.4 Reporter: Nicholas Brozack This occurs when there are word suggestions. The error occurs in the readArray method, the message being: error reading value:LST The reason for this error is likely that the format of the response with the extendedResults option has unnamed lists. Here is an example response where this occurs: response (response header is here) result name=response numFound=0 start=0/ lst name=spellcheck lst name=suggestions lst name=emaild int name=numFound2/int int name=startOffset0/int int name=endOffset6/int int name=origFreq0/int arr name=suggestion lst str name=wordemail/str int name=freq2/int /lst lst str name=wordwebmail/str int name=freq1/int /lst /arr /lst bool name=correctlySpelledfalse/bool str name=collationemail/str /lst /lst /response Surrounding the suggestions are unnamed lists. Considering the method in XMLResponseParser is named readNamedList, I'm guessing that all lists must be named to avoid this error. -- This message was sent by Atlassian JIRA (v6.1#6144) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Resolved] (SOLR-1886) In SolrJ, XMLResponseParser throws an exception when attempting to process a response with spellcheck.extendedResults=true containing word suggestions
[ https://issues.apache.org/jira/browse/SOLR-1886?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Erick Erickson resolved SOLR-1886. -- Resolution: Won't Fix 2013 Old JIRA cleanup In SolrJ, XMLResponseParser throws an exception when attempting to process a response with spellcheck.extendedResults=true containing word suggestions -- Key: SOLR-1886 URL: https://issues.apache.org/jira/browse/SOLR-1886 Project: Solr Issue Type: Bug Components: spellchecker Affects Versions: 1.4 Reporter: Nicholas Brozack This occurs when there are word suggestions. The error occurs in the readArray method, the message being: error reading value:LST The reason for this error is likely that the format of the response with the extendedResults option has unnamed lists. Here is an example response where this occurs: response (response header is here) result name=response numFound=0 start=0/ lst name=spellcheck lst name=suggestions lst name=emaild int name=numFound2/int int name=startOffset0/int int name=endOffset6/int int name=origFreq0/int arr name=suggestion lst str name=wordemail/str int name=freq2/int /lst lst str name=wordwebmail/str int name=freq1/int /lst /arr /lst bool name=correctlySpelledfalse/bool str name=collationemail/str /lst /lst /response Surrounding the suggestions are unnamed lists. Considering the method in XMLResponseParser is named readNamedList, I'm guessing that all lists must be named to avoid this error. -- This message was sent by Atlassian JIRA (v6.1#6144) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org