All,

Not sure if I'm doing something wrong with terms here, but I can't get
startWith to work as I expect.

//Standard terms call
blur (default)> terms twitter person:name
hunter
nick
rachel
sam

//Size limited terms call
terms twitter person:name -n 3
hunter
nick
rachel

//blur (default)> terms twitter person:name -n 3 -s rachel
startWith:rachel
hunter
nick
rachel

//The above happens for all 4 names in both lower case and upper case forms

I expect something else returned because I'm changing the startwith.


*My code snippet*

//other arguments etc
if (cmd.hasOption("s")){
      startWith = cmd.getOptionValue("s");
      out.println("startWith:"+startWith);
}
 List<String> terms = client.terms(tablename,family,column,startWith,size);
//print


Thanks,

Hunter


-- 

Hunter G. Williams

804-314-7499 | www.BTI360.com <http://www.bti360.com/>

Reply via email to