Oracle8i interMedia Text Reference Release 2 (8.1.6) Part Number A77063-01 |
|
CTX_QUERY Package , 3 of 7
Returns the number of hits for the specified query. You can call COUNT_HITS in exact or estimate mode. Exact mode returns the exact number of hits for the query. Estimate mode returns an upper-bound estimate but runs faster than exact mode.
CTX_QUERY.COUNT_HITS ( index_name IN VARCHAR2, text_query IN VARCHAR2, exact IN BOOLEAN DEFAULT TRUE ) RETURN NUMBER;
Specify the index name.
Specify the query.
Specify TRUE for an exact count. Specify FALSE for an upper-bound estimate.
Specifying FALSE returns a less accurate number but runs faster.
If the query contains structured criteria, you should use SELECT COUNT(*).
|
![]() Copyright © 1996-2000, Oracle Corporation. All Rights Reserved. |
|