in reply to Logical text search

SWISH-E is great. Use the Perl modules from the distribution, not the older ones on CPAN. There are also some more on CPAN: Search-InvertedIndex and DBIx::FullTextSearch. Finally, MySQL and PostgreSQL have full-text indexing options available.