On Wed, Dec 28, 2011 at 2:16 AM, Parvin Gasimzade
<parvin.gasimz...@gmail.com> wrote:
> I have created custom Solr FunctionQuery in Solr 3.4.
> I extended ValueSourceParser, ValueSource, Query and QParserPlugin classes.

Note that you only need a QParserPlugin implementation for top level
query types, not function queries.
With just a ValueSourceParser and ValueSource implementation, you can
use the custom function as a function query.

Example:
q={!func}graph("myparameter")

-Yonik
http://www.lucidimagination.com

Reply via email to