A NodeSearchQuery implements a SearchQuery
that retrieves nodes of one specified nodetype.
The constructor creates the query with all persistent fields belonging to
the specified nodetype excluding byte[] type fields.
Use
NodeSearchQuery.getField(CoreField) getField() to retrieve each of these fields.
Once an instance is constructed, it is not possible to add more fields/steps.
Consequently calling one of these methods always results in an
UnsupportedOperationException:
Returns the stepfield corresponding to the specified field.
Parameters: field - The field. The corresponding stepfield. throws: IllegalArgumentException - When the field is not apersistent field of the associated nodetype.