Best way to build a query?

Hello,

I am currently taking various users parameters and build an FQL query.
For example, I I was given:

query = “indian reservation”

date: 20050101 to 20070303

location = USA

Human version: Get all of the documents containing “indian reservation”
which were published between 20050101 to 20070303 in the USA

FQL: +content:(indian reservation) +date:{20050101 20070303}
+location:(usa)

Is there a better way to do this building queries using the query
functions?

Benjamin

Benjamin A. wrote:

Hello,

I am currently taking various users parameters and build an FQL query.
For example, I I was given:

query = “indian reservation”

date: 20050101 to 20070303

location = USA

Human version: Get all of the documents containing “indian reservation”
which were published between 20050101 to 20070303 in the USA

FQL: +content:(indian reservation) +date:{20050101 20070303}
+location:(usa)

Is there a better way to do this building queries using the query
functions?

Benjamin

you should quote the strings: content:“indian reservation” AND
location:“usa”