To Whom It May Concern:
I have been attempting to use the DBIx::FullTextSearch perl module.
I have run into a small problem using the delete_document() method. I am
using the file front-end and the column back-end for my indexing. This
method does not work when I pass it a string argument like
"TriageComputerFailures" ( I used single quotes in the actual file
string ). I have looked at the code in FullTextSearch.pm and in
Column.pm and I have found the problem. The argument to this method is
passed as-is to the delete_document() method in Column.pm This method
contains the following line to process this request :
my $sth = $dbh->prepare("delete from $data_table where doc_id = ?");
This line is looking in the table xxx_xxx_index_data for the doc_id of
the document that I have put in a name for. This obviously fails. Even
when I passed it a numeric argument ( for example '1' , as this was the
first document I indexed ). It only deletes the selected rows out of the
data table, leaving all other related rows in the database intact.
Please let me know if I am doing something incorrectly here ? If not, a
recommended fix would be greatly appreciated.
Thank-you very much for your time and attention
Information Technology Services
University Health Services
University of Texas at Austin