verity cfsearch format question
Hi there,
I am having difficulty implementing logic into my cfsearch query. Basically if the user inputs "petrol gas" in the search box I want the query to return pages from my index which have petrol AND gas in the desciption field. I am having no issues with searching one word searches or anything like that, preventing stemming etc, its just the operator stuff I can't get to work whatever I try.
For example if I run the following <cfsearch collection="de_verity" name="results" maxrows="1000" criteria="petrol AND gas" type="explicit"> it doesn't work (ie. the results aren't correct).
If i try <cfsearch collection="de_verity" name="results" maxrows="1000" criteria="<AND>petrol gas" type="explicit"> it throws an error. I will also want to OR some data but I'm assuming if I can crack the AND issue the OR issue will be exactly the same.
Anyone have any running implementations including some logical operators. We're running coldfusion 7 which is old I know.
Thanks
