Re: java doc error local params syntax for dismax

2009-09-23 Thread Naomi Dushay
Okay, but {!dismax qf="myfield mytitle^2"}foo works {!dismax qf=myfield mytitle^2}foo does NOT work - Naomi On Sep 23, 2009, at 5:52 PM, Yonik Seeley wrote: On Wed, Sep 23, 2009 at 8:24 PM, Naomi Dushay wrote: It's not just the spaces - it's that the quotes (single or double flav

Re: java doc error local params syntax for dismax

2009-09-23 Thread Yonik Seeley
On Wed, Sep 23, 2009 at 8:24 PM, Naomi Dushay wrote: > It's not just the spaces - it's that the quotes (single or double flavor) is > required as well. LocalParams are space delimited, so the original example would have worked if the dismax parser accepted comma delimited fields. -Yonik http://w

Re: java doc error local params syntax for dismax

2009-09-23 Thread Naomi Dushay
It's not just the spaces - it's that the quotes (single or double flavor) is required as well. On Sep 23, 2009, at 3:10 PM, Yonik Seeley wrote: On Wed, Sep 23, 2009 at 5:59 PM, Naomi Dushay wrote: The javadoc for DisMaxQParserPlugin states: {!dismax qf=myfield,mytitle^2}foo creates a di

Re: java doc error local params syntax for dismax

2009-09-23 Thread Yonik Seeley
On Wed, Sep 23, 2009 at 5:59 PM, Naomi Dushay wrote: > The javadoc for  DisMaxQParserPlugin states: > > {!dismax qf=myfield,mytitle^2}foo creates a dismax query > > but actually, that gives an error. > > The correct syntax is > > {!dismax qf="myfield mytitle^2"}foo > > (could use single quote inst

java doc error local params syntax for dismax

2009-09-23 Thread Naomi Dushay
The javadoc for DisMaxQParserPlugin states: {!dismax qf=myfield,mytitle^2}foo creates a dismax query but actually, that gives an error. The correct syntax is {!dismax qf="myfield mytitle^2"}foo (could use single quote instead of double quote). - Naomi