TokenStream tokenStream = field.tokenStreamValue();
Collection<AnnotationFS> matchingTextAnnotations = new LinkedList<AnnotationFS>();
QueryScorer scorer = new QueryScorer(query.query(), field.name());
scorer.startFragment(new TextFragment(
new StringBuffer(aCAS.getDocumentText()), 0, 0));
try {
scorer.init(tokenStream);