Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [recommenders-dev] Fwd: [Bug 383511] Enable Gerrit for recommenders.incubator/org.eclipse.recommenders.codesearch.git

Hi Marcel,
this is an update of my progress on what we discussed in [1]. Based on what we said I set up an initial version of my index-based extdoc provider. This initial implementation search for all the usages of a selected type in the index, and then visit collected results searching for expressions, using my _expression_ visitor provided in [2]. At the moment there is no real aggregation of results, I'm more concerned on finding a better query to reduce the usage of AST parser. The problem at the moment is that the query I set up is pretty rough, it finds all the uses of a particular type, what I'm trying to achieve is something like "find all the type usages which are declarations or assignments and are not null". I spent some time getting more familiar with Lucene and our index' query terms, at the moment my setup results in:

- indexed plugins: o.e.pde.core, o.e.pde.ui, o.e.jdt.ui
- index size: ~37MB
- execution statistics:
type: "org.eclipse.swt.widgets.Display";
index occurrences: ~100;
execution time: ~3.5s
  
Let me know what you think. Do you think it's worth investigating on a more precise query? Or should I leave this task for later and start focusing on grouping the results?

Thanks,
Massimo.


[1]  https://git.eclipse.org/r/#/c/6568/ 
[2]  https://git.eclipse.org/r/#/c/6428/

On Sat, Jun 30, 2012 at 12:12 PM, Massimo Zugno <d3k41n@xxxxxxxxx> wrote:
Hi Marcel,
thanks for the update, these are good news and I agree with you, as soon as the indexer is committer we can start discussing more in detail my task.

Thanks,
Massimo.

On Fri, Jun 29, 2012 at 11:08 PM, Marcel Bruch <bruch@xxxxxxxxxxxxxxxxxx> wrote:
Short update:
The codesearch incubator is almost ready to go. The repository has been created, gerrit configured, and the ip check of Tobias' code is complete. Please find some more details about how to access the new repository etc. below.

In the next days I'll commit parts of the indexer. Massimo, it would be nice to start a more detailed discussion on how to implement your definition recommender as soon as the initial indexer is committed.

Best,
Marcel

Begin forwarded message:

Date: 29. Juni 2012 20:58:47 MESZ
Subject: [Bug 383511] Enable Gerrit for recommenders.incubator/org.eclipse.recommenders.codesearch.git

https://bugs.eclipse.org/bugs/show_bug.cgi?id=383511
Product/Component: Community / Gerrit

Eclipse Webmaster <webmaster@xxxxxxxxxxx> changed:

          What    |Removed                     |Added
----------------------------------------------------------------------------
            Status|NEW                         |RESOLVED
        Resolution|                            |FIXED

--- Comment #4 from Eclipse Webmaster <webmaster@xxxxxxxxxxx> 2012-06-29 14:58:47 EDT ---
OK, I've managed to update the groups.

As such I've enabled Gerrit for
recommenders.incubator/org.eclipse.recommenders.codesearch.git .  You can add
it to the list of projects you watch:

https://git.eclipse.org/r/#/settings/projects

Upload your SSH public keys to Gerrit if you wish to use SSH:
https://git.eclipse.org/r/#/settings/ssh-keys

Your Gerrit-enabled repo URLs:
ssh://userid@xxxxxxxxxxxxxxx:29418/recommenders.incubator/org.eclipse.recommenders.codesearch.git
https://git.eclipse.org/r/p/recommenders.incubator/org.eclipse.recommenders.codesearch.git

Gerrit@Eclipse docs:
http://wiki.eclipse.org/Gerrit#Logon

-M.

--
Configure bugmail: https://bugs.eclipse.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You reported the bug.

-- 


_______________________________________________
recommenders-dev mailing list
recommenders-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/recommenders-dev




Back to the top