Profiling Engine SDK
API Reference

API
Function List
Topical List
   
 
Query Language
Introduction
Summary
Operators
Tips, Questions, and Answers
   
 
Main Index
Index
Tutorial
API Functions
Query Language
   
Technology Overview
   
Contact Us
   
 
Other Products

Onix Text Search and Retrieval Engine
Brevity Document Summarizer
Lextek Document Profiler & Categorizer
RouteX Document Routing Engine
Lextek Language Identifier
 

prVectorCurrentHit

Name

prVectorCurrentHit

Synopsis

void prVectorCurrentHit(OnixQueryVectorT Vector, RecordNumT *RecordNum, WordNumT *WordNum, RecordNumT *Count, FloatT *Weight, StatusCodeT *Status)

Arguments

Vector: The list of hits you wish statistics on.

RecordNum: A pointer to a long integer with the record number for the next hit.

WordNum: A pointer to a long integer with the word number within the record for the next hit.

Count: A pointer to a long integer with the number of occurrences of the term represented by the hit. (Unused - for compatibility with Onix).

Weight: A pointer to a float with the weight of the current hit.

Status: A pointer to a value of type StatusCodeT representing any error conditions.

Returns

Nothing.

If an error occurred, Status will be set to the error number.

Description

prVectorCurrentHit() returns the information for the current hit in that vector.

Note that if you call prVectorNextHit() it will advance to the next hit. It is therefore important, if you are iterating through an entire vector to first call prVectorCurrentHit().

See Also

prVectorNextRecord, prVectorNextHit, prDeleteResultVector, prSortVector, prProcessQuery