jason-datausa
-
1/25/2011 5:43:47 PM
Filtering Smart Search results by multiple fields
Hi,
I'm trying to filter the Smart Search Results control by multiple fields. I've been able to to filter it by one field by placing this within the Search Condition:
+StateID:(int)24
But, I'm trying to filter with multiple. I've tried:
(+StateID:(int)24 OR +StateID:(int)12) StateID:(+(int)80 +(int)84)
Ultimately, I'd like to do something like this:
(StateID:(+(int)80 OR +(int)84) AND CategoryId:(+(int)1))
I'm struggling with the right syntax. I've checked out: http://lucene.apache.org/java/2_1_0/queryparsersyntax.html#AND
But, I haven't had any luck. Has anyone had any experience with this stuff???
Thanks, J
|