lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Libbrecht <>
Subject pre-loaded function-query?
Date Tue, 18 Aug 2015 21:33:05 GMT

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?



View raw message