q.add( nexusIndexer.constructQuery( OSGI.EXPORT_PACKAGE, new StringSearchExpression(
"org.apache.karaf.features.command.completers" ) ), BooleanClause.Occur.MUST );
FlatSearchRequest request = new FlatSearchRequest( q );
FlatSearchResponse response = nexusIndexer.searchFlat( request );
//System.out.println("results with export package query " + response.getResults() );
assertEquals( 1, response.getResults().size() );
ArtifactInfo ai = response.getResults().iterator().next();
assertEquals( "org.apache.karaf.features", ai.groupId );
assertEquals( "org.apache.karaf.features.command", ai.artifactId );
assertEquals( "2.2.2", ai.version );
assertEquals( "org.apache.karaf.features.command", ai.bundleSymbolicName );