CPD Results
The following document contains the results of PMD's CPD 6.42.0.
Duplications
| File | Line |
|---|---|
| org/apache/maven/index/examples/indexing/RepositoryIndexer.java | 157 |
| org/apache/maven/index/examples/indexing/RepositoryIndexer.java | 207 |
Query query = queryBuilder.build();
LOGGER.debug( "Executing search query: {}; ctx id: {}; idx dir: {}",
query, indexingContext.getId(), indexingContext.getIndexDirectory() );
final FlatSearchResponse response = getIndexer().searchFlat( new FlatSearchRequest( query, indexingContext ) );
LOGGER.info( "Hit count: {}", response.getReturnedHitsCount() );
final Set<ArtifactInfo> results = response.getResults();
if ( LOGGER.isDebugEnabled() )
{
for ( final ArtifactInfo result : results )
{
LOGGER.debug( "Found artifact: {}", result.toString() );
}
}
return results;
}
public Set<ArtifactInfo> search( final String queryText ) | |
![Maven :: Indexer Examples [Spring]](../../../images/apache-maven-project.png)

