|PHP Developers Network
|Non-database search function
|Page 1 of 1|
|Author:||social_experiment [ Thu Aug 07, 2014 3:29 am ]|
|Post subject:||Non-database search function|
I am working on a search script that loops through a set of directories and when finding a file checks the meta tags of the file against the key word / search term. Matching tags means the page is inline with the search and is thus returned in hyperlink format.
1. Is this a good idea? I would prefer using a database based search but i want exhaust my current option before moving onto that.
2. What are the pitfalls of this type of search function? An issue that comes to mind is a time, an increase in files will mean an increase in search time.
3. Security risks for this type of search?
Some background information: The client is moving from a Joomla site to a setup; all existing articles are converted to html pages and the Joomla site will eventually be phased out.
TIA for suggestions, comments, critique.
|Author:||Celauran [ Thu Aug 07, 2014 6:51 am ]|
|Post subject:||Re: Non-database search function|
Have you looked into Solr?
|Page 1 of 1||All times are UTC - 5 hours|
|Powered by phpBB® Forum Software © phpBB Group