Uploaded image for project: 'Archiva'
  1. Archiva
  2. MRM-730

Index/Search by class, method or package name

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.1
    • Component/s: indexing
    • Labels:
      None

      Activity

      Hide
      oching Maria Odea Ching added a comment -

      There are already stub consumers for this in archiva-lucene-consumers (IndexArchiveTableOfContentsConsumer and IndexJavaPublicMethodsConsumer). Only the implementation code is needed.

      Show
      oching Maria Odea Ching added a comment - There are already stub consumers for this in archiva-lucene-consumers (IndexArchiveTableOfContentsConsumer and IndexJavaPublicMethodsConsumer). Only the implementation code is needed.
      Hide
      wsmoak Wendy Smoak added a comment -

      This would be a good thing to add, it comes up on users@maven occasionally.

      Show
      wsmoak Wendy Smoak added a comment - This would be a good thing to add, it comes up on users@maven occasionally.
      Hide
      joakime Joakim Erdfelt added a comment - - edited

      See post in archiva-dev titled "WIP/POC archiva-jarinfo" as a potential solution.

      http://mail-archives.apache.org/mod_mbox/maven-archiva-dev/200803.mbox/%3c47D6099D.5040502@erdfelt.com%3e

      Show
      joakime Joakim Erdfelt added a comment - - edited See post in archiva-dev titled "WIP/POC archiva-jarinfo" as a potential solution. http://mail-archives.apache.org/mod_mbox/maven-archiva-dev/200803.mbox/%3c47D6099D.5040502@erdfelt.com%3e
      Hide
      oching Maria Odea Ching added a comment -

      I'll implement this feature for now using the consumers, we can just switch over to archiva-jarinfo later if we decide to use it instead

      Show
      oching Maria Odea Ching added a comment - I'll implement this feature for now using the consumers, we can just switch over to archiva-jarinfo later if we decide to use it instead
      Hide
      oching Maria Odea Ching added a comment - - edited

      Fixed in trunk -r674740 and -r674768.

      Fix includes:

      • used bcel to read the .class files
      • index classnames (packagename already included here) and methods that are public
      • added tests
      • search bytecode index if not found in filecontent index (general search)

      This would also be included in the advanced search..

      Show
      oching Maria Odea Ching added a comment - - edited Fixed in trunk -r674740 and -r674768. Fix includes: used bcel to read the .class files index classnames (packagename already included here) and methods that are public added tests search bytecode index if not found in filecontent index (general search) This would also be included in the advanced search..

        People

        • Assignee:
          oching Maria Odea Ching
          Reporter:
          oching Maria Odea Ching
        • Votes:
          0 Vote for this issue
          Watchers:
          0 Start watching this issue

          Dates

          • Created:
            Updated:
            Resolved:

            Development