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