Package org.apache.maven.index.examples
Class BasicUsageExample
java.lang.Object
org.apache.maven.index.examples.BasicUsageExample
Collection of some use cases.
- 
Constructor SummaryConstructorsConstructorDescriptionBasicUsageExample(org.apache.maven.index.Indexer indexer, org.apache.maven.index.updater.IndexUpdater indexUpdater, Map<String, org.apache.maven.index.context.IndexCreator> indexCreators) 
- 
Method SummaryModifier and TypeMethodDescriptionvoidperform()voidsearchAndDump(org.apache.maven.index.Indexer nexusIndexer, String descr, org.apache.lucene.search.Query q) voidsearchGroupedAndDump(org.apache.maven.index.Indexer nexusIndexer, String descr, org.apache.lucene.search.Query q, org.apache.maven.index.Grouping g) voidsearchGroupedAndDumpFlat(org.apache.maven.index.Indexer nexusIndexer, String descr, org.apache.lucene.search.Query q, org.apache.maven.index.Grouping g) 
- 
Constructor Details- 
BasicUsageExample
 
- 
- 
Method Details- 
performpublic void perform() throws IOException, org.eclipse.aether.version.InvalidVersionSpecificationException- Throws:
- IOException
- org.eclipse.aether.version.InvalidVersionSpecificationException
 
- 
searchAndDumppublic void searchAndDump(org.apache.maven.index.Indexer nexusIndexer, String descr, org.apache.lucene.search.Query q) throws IOException - Throws:
- IOException
 
- 
searchGroupedAndDumpFlatpublic void searchGroupedAndDumpFlat(org.apache.maven.index.Indexer nexusIndexer, String descr, org.apache.lucene.search.Query q, org.apache.maven.index.Grouping g) throws IOException - Throws:
- IOException
 
- 
searchGroupedAndDumppublic void searchGroupedAndDump(org.apache.maven.index.Indexer nexusIndexer, String descr, org.apache.lucene.search.Query q, org.apache.maven.index.Grouping g) throws IOException - Throws:
- IOException
 
 
-