Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Fabio Blardone 79 posts 98 karma points
    Apr 10, 2013 @ 12:28
    Fabio Blardone
    0

    Examine Range with number

    Hello,
    i'm using Umbraco 4.9.1. and i'm trying to create an advanced search with Examine.
    All work correctly except for a search base on a range of price.

    SCENARIO
    I have a DocType with a textstring Prop named Price that can contains values as follow 500.000,00 ; 600.000,00 ; 1.000.000,00.
    I configured IndexSet as follow:

    <add Name="Price" Type="Number" />
    

    Using the Range() with parameter of type int or Double Examine return 0 search result even if i've several Document with different prices.
    Using the Range() with parameter of type string works only for the range 1.000.000,00 - 2.000.000,00.

    Putting the result Lucene query in Luke give me the same results.

    I hope anyone can help me.

    Thanks

    Fabio.

Please Sign in or register to post replies

Write your reply to:

Draft