refactor, for S(), spaces are regarded as OR
refactor query to hold scores
refactor
add TermAttr and DocAttr, basic support for VSM
part of the frame for scorer