Portal Engine Questions on portal engine and web parts.
Version 4.x > Portal Engine > Search syntax View modes: 
User avatar
Member
Member
eagleag - 7/6/2010 8:26:04 AM
   
Search syntax
Im trying to search for a number in a range.
example:
minPirce < 800 < maPrice

minPrice and maxPrice are two fields in a document type.

Im adding this query to smart search box webpart, throw code:
url = UrlHelper.UpdateParameterInUrl(url, "searchtext", HttpUtility.UrlEncode(mycodeVar));


how can i get to work using this syntax http://lucene.apache.org/java/2_1_0/queryparsersyntax.html

THANKS :)

User avatar
Kentico Developer
Kentico Developer
kentico_ondrejv - 7/12/2010 3:28:17 AM
   
RE:Search syntax
Hello,

I believe we are solving more or less the same issue here: http://devnet.kentico.com/Forums.aspx?forumid=36&threadid=15245

Please follow that one.

Thank you.

Best regards
Ondrej Vasil