:
: 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.

can you show us exactly what you are querying on, and what the exception
is? (ie: what is your URL?)

: 2. Boost field 1 (something like q=field1^3:tag1 tag2^0.5 OR..).

boosts apply to entire queries, so if you want to boost a query on
field1:tag1 you put hte boost after that: field1:tag1^3




-Hoss

Reply via email to