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 176706 - index always returns ALL index document for QuerySupport.Kind.PREFIX for fieldValue "" even if they do not have the searched field
Summary: index always returns ALL index document for QuerySupport.Kind.PREFIX for fiel...
Alias: None
Product: editor
Classification: Unclassified
Component: Parsing & Indexing (show other bugs)
Version: 6.x
Hardware: PC Mac OS X
: P3 normal (vote)
Assignee: Vitezslav Stejskal
Depends on:
Reported: 2009-11-12 10:00 UTC by Marek Fukala
Modified: 2010-01-13 12:28 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description Marek Fukala 2009-11-12 10:00:45 UTC
QuerySupport.query(JsfBinaryIndexer.FACELETS_LIB_NAMESPACE_KEY, "", QuerySupport.Kind.PREFIX, JsfBinaryIndexer.FACELETS_LIB_NAMESPACE_KEY);

Returns me IndexResult for files which do not contain such field.

This seems to be odd to me. I would expect the only document containing the searched field would be returned.
Comment 1 Marek Fukala 2009-11-13 07:33:22 UTC
I've worked around that gracefully already so no need for fix it a just before CF if not 110% safe :-)
Comment 2 Vitezslav Stejskal 2010-01-12 08:44:04 UTC
Comment 3 Quality Engineering 2010-01-13 12:28:03 UTC
Integrated into 'main-golden', will be available in build *201001131418* on (upload may still be in progress)
User: Vita Stejskal <>
Log: #176706: allowing to search for documents that contain a specifc field (field's value does not matter)