>
> 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.
>
This is where the need originates from -
http://www.lucidimagination.com/search/document/a4bb0dfee53f7493/how_to_scan_dynamic_field_without_specifying_each_field_in_query

Within the function, the intent is to rewrite incoming parameter into a
different query. Can this be done? AFAIK, not.

Cheers
Avlesh

On Sat, Sep 5, 2009 at 3:21 AM, Shalin Shekhar Mangar <
shalinman...@gmail.com> wrote:

> On Sat, Sep 5, 2009 at 2:15 AM, gdeconto <gerald.deco...@topproducer.com
> >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>
> <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.
>
>
> --
> Regards,
> Shalin Shekhar Mangar.
>

Reply via email to