Any one knows how to make a check or condition in search state for checking whether an attribute is empty or not having any value in "searchstate:addsimplestandardconstraint".
For E.g. <searchstate:addsimplestandardconstraint name="search1" typename="Content" attribute="someAttribute" value='should be blank - but not accepting'/>
Thanks in Advance,
Sadly not possible using searchstates. There have been different workarounds, one of which is to resort to SQL. For example:
FROM news_c_mungo ncm
LEFT JOIN news_a na
ON ncm.cs_attrid = na.id
where na.name = 'CopiedDescription'
and stringvalue is NULL
returns any News_C assets having a stringvalue attribute called "CopiedDescription" that is null.