On Mon, Apr 25, 2011 at 04:34:05PM -0400, Jonathan Rochkind said:
> This is what I do instead, to rewrite the query to mean the same thing but 
> not give the lucene query parser trouble:
> 
> fq=( (*:* AND -type:foo) OR restriction_id:1)
> 
> "*:*" means "everything", so (*:* AND -type:foo) means the same thing as 
> just "-type:foo", but can get around the lucene query parsers troubles.
> 
> So that might work for you.

Thanks for confirming my suspicions.

Unfortunately I've tried that as well and, whilst it works 
it's also unbelievably slow (~30s query time).

Would writing my own Query Parser help here?

Simon




Reply via email to