In the Projects window, expand the Configuration node in the project you want to modify, and then double-click query.xml.
The file opens in the NetBeans XML editor.
Scroll to the query-builder element that contains the query you want to remove.
Delete all text between and including the query-builder element defining the query, including any defined query blocks.
For example, to delete the query named PHONETIC-SEARCH, you would remove all text below.
<query-builder name="PHONETIC-SEARCH" class= "com.sun.mdm.index.querybuilder.BasicQueryBuilder" parser-class= "com.sun.mdm.index.configurator.impl.querybuilder.KeyValueConfiguration" standardize="true" phoneticize="true"> <config> <option key="UseWildcard" value="false"/> </config> </query-builder> |
Save and close the file.