On 1/3/07, escher2k <[EMAIL PROTECTED]> wrote:
What is the syntax to use to specify a search across multiple across fields
in a URL ?
This is in case someone needs to alter the "searchable" fields dynamically
as opposed to
reading them at server startup from "qf" in solrconfig.xml. Also, it is
easier at debug time :)
As always, it depends on the request handler you are using.
StandardRequest handler only accepts a default field (df) parameter.
However, its query string accepts the full range of valid lucene
queries:

e.g.
...?q=title:foo content:foo: author:bar category:(bar AND baz)

See the Lucene QueryParser documentation for more details.

If you are using dismax, just provide a qf and/or pf parameter.

-Mike

Reply via email to