18. The system of claim 17 wherein the query logic processes the filtering criteria into a query by logically AND-ing selected facets.
17. In a computing environment, a system comprising: one or more processors; a unified user interface, implemented on the one or more processors, and configured to compose queries, the unified user interface further comprising: a facet-based user interface for selecting filtering criteria; a logic-based user interface for logically combining selected object data, wherein the logic-based user interface is query-language independent; a text editor for composing a query; and query logic, coupled to the facet-based user interface and the logic-based user interface, and configured to perform at least one of processing the filtering criteria into a query, logically combining the object data into a query, or both processing the filtering criteria and logically combining the object data into a query if a user switches between both the logic-based user interface and the facet-based user interface of the unified user interface during query composition, the query submitted to a query pipeline to query against a data store and receive query results in response, wherein an object includes a set of properties, and wherein the facet-based user interface creates value clusters for each property of the object, the value clusters used by the facet-based user interface to optimize a query.