Class BasicUsageExample

java.lang.Object
org.apache.maven.index.examples.BasicUsageExample

public class BasicUsageExample extends Object
Collection of some use cases.
  • Constructor Details

    • BasicUsageExample

      public BasicUsageExample() throws org.codehaus.plexus.PlexusContainerException, org.codehaus.plexus.component.repository.exception.ComponentLookupException
      Throws:
      org.codehaus.plexus.PlexusContainerException
      org.codehaus.plexus.component.repository.exception.ComponentLookupException
  • Method Details

    • main

      public static void main(String[] args) throws Exception
      Throws:
      Exception
    • perform

      public void perform() throws IOException, org.codehaus.plexus.component.repository.exception.ComponentLookupException, org.eclipse.aether.version.InvalidVersionSpecificationException
      Throws:
      IOException
      org.codehaus.plexus.component.repository.exception.ComponentLookupException
      org.eclipse.aether.version.InvalidVersionSpecificationException
    • searchAndDump

      public void searchAndDump(Indexer nexusIndexer, String descr, org.apache.lucene.search.Query q) throws IOException
      Throws:
      IOException
    • searchGroupedAndDumpFlat

      public void searchGroupedAndDumpFlat(Indexer nexusIndexer, String descr, org.apache.lucene.search.Query q, Grouping g) throws IOException
      Throws:
      IOException
    • searchGroupedAndDump

      public void searchGroupedAndDump(Indexer nexusIndexer, String descr, org.apache.lucene.search.Query q, Grouping g) throws IOException
      Throws:
      IOException