admin
Karma: 98
|
Re:Search plugin - 2010/08/22 17:06
I'm hesitant about making a change to this. Although you are saying that a number of applications work in a different way from Remository, I'm inclined to think that it is Remository that has it right.
What the Remository search plugin does is to carry out a word search across the major fields of the repository - file title and description primarily. It uses the MySQL full text indexing feature. The terms used in the site search (options to search for any word or all words for instance) certainly suggests that it should be a word search and not a string search.
I've noticed that there are search applications appearing, which aim to replace the standard CMS mechanism, and their justification is poor performance with larger amounts of data. Many search plugins use the SQL construction LIKE which can be very slow indeed with larger tables.
But that does not affect Remository - the word search in the Remository plugin is highly efficient and should work quickly even with a very large repository.
It would be possible to add an asterisk to every word, but I'm not sure if that is desirable.
Martin Brampton aka Counterpoint http://aliro.org http://black-sheep-research.com |