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 190359 - searching maven repositories blocks other providers
Summary: searching maven repositories blocks other providers
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Quick Search (show other bugs)
Version: 6.x
Hardware: All All
: P2 normal (vote)
Assignee: Jan Becicka
URL:
Keywords: PERFORMANCE
Depends on:
Blocks: 190448
  Show dependency tree
 
Reported: 2010-09-14 14:11 UTC by Ondrej Langr
Modified: 2010-09-30 02:57 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ondrej Langr 2010-09-14 14:11:53 UTC
If a search is performed and Maven quicksearch provider enabled, it blocks the other providers in returning the results. 

(in other words, querying the providers should be asynchronous, certainly in case of Maven provider)
Comment 1 Jesse Glick 2010-09-17 18:27:08 UTC
I think this needs to be handled in the Quick Search infrastructure. The Javadoc for SearchProvider.evaluate makes no mention of providers being recommended to add results from another thread after the method returns. The infrastructure could rather check if any one provider is not producing results quickly, and try scheduling other providers in parallel.
Comment 2 Jan Becicka 2010-09-24 12:16:27 UTC
This is regression caused by issue 182883:
http://hg.netbeans.org/main/rev/71a40652028d

P2... this makes quick search totally unusable
Comment 3 Jan Becicka 2010-09-29 13:05:25 UTC
Changeset: d7080483e093
Author:    Jan Becicka <jbecicka@netbeans.org>
Date:      2010-09-29 14:02
Message:   Issue #190359 - searching maven repositories blocks other providers
Comment 4 Quality Engineering 2010-09-30 02:57:46 UTC
Integrated into 'main-golden', will be available in build *201009300000* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/d7080483e093
User: Jan Becicka <jbecicka@netbeans.org>
Log: Issue #190359 - searching maven repositories blocks other providers