{
Query rtr = null;
try{
//TODO: Are any of these classes thread safe, and would not have to be created for each query?
TerrierLexer lexer = new TerrierLexer(new StringReader(query));
TerrierFloatLexer flexer = new TerrierFloatLexer(lexer.getInputState());
TokenStreamSelector selector = new TokenStreamSelector();
selector.addInputStream(lexer, "main");
selector.addInputStream(flexer, "numbers");
selector.select("main");