search_cop
search_cop copied to clipboard
Can I'm using query with nil/null/empty?
like:
Book.search("author: Rowling sdn: null")
Book.search("author: Rowling sdn: empty")
Book.search(author: Rowling, sdn: '' ")
you can search for empty values via the = operator, like
Book.search("author=''")
searching for explicit null's is currently not supported and would require a special syntax/operator, since the string "null" could be a valid value.
Something like elasticsearch/lucene's _exists_:author
tnx