Archiva

Index/Search by class, method or package name

Details

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

Activity

Hide
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
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
Wendy Smoak added a comment -

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

Show
Wendy Smoak added a comment - This would be a good thing to add, it comes up on users@maven occasionally.
Hide
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
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
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
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
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
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

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: