Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Lucene: General

Question on BitVector

 

 

Lucene general RSS feed   Index | Next | Previous | View Threaded


chs_105 at comcast

May 1, 2007, 8:44 AM

Post #1 of 2 (1477 views)
Permalink
Question on BitVector

Hi all, I have a question about how to use BitVector because I really need to
use the "count" method for it with my project. When I do a search I am
getting BitArrays to work with, how do I convert it or populate the
BitVector object so that I can work with it instead? Thanks!
--
View this message in context: http://www.nabble.com/Question-on-BitVector-tf3675698.html#a10271069
Sent from the Lucene - General mailing list archive at Nabble.com.


hossman_lucene at fucit

May 1, 2007, 1:29 PM

Post #2 of 2 (1353 views)
Permalink
Re: Question on BitVector [In reply to]

1) general [at] lucen is for discussing broad topics about the Lucene Top
Level Apache project ... in the future please send questions about
useing the Java APIs to the java-user [at] lucen list

2) I have no idea what you mean by "BitArrays" ... that is not a Lucene
class or a J2SE class.

3) if the only reason you want a BitVector is for the count method, you
should just use the BitSet class and it's cardinality method -- which was
added in Java1.4

: Hi all, I have a question about how to use BitVector because I really need to
: use the "count" method for it with my project. When I do a search I am
: getting BitArrays to work with, how do I convert it or populate the
: BitVector object so that I can work with it instead? Thanks!



-Hoss

Lucene general RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.