1 Reply Latest reply: Jun 3, 2008 12:40 PM by 560578 RSS

    Searching a category attribute with null value

    560578
      Hi all!
      Im trying to search for an attribute of type Long who has no value.
      I tried building a search expression and using a null obj as the right operand, but that dont seem to work.

      How can I search for a document who doesnt have one of his attribute (custom) set to a value ?


      Thanks
        • 1. Re: Searching a category attribute with null value
          560578
          To be more clear,
          Doc -> custom attribute namex xyz of type Long

          if the value isnt set, how do I find the docs that have xyz at null ?

          Currenlty EQUAL gives me a InvalidSearchExpressionException
          I tried NOT_EQUAL some Long value that isnt anywhere but that only returns me the docs that have the attribute set to a value, not those at null

          Anyone had that problem ?