Closed (fixed)
Project:
Apache Solr Statistics
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
18 May 2012 at 17:24 UTC
Updated:
21 Jun 2012 at 15:21 UTC
Jump to comment: Most recent file
Comments
Comment #1
cpliakas commentedThe attached patch makes the changes proposed in the original post.
One important thing to note, it seems like some unused data is stored in the "filters" field, specifically the #exclude and #local properties. The patch actually changes how the data is stored so that it is an associative array of facet name / facet values. This change would effect anyone who is using the 7.x-1.x version of Apache Solr Statistics, so I am not sure how you want to handle this. As an alternative, the return value of the proposed apachesolr_stats_get_active_facets() API function could mimc the current data structure to ensure backwards compatibility.
Let me know how you want to proceed,
Chris
Comment #2
cpliakas commentedChanging to "needs review".
Comment #3
cpliakas commentedChanging grammar of title.
Comment #4
cpliakas commentedRerolled patch against latest 7.x-1.x code.
Comment #5
cpliakas commentedAdded in commit http://drupalcode.org/project/apachesolr_stats.git/commit/d187bbf.