Re: DisMaxHandler and plone advanced searches
On 13-Feb-08, at 6:16 AM, Leonardo Santagada wrote:
> We would like to use DisMaxHandler but the thing is that on plone
> advanced search you can search for other fields besides the default
> one, and in more than one at the same time. So what would be nice
> is to be able to search with multiple "q" each with a specific
> field. Is this somehow possible or not?
If you want to search the same thing in multiple fields, use:
q=<query>
qf=field1 field2 field3
To this you can add multiple restrictions (filters) of arbitrary
queries in any field:
fq=field4:query2
fq=field5:query3
If you want to boost these queries rather than filter, use bq.
-Mike