From a local project, we have a need to evaluate how our fields and facets are actually being used in our link directory service.

So I came up with a brief reporter that reports facets that were included in Apache Solr searches, using data from watchdog. Since we also have a custom module that records outbound redirects we can also measure "clickthru" efficiency (but I guess doing node views is relatively simple). From that data, I came up with this simple graph (Excel for now).

[See attachment]

Would there be any use for actually including this as a contrib module?

CommentFileSizeAuthor
analisis facets tmp.jpg86.02 KBjanusman
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

janusman’s picture

Just for clarification, the leftmost column only makes sense if you actually see our site. (http://khub.itesm.mx); it shows the tab & order those fields are shown to the user in the node.

pwolanin’s picture

I agree that analysis is an important element in optimizing search. There are also a lot of options for logging at the level of Solr or the container (e.g. tomcat), so it's not clear that logging to watchdog is going to be a general solution. however, track "search-than-click" would certainly be great and is worth more discussion.

JacobSingh’s picture

Hi folks,

We've built some of this on the acquia side because we are already analyzing our logs for other reasons. Truthfully, the best tool for this is most likely google analytics. Have you checked out its search features?

Best,
Jacob

janusman’s picture

I was thinking along the lines of helping site admins with information to make decisions about facet placement and selection:

* How many times some vocabularies (not individual facets!) are used in searches.
* Which vocabularies are used more, which less.
* Which vocabularies are more "productive" (netting a node view or some other action like a comment)

Maybe GA can do this? Will look into it =) For now I'm trying to get some code to spew usable results from watchdog and/or logfiles.

kyle_mathews’s picture

I just installed solr on a site and am loving it. I would really appreciated tools to better understand how search is used and how to optimize my use of Solr. What tools are available? Does anyone have working code? I'd be happy to test / help develop any code.

janusman’s picture

Status: Active » Closed (fixed)

Closing this out, as I contributed a module just for this: http://drupal.org/project/apachesolr_stats

Add any feature requests or questions to that project's issue queue =)