Hi,
I have 2 questions about the syntax of a query for which i didn't find
a clear answer in the documents (when i try using Lucene syntax it
fails for some reason).

I have the following Query:
q=field1:tag1 tag2^0.5 OR field2:tag1
tag2^0.5&version=2.2&start=0&rows=170&indent=on&fl=*,score

And i want to do :
1. Return back ONLY documents that contain both tag1 AND tag2 in
field1. when i try using Lucene syntax (+tag1 or +(tag1)) i get an
exception from Lucene.
2. Boost field 1 (something like q=field1^3:tag1 tag2^0.5 OR..).

Any advice on what's the correct syntax for this?
Help is much appreciated !
S

Reply via email to