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
 

prVectorNextRecord

Name

prVectorNextRecord

Synopsis

void prVectorNextRecord(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

prVectorNextRecord() advances the vector to its next record skipping any remaining hits in the current record and returns the information for the first hit in that record.

Note that if you have sorted your vector using prSortVector that you may get surprising results when calling prVectorNextRecord(). In general do not use prVectorNextRecord() with sorted vectors.

See Also

prVectorNextHit, prVectorCurrentHit, prDeleteResultVector, prSortVector, prProcessQuery