Created
January 26, 2015 14:49
-
-
Save estruyf/a5cbf1d5322021285fe4 to your computer and use it in GitHub Desktop.
Value type handling in refiners
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Checks if the value type is known managed properties | |
| a = Srch.ValueInfo.ValueTypeHandler.$2Q(b, d, Srch.ValueInfo.ValueTypeHandler.$k); | |
| // If the propert is unknown, check the managed property suffix (OWSDATE, OWSHTML, ...) | |
| if (Srch.U.n(a)) { | |
| // Retrieve the ows suffix | |
| var f = Srch.ValueInfo.$d(b); | |
| // Retrieve the value type by the suffix | |
| a = Srch.ValueInfo.ValueTypeHandler.$2Q(f, d, Srch.ValueInfo.ValueTypeHandler.$30) | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment