I'm not sure if you mean organizing function queries under the hood in a query component or externally.
Externally, I've always followed John Berryman's great advice for working with Solr when dealing with complex/reusable function queries and boosts http://opensourceconnections.com/blog/2013/11/22/parameterizing-and-organizing-solr-boosts/ -Doug On Tue, Aug 18, 2015 at 5:33 PM, Paul Libbrecht <libbre...@ph-weingarten.de> wrote: > > Hello Solr experts, > > I'm writing a "query expansion" QueryComponent which takes web-app > parameters (e.g. profile information) and turns them into a solr query. > Thus far I've used lucene TermQuery-ies with success. > > Now, I would like to use something a bit more elaborate. Either I write > it with quite a lot of term-queries or I use a function query. But how > can I create a functionQuery that I can: > - re-use between the queries, > - enter using a somewhat practical method > > Seems like range-queries could be done but I do not find how I can do it > with function-queries. > Is there an example somewhere? > > thanks > > Paul > > -- *Doug Turnbull **| *Search Relevance Consultant | OpenSource Connections <http://opensourceconnections.com>, LLC | 240.476.9983 Author: Relevant Search <http://manning.com/turnbull> This e-mail and all contents, including attachments, is considered to be Company Confidential unless explicitly stated otherwise, regardless of whether attachments are marked as such.