Skip to content

Parser problems with collation nodes #31

Description

@GoogleCodeExporter
The parse_query_response function fail at parsing a Solr response that include 
more than one collation (i.e. search query suggestions - see 
http://wiki.apache.org/solr/SpellCheckComponent) : only the last collation 
appear in the parsed response. My guess is that you store the parsed nodes by 
name somehow, but the collation nodes as returned by solr having the same name, 
each parsed node override the previous one, thus only the last one appear in 
the parsed response. Instead, you should accumulate the nodes in a list.

See the solr response attached to this bug : the xml response has 10 collation 
nodes, but only the last one appear in the parsed response

Solr version : Solr Implementation Version: 3.6.1 1362471 - thetaphi - 
2012-07-17 12:45:52
Solrpy version : 0.9.5

Original issue reported on code.google.com by sylvain....@gmail.com on 19 Oct 2012 at 9:54

Attachments:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions