Re: Query with bitwise operation

2009-04-08 Thread Noble Paul നോബിള്‍ नोब्ळ्
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 ? >> >&

Re: Query with bitwise operation

2009-04-08 Thread Erik Hatcher
ield 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.nabbl

Query with bitwise operation

2009-04-08 Thread AlexxelA
ng 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.