Hi, Kishore, The file examples/ibis.cpp has been updated to allow you to specify a name-option pair following -b, such as
ibis -d tmp -b "a*:<binning none/>" -b "b*:<binning nbins=12000/>" -b "<binning prec=2/>" -b 3 The four -b options are used as follows - any column whose name match the pattern "a*" (i.e., starting with the letter 'a') will be indexed with indexing option <binning none/>. - among the remaining columns, any column whose name match the pattern "b*" will be indexed with <binning nbins=12000/>. - all remaining columns will be index with the option <binning prec=2/> (unless the option couldn't be applied, for example, because the data is string valued). - the option "-b 3" tells FastBit to build indexes with three threads (which requires enough memory to hold three different indexes and the corresponding raw data in memory.) The source code is in SVN as revision 534. Please give it a try when you get the chance and let us know if you encounter any problems. John On 8/6/12 5:41 PM, K. John Wu wrote: > Hi, Kishore, > > Thanks for the your interest in FastBit. Right now, the fastest way > to change the indexing option is to edit the metadata file -part.txt. > > We will consider adding options to ibis.cpp to allow one to index each > column separately. Let us know if you want to suggest something for > this option. > > John > > > On 8/6/12 5:12 PM, kishore g wrote: >> Hi, >> >> Is it possible to use specify the type of index ( binning, range, >> equality) on a per column basis. I tried the -b option but it >> generates the index for all columns. I have a requirement where I will >> be doing range query on one column and equality on others. The range >> query column will be sorted as well. >> >> I could not find this in the documentation even though it says if an >> index already exists it does not regenerate it unless -z option is >> provided, it seems to regenerate it every time for all columns. >> >> Thanks for the help. >> >> Thanks, >> Kishore G >> >> >> _______________________________________________ >> FastBit-users mailing list >> [email protected] >> https://hpcrdm.lbl.gov/cgi-bin/mailman/listinfo/fastbit-users >> _______________________________________________ FastBit-users mailing list [email protected] https://hpcrdm.lbl.gov/cgi-bin/mailman/listinfo/fastbit-users
