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 <ndus...@stanford.edu> 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 instead of double quote).

Thanks, I always forget that dismax uses space separated, not comma
separated lists.

-Yonik

Reply via email to