teamtnt / tntsearch

A fully featured full text search engine written in PHP
https://tnt.studio/solving-the-search-problem-with-laravel-and-tntsearch
MIT License
3.09k stars 292 forks source link

Update and delete function for GeoIndexer crashes #272

Open somegooser opened 2 years ago

somegooser commented 2 years ago

The TNTGeoIndexer file crashes when you try to update a document.

The problem is that it calls the delete function before re-inserting the document. The delete function tries to do stuff with doclist and wordlist table which do not exists in the GeoIndexer files.

Summary: GeoIndexer tries to delete from doclist table instead of locations table.

piolet commented 1 year ago

fix with #283