Hi, Bernd, Thanks for helping us to debug this problem with string search. Your code for catching this bug has been added as tests/smatch.cpp in the current source code archive. You may check out the latest source code from the SVN repository by using
svn checkout https://codeforge.lbl.gov/anonscm/fastbit Please let us know if you spot any issues with the newly added source code or any other part of the software. John On 4/27/2010 7:08 AM, bernd jaenichen wrote: > Hi, > > i'm using table::select to fetch values out of a text column. > > Its working fine with strings up to a length of 7 bytes but when > querying a string > greater than 7 bytes the returned resultset inludes too much values. > > I checked the source code of category.cpp and found in > ibis::text::stringSearch(const char* str, ibis::bitvector& hits) > that strings are matched up to 7 bytes only. > > I fixed it for normal strings (the patch is attached to this mail) cause > it works in my use-case. > I'm not sure if other code blocks within this method are also limited to > 7 bytes. > > Is it possible to extend the complete functionality of text searching to > match strings greater than 7 bytes? > > Kind regards, > > Bernd Jaenichen > > > > _______________________________________________ > 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
