lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shalin Shekhar Mangar <>
Subject Re: how to create a custom queryparse to handle new functions
Date Fri, 04 Sep 2009 21:51:53 GMT
On Sat, Sep 5, 2009 at 2:15 AM, gdeconto <>wrote:

> Can someone point me in the general direction of how to create a custom
> queryparser that would allow me to create custom query commands like this:
> http://localhost:8994/solr/select?q=myfunction(<http://localhost:8994/solr/select?q=myfunction%28>‘Foo’,
> 3)
> or point me towards an example?
> note that the actual functionality of myfunction is not defined.  I am just
> wondering if this sort of extensibility is possible.

You do not need to create a custom query parser for this. You just need to
create a custom function query. Look at one of the existing function queries
in Solr as an example.

Shalin Shekhar Mangar.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message