1

I have Site Column of type Number, Sharepoint Default created a managed property in Text type, So I created a custom managed property in the type of integer and mapped to that crawled property. CSWP retrieving the items only for **MYCustomNumberMangedProperty = 0** but it is not showing any items for the following query **MYCustomNumberMangedProperty > 0** or **MYCustomNumberMangedProperty = 1**. In our custom list we have 10 items, I don't understand why this behaving like that, Correct me If I am Wrong?

3
  • 1
    can you map it RefinableInt or RefinableDouble and then check ? Commented Jul 4, 2017 at 11:03
  • Thank GautamSheth ,I will check
    – Debugger
    Commented Jul 4, 2017 at 11:07
  • ya, It's working for RefinableDouble.Thanks @GautamSheth
    – Debugger
    Commented Jul 4, 2017 at 12:00

1 Answer 1

2

You need to map the site column of type number to either RefinableIntxx or RefinableDouble OOTB managed property.

Once your crawled property is mapped to either of these managed property, you will be able to perform comparison operations on it since number can contain values including decimal.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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