473,403 Members | 2,183 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,403 software developers and data experts.

searching a website - including all new added pages

Hi

Basically, i need to write a php search function which will search all
our pages in the directory depending on user keywords..

the thing is, this could be difficult as we may have 8000+ dynamic
pages (these would also need searching) plus we will be adding more and
more of these dynamic pages (so wont have a list of page names).

Any ideas please?

Aug 29 '06 #1
6 1692
Advo wrote:
Hi

Basically, i need to write a php search function which will search all
our pages in the directory depending on user keywords..

the thing is, this could be difficult as we may have 8000+ dynamic
pages (these would also need searching) plus we will be adding more and
more of these dynamic pages (so wont have a list of page names).

Any ideas please?
Why not just use google site search?

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attglobal.net
==================
Aug 29 '06 #2

Jerry Stuckle wrote:
Advo wrote:
Hi

Basically, i need to write a php search function which will search all
our pages in the directory depending on user keywords..

the thing is, this could be difficult as we may have 8000+ dynamic
pages (these would also need searching) plus we will be adding more and
more of these dynamic pages (so wont have a list of page names).

Any ideas please?

Why not just use google site search?

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attglobal.net
==================
Well, we'd rather have our own one if possible really

Aug 29 '06 #3
Advo wrote:
Jerry Stuckle wrote:
>>Advo wrote:
>>>Hi

Basically, i need to write a php search function which will search all
our pages in the directory depending on user keywords..

the thing is, this could be difficult as we may have 8000+ dynamic
pages (these would also need searching) plus we will be adding more and
more of these dynamic pages (so wont have a list of page names).

Any ideas please?

Why not just use google site search?

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attglobal.net
==================


Well, we'd rather have our own one if possible really
That's really doing it the hard way.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attglobal.net
==================
Aug 29 '06 #4
"Advo" <ma**********@hotmail.comwrote in
news:11**********************@b28g2000cwb.googlegr oups.com:
>
Jerry Stuckle wrote:
>Advo wrote:
Hi

Basically, i need to write a php search function which will search
all our pages in the directory depending on user keywords..

the thing is, this could be difficult as we may have 8000+ dynamic
pages (these would also need searching) plus we will be adding more
and more of these dynamic pages (so wont have a list of page
names).

Any ideas please?

Why not just use google site search?

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attglobal.net
==================

Well, we'd rather have our own one if possible really
If your organization has 8000+ dynamic pages, you can probably afford a
custom solution. If I was you, I'd look into Google Mini, or Verity
Ultraseek

--
Karl Groves
www.karlcore.com
Aug 29 '06 #5
Karl Groves wrote:
"Advo" <ma**********@hotmail.comwrote in
news:11**********************@b28g2000cwb.googlegr oups.com:

Jerry Stuckle wrote:
Advo wrote:
Hi

Basically, i need to write a php search function which will search
all our pages in the directory depending on user keywords..

the thing is, this could be difficult as we may have 8000+ dynamic
pages (these would also need searching) plus we will be adding more
and more of these dynamic pages (so wont have a list of page
names).

Any ideas please?


Why not just use google site search?

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attglobal.net
==================
Well, we'd rather have our own one if possible really

If your organization has 8000+ dynamic pages, you can probably afford a
custom solution. If I was you, I'd look into Google Mini, or Verity
Ultraseek

--
Karl Groves
www.karlcore.com
How're the pages stored? Are they flat files, generated by some sort of
CMS, or is the content pulled out of a database by a "shared" php file?

Aug 29 '06 #6
NC
Advo wrote:
>
i need to write a php search function which will search all
our pages in the directory depending on user keywords..
Er, no. You need to write a search engine, with actual search being
the easy part.

A search engine consists of three subsystems:

1. The crawler (aka the search bot) indexes the site (goes to the home
page, records its contents into a storage facility, usually in both the
original form and plain text, follows every link it can find and
records all the pages it can reach). Usually, the crawler is written
in a compiled language; often, it is implemented as a daemon (on Unix)
or a service (on Windows), so it works continuously.

2. The storage facility can be a database or a flat-file archive with a
full-text search utility.

3. The front end (what the uninitiated mistake for the search engine)
takes search queries from users and searches the storage facility based
on the search queries.

It is considered a good practice to deploy the search engine on a
separate physical machine optimized for this line of work. Google
actually makes those. Google Mini in its most basic version supports
up to 50,000 documents and costs $1,995:

http://www.google.com/enterprise/mini/
the thing is, this could be difficult as we may have
8000+ dynamic pages (these would also need
searching) plus we will be adding more and more
of these dynamic pages (so wont have a list of
page names).

Any ideas please?
Buy a Google Mini; it's probably going to be less of a headache than
developing your own search engine. Alternatively, try mnoGoSearch or
phpDig (they are free, but you will still need dedicated hardware):

http://www.mnogosearch.org/
http://www.phpdig.net/

Cheers,
NC

Aug 29 '06 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

11
by: Bozo Schmozo | last post by:
Greetings! I've searched groups.google.com already to see if I can determine if using PHP/MySQL (if needed) for a web site I wish to develop. As the subject indicated, it will be a content...
0
by: Mike | last post by:
Sites using thumbnail preview for world wide web file navigation and searching. Below are list of sites that are either researching or providing thumbnail preview images for online web...
0
by: CC CC | last post by:
I am new to the .Net framework and have run across an interesting development issue and was wondering is someone has run across this before or had some solution ideas. The problem is this. ...
3
by: Jason Shohet | last post by:
I had to go to our server room and put a new version of a .NET website into production -- simply copying over newer pages. I've done it hundreds of times on 2000 servers. This was my first time...
6
by: Dan | last post by:
I have designed a web site for our family run business selling aloe vera products. It has been up for roughly a week and has had very little traffic. (30-40 hits). I have used the hosting company,...
7
by: dm1608 | last post by:
OK -- I've basically completed my development of my ASP.NET 2.0 website. Unfortunately, it looks like crap. What is the best way for me to add some professionalism to my page? Just having a...
19
by: cpnet | last post by:
I'm using VS2005, C#, ASP.NET 2.0. I'm trying to create a report using SQL Reporting Services (to be used in local mode so I don't have to deal with SQL Server). When I create a new report in my...
4
by: Steve Richter | last post by:
using VS2005 to build a web site. The more pages I add to the web site, the more sluggish visual studio becomes. I have around 20 pages now and when I press F5 to test a page it can take over 10...
5
by: daveh551 | last post by:
What, from a high level point of view, is the difference (in Visual Studio 2005) between Website (accessed with Open Website or Create Website from the StartPage) that is an ASP.NET Website, and a...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.