This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 210413 - Fast Remote search
Summary: Fast Remote search
Status: STARTED
Alias: None
Product: cnd
Classification: Unclassified
Component: Remote (show other bugs)
Version: 7.2
Hardware: PC Solaris
: P2 normal (vote)
Assignee: issues@cnd
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-30 09:50 UTC by Alexander Simon
Modified: 2014-04-14 14:35 UTC (History)
2 users (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Simon 2012-03-30 09:50:32 UTC
NB introduced new Enhanced Search API (see bug #207436)
API allows to implement own searcher.
I suggest to implement search for remote file system based on executing shell command on remote host.
Initial module example is already implemented as homework for bug #207436.
See:
Created attachment 117164 [details]
Example Module - Search Provider

So CND can easy reuse module for remote/local host.
Comment 1 Vladimir Voskresensky 2012-03-30 10:18:53 UTC
it is a very valuable feature which can speed up search full remote mode in times.
Comment 2 Andrew Krasny 2012-04-05 13:42:27 UTC
Initial commit: http://hg.netbeans.org/cnd-main/rev/e9eb70a2433f
Comment 3 Jesse Glick 2012-04-05 15:53:57 UTC
Interesting. I have been playing with a similar module in mercurial.search. (Still in rough condition but some basic stuff works.) Local only, but much faster than find|grep when used on a Mercurial-based source tree including build products. Could imagine similar impls using 'git grep', etc. ('hg grep' is different and probably unsuitable for this purpose.) Would be nice if this could be merged with your impl so as to work on remote hosts too, though the dependency on dlight.remote would probably need to be factored out into an optional bridge so it could run against just the ide cluster.
Comment 4 Quality Engineering 2012-04-06 10:06:33 UTC
Integrated into 'main-golden', will be available in build *201204060400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/f252fd190f8c
User: Alexander Simon <alexvsimon@netbeans.org>
Log: fixing Bug #210413 Fast Remote search
- additional fix: provide roots for folder and project