views:

43

answers:

1

HI,

I am trying a solr query which is like this

+field1:* AND (field2:1 OR field2:10) NOT(field3:value1 OR field3:value2)

But field3 part of the query is not making any impact. It still brings record which has value1 or value2 in field3

Why is this ?

A: 

I think a AND / OR is missing between the two last blocks. It would then become something like :

+field1:* AND (field2:1 OR field2:10) AND NOT(field3:value1 OR field3:value2)
Guillaume Lebourgeois
No, it did not work. Still same result
Riz
Do you pass this query directly in an URL, or do you use any API ?
Guillaume Lebourgeois
I am trying in Solr Admin area
Riz