<!DOCTYPE File PUBLIC "-//Liam Quin//DTD C API Documentation v1.1//EN" "doc.dtd"><File>
<Entry dir="liblqtext">
<Function File="../../src/liblqtext/wordinfo.c">
<Name>LQT_DeleteWordFromIndex</Name>
<Class>Database/Update, Database/Words
<Purpose>
Deletes the given word and associated data from the database.
The WID index entry for the LQT_WIDToWord function entry is retained,
as is the widindex file record, with a match count of zero.
If the word should appear in some subsequently indexed file, this
space is reclaimed.
<Returns>
<LIST>
<LI>zero on success
<LI>-1 on error
</LIST>
<Notes>
See LQC_UnIndexFile in the lqunindex client for an example of
using this function.
</Function>
<Decl>
API int
LQT_DeleteWordFromIndex(db, Word)
    t_LQTEXT_Database *db;
    char *Word;
</Decl>
</Entry>
