Hi,
I'm currently looking at writing my first Solr plugin, but I could not
really find any "overview" information about how a Solr request works
internally, what the control flow is and what kind of plugins are
available to customize this at which point. The Solr wiki page on
plugins [1], in my opinion, already assumes too much knowledge and is
too terse in its descriptions.
[1] http://wiki.apache.org/solr/SolrPlugins
If anyone knows of any good ressources to get me started, that would be
awesome!
However, also pretty helpful would be just to know what kind of plugin I
should create for my use case, as I could then at least try to find
information specific to that. What I want to do is filter the search
results (at the time fq filters are applied, so before sorting,
facetting, range selection, etc. takes place) by some custom criterion
(passed in the URL). The plan is to add the data needed for that custom
filter as a separate set of documents to Solr and look them up from the
Solr index when filtering the query. Basically the thing discussed in
[2], at 29:07.
[2] http://www.youtube.com/watch?v=kJa-3PEc90g&feature=youtu.be&t=29m7s
So, the question is, what kind of plugin would I use (and how would it
have to be configured)? I first thought it'd have to be a
SearchComponent, but I think with that I'd only get the results after
they are sorted and trimmed to the range, right?
Thanks a lot in advance,
Thomas Seidl