Re: indexing java byte code in classes / jars

2015-05-11 Thread Walter Underwood
How about Krugle? http://opensearch.krugle.org/ Walter Underwood wun...@wunderwood.org http://observer.wunderwood.org/ (my blog) On May 11, 2015, at 3:18 AM, Tomasz Borek wrote: > There's also Perl-backed ACK. http://beyondgrep.com/ > > Which does the job of searching code really well. > >

Re: indexing java byte code in classes / jars

2015-05-11 Thread Tomasz Borek
There's also Perl-backed ACK. http://beyondgrep.com/ Which does the job of searching code really well. And I think at least once I came across something that stemmed from ACK and claimed it was faster/better... googling... aah! The Silver Searcher it was. :-) http://betterthanack.com/ pozdrawiam

Re: indexing java byte code in classes / jars

2015-05-09 Thread Mark
Hi Alexandre, Solr & ASM is the extact poblem I'm looking to hack about with so I'm keen to consider any code no matter how ugly or broken Regards Mark On 9 May 2015 at 10:21, Alexandre Rafalovitch wrote: > If you only have classes/jars, use ASM. I have done this before, have some > ugly cod

Re: indexing java byte code in classes / jars

2015-05-09 Thread Alexandre Rafalovitch
If you only have classes/jars, use ASM. I have done this before, have some ugly code to share if you want. If you have sources, javadoc 8 is a good way too. I am doing that now for solr-start.com, code on Github. Regards, Alex On 9 May 2015 7:09 am, "Mark" wrote: > To answer why bytecode -

Re: indexing java byte code in classes / jars

2015-05-08 Thread Mark
Erik, Thanks for the pretty much OOTB approach. I think I'm going to just try a range of approaches, and see how far I get. The "IDE does this suggestion" would be worth looking into as well. On 8 May 2015 at 22:14, Mark wrote: > > https://searchcode.com/ > > looks really interesting, howe

Re: indexing java byte code in classes / jars

2015-05-08 Thread Mark
https://searchcode.com/ looks really interesting, however I want to crunch as much searchable aspects out of jars sititng on a classpath or under a project structure... Really early days so I'm open to any suggestions On 8 May 2015 at 22:09, Mark wrote: > To answer why bytecode - because mos

Re: indexing java byte code in classes / jars

2015-05-08 Thread Mark
To answer why bytecode - because mostly the use case I have is looking to index as much detail from jars/classes. extract class names, method names signatures packages / imports I am considering using ASM in order to generate an analysis view of the class The sort of usecases I have would be met

RE: indexing java byte code in classes / jars

2015-05-08 Thread Reitzel, Charles
), of which there are a few available as well. Hmm, this looks interesting ... https://searchcode.com/ -Original Message- From: Erik Hatcher [mailto:erik.hatc...@gmail.com] Sent: Friday, May 08, 2015 4:19 PM To: solr-user@lucene.apache.org Subject: Re: indexing java byte code in classes /

Re: indexing java byte code in classes / jars

2015-05-08 Thread Erik Hatcher
Oh, and sorry, I omitted a couple of details: # creating the “java” core/collection bin/solr create -c java # I ran this from my Solr source code checkout, so that SolrLogFormatter.class just happened to be handy Erik > On May 8, 2015, at 4:11 PM, Erik Hatcher wrote: > > What kin

Re: indexing java byte code in classes / jars

2015-05-08 Thread Erik Hatcher
What kinds of searches do you want to run? Are you trying to extract class names, method names, and such and make those searchable? If that’s the case, you need some kind of “parser” to reverse engineer that information from .class and .jar files before feeding it to Solr, which would happen

Re: indexing java byte code in classes / jars

2015-05-08 Thread Mike Drob
What do the various Java IDEs use for indexing classes for field/type/variable/method usage search? I imagine it's got to be bytecode. On Fri, May 8, 2015 at 2:40 PM, Tomasz Borek wrote: > Out of curiosity: why bytecode? > > pozdrawiam, > LAFK > > 2015-05-08 21:31 GMT+02:00 Mark : > > > I lookin

Re: indexing java byte code in classes / jars

2015-05-08 Thread Tomasz Borek
Out of curiosity: why bytecode? pozdrawiam, LAFK 2015-05-08 21:31 GMT+02:00 Mark : > I looking to use Solr search over the byte code in Classes and Jars. > > Does anyone know or have experience of Analyzers, Tokenizers, and Token > Filters for such a task? > > Regards > > Mark >