I was working on producing a theme for the apachesolr search results, but found that all of the taxonomy data came back in a bit of a mess. Each time a multi-valued field was encountered, it was joined onto any previous multi-valued data. I tracked the problem down to an array not being reinitialized each time a multi-valued field was encountere. Attached is the one line patch to Response.php that fixes this.

Comments

drunken monkey’s picture

StatusFileSize
new710 bytes

Yeah, that code in Response.php does look kinda buggy, although I don't think I have encountered that problem myself yet. In any case, the code in question is not in the module code, but in that of Apache's Solr client, so I'm not sure if just fixing it here is the best way.

In any case, your patch contained some white-space problems, attached is a clean one.

robertdouglass’s picture

Status: Needs review » Fixed

Committed. Thanks.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.