You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Gastone Penzo <ga...@gmail.com> on 2011/03/23 17:38:35 UTC
multifield search using dismax
Hi,
is it possible, USING DISMAX SEARCH HANDLER, to make a search like:
search value1 in field1 & value 2 in field 2 &....??
it's like q=field1:value1 field2:value2 in standard search, but i want to do
this in dismax
Thanx
--
Gastone Penzo
*www.solr-italia.it*
*The first italian blog about Apache Solr *
Re: multifield search using dismax
Posted by Jonathan Rochkind <ro...@jhu.edu>.
It is not. I think it is is possible in edismax, on trunk (not yet in a
released version, not sure if it will be in the upcoming release).
Alternately, you can use Solr nested queries, although they're not
really suitable for end-user-entry, and you might lose the behavior of
dismax you want, depending on what behavior you want.
&defType=lucene
&q=_query_:"{!dismax qf='field1 field2'}value1" AND _query_:"{!dismax
qf='field3 field4'}more values"
On 3/23/2011 12:38 PM, Gastone Penzo wrote:
> Hi,
> is it possible, USING DISMAX SEARCH HANDLER, to make a search like:
>
> search value1 in field1& value 2 in field 2&....??
>
> it's like q=field1:value1 field2:value2 in standard search, but i want to do
> this in dismax
>
> Thanx
>
>
>