Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

At first glance it appears that they force you to use "equals" as the operator. Does anyone know of a way to setup a rule that allows you to use "less than" and "greater than"?

If not, would it be possible to customize the matchingrule.aspx page and it's supporting code to do this without venturing into "unsupported" territory?

share|improve this question
add comment

1 Answer

I think its possible to achieve this...(Sharepoint 2010)

Add a core results webpart in your matchingrule.aspx page, go to the edit webpart properties window expand the "Result Query Options" tab and add ManagedPropertyName "<" Value or ManagedPropertyName ">" Value" (no quotes) inside the "Append Text to Query" textbox and do a search to test it out and it should work..

keep in mind this only applies to DateTime, Integer and Decimal Managed property types.

For for information on property restrictions for searching.. http://msdn.microsoft.com/en-us/library/ff394509.aspx

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.