lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gastone Penzo <gastone.pe...@gmail.com>
Subject Logic operator with dismax
Date Mon, 21 Mar 2011 11:46:22 GMT
Hi.
i have a problem with logic operator OR in dismax query search.
some days ago the query worked well. now it returns me anything (0
documents)

i explain:

the query is:
http://localhost:8983/solr/select/?q=
"1324"OR"4322"OR"2324"OR%20hello+world&defType=dismax&qf=code%20title

the schema has the fields:
code
title

i want to search the docs with hello world in the title, plus the docs with
the codes 1324,4322,2324 (even if they don't have hello world in the title).
the result is the query returns to me the docs with these codes AND hello
world in the title (logic AND, not OR)

the default operator in the schema is OR

what's happened??

thank you



-- 
Gastone Penzo

*www.solr-italia.it*
The first italian blog dedicated to Apache Solr

Mime
View raw message