cancel
Showing results for 
Search instead for 
Did you mean: 

Search for empty property

jerrycooper
Champ in-the-making
Champ in-the-making
Hello,

I need in advanced search to search for documents with some empty properties.
I added the fields for that properties, bud I don't know how define empty string to search.
1 REPLY 1

smicyk
Champ in-the-making
Champ in-the-making
Hi,

as far as I remember you can't search empty strings in Lucene but you can set property to null and then use ISNULL or ISNOTNULL to find empty properties.

Thanks,
smicyk