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
 

prGetWordVector

Name

prGetWordVector

Synopsis

OnixQueryVectorT prGetWordVector( ProfilingEngineT ProfilingEngine, UCharT *Word, size_t WordLength, StatusCodeT *Status );

Arguments

ProfilingEngine: The profiling object you created with prCreateProfilingEngine.

Word: A string holding the word you wish to analyze

WordLength: An integer that is the size of the string.

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

Returns

OnixQueryVectorT holding all hits for the word. This may be NULL if no results were found.

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

Description

prGetWordVector() is called when you wish to to find all the hits for a word but don't want to call prProcessQuery(). In general though you should use prProcessQuery().

You might call prGetWordVector() while indexing to get some information about the word you are about to index.

See Also

prProcessQuery, prNumHits, prVectorNextRecord, prVectorNextHit, prVectorCurrentHit, prResetProfilerQueryParser