One field of my document I use for solr is an integer.  I want to do bitwise
operations on that field in my queries

Ex : 

status = 46 (in my solr document)
In want to know if the bit #1 (2¹) = 1 --> (46&2) > 0 ?
or if bit #2 and #3 (2² + 2³) = 1 (46&12) > 0 ?

Can we do something like this :

q=status:((46&2)>0) ?


-- 
View this message in context: 
http://www.nabble.com/Query-with-bitwise-operation-tp22956950p22956950.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to