Where in Solr would I add my own services? Do I really want to do that?

For reinforcement learning reasons I would like to keep track of all queries placed during an end user session, and as it expires I want to feed this information to an aggregated class used by a request handler.

I belive it makes more sense to keep track of this session data in Solr rather than in the Solr client code.

But then there is the possible future distribution and replication. It would make sense if all nodes would share the same session handler. So perhaps it makes more sense if this was some stand alone service? Perhaps that is pre emptive optimization and I should really just focus on getting my code running first?

So I'll start with an ad hoc session manager within Solr. Where in Solr should I add such a service?


--
karl

Reply via email to