Hi,

Try to add &debugQuery=true to your query and tell us what your query evaluates 
to. I'd try to replace your last line with 
NOT (title:"men" OR keywords:"men" OR description:"men")

PS: Have you looked at Dismax? http://wiki.apache.org/solr/DisMaxQParserPlugin
I think you could express the same as
&qf=has_gif:"1"&qf=category_name:"Clip Art"&qf=title keywords description&q=man 
-men

--
Jan Høydahl, search solution architect
Cominvent AS - www.cominvent.com

On 5. mars 2011, at 20.11, Andy Newby wrote:

> Hi,
> 
> I'm trying to work out why this query won't work:
> 
> ((title:"man")) OR ((keywords:"man")) OR ((description:"man")) AND
> (has_gif:"1")
> AND (category_name:"Clip Art")
> AND ((-title:"men") AND (-keywords:"men") AND (-description:"men"))
> 
> If I remove the last bit, so we have:
> 
> ((title:"man")) OR ((keywords:"man")) OR ((description:"man")) AND
> (has_gif:"1")
> AND (category_name:"Clip Art")
> 
> ...and it works fine
> 
> As soon as I put in -field:"value" it yeilds no results... even though there
> are a ton of results that match the criteria :/
> 
> Can anyone suggest what I'm doing wrong? Everything else is working
> perfectly... would be a shame if I couldn't get this feature working
> -- 
> Andy Newby
> a...@ultranerds.com

Reply via email to