PHP Developers Network

A community of PHP developers offering assistance, advice, discussion, and friendship.
 
Loading
It is currently Thu Jun 04, 2020 5:36 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Thu Aug 07, 2014 3:29 am 
Offline
DevNet Master
User avatar

Joined: Sun Feb 15, 2009 12:08 pm
Posts: 2794
Location: .za
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.

My questions:

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.

_________________
“Don’t worry if it doesn’t work right. If everything did, you’d be out of a job.” - Mosher’s Law of Software Engineering


Top
 Profile  
 
PostPosted: Thu Aug 07, 2014 6:51 am 
Offline
Moderator
User avatar

Joined: Tue Nov 09, 2010 3:39 pm
Posts: 6425
Location: Montreal, Canada
Have you looked into Solr?


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group