int start = 0; // from == FlatSearchRequest.UNDEFINED ? 0 : from;
// we have to pack the results as long: a) we have found aiCount ones b) we depleted hits
for ( int i = start; i < scoreDocs.length; i++ )
{
Document doc = indexSearcher.doc( scoreDocs[i].doc );
ArtifactInfo artifactInfo = IndexUtils.constructArtifactInfo( doc, context );
if ( artifactInfo != null )
{