lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mike Klaas" <>
Subject Re: Multi column search...
Date Wed, 03 Jan 2007 23:27:13 GMT
On 1/3/07, escher2k <> 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

...?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.


View raw message