473,390 Members | 1,334 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,390 software developers and data experts.

Developing a "google-like" search engine for intranet

Hello guys,

I've been building a search facility for an intranet site I'm part of
developing and we've been building a search engine using Index Server.
It mostly works, however there have been a few niggling problems and
fixing it seems to be a case of patching errors as we find them so I'm
thinking that it might be worth starting the logic from scratch and
rebuilding this again.

Basically we have a simple search, which is simply a text box with a
submit button. I would like some boolean search functionality, ie.
search term - would search for all items, search OR term - would search
for documents containing either words, search AND NOT term - and so on.
We also have an advanced search, with a number of fields - 'all words',
'any words', 'exact phrase' and 'not containing'. Does anyone have any
information on building this kind of search, either sample code or
simply just a text on how someone might have done this kind of thing.
I've had a good look around and am yet to find what I'm looking for.
Must have been done a million times before though!

Cheers and thanks in advance.

Alastair

Jul 22 '05 #1
3 4176
"Alastair" <al************@etsi.org> wrote in message
news:11**********************@l41g2000cwc.googlegr oups.com...
Hello guys,

I've been building a search facility for an intranet site I'm part of
developing and we've been building a search engine using Index Server.
It mostly works, however there have been a few niggling problems and
fixing it seems to be a case of patching errors as we find them so I'm
thinking that it might be worth starting the logic from scratch and
rebuilding this again.

Basically we have a simple search, which is simply a text box with a
submit button. I would like some boolean search functionality, ie.
search term - would search for all items, search OR term - would search
for documents containing either words, search AND NOT term - and so on.
We also have an advanced search, with a number of fields - 'all words',
'any words', 'exact phrase' and 'not containing'. Does anyone have any
information on building this kind of search, either sample code or
simply just a text on how someone might have done this kind of thing.
I've had a good look around and am yet to find what I'm looking for.
Must have been done a million times before though!

Cheers and thanks in advance.

Alastair


Why not use Google:
The fastest and easiest way to implement Google WebSearch is our
copy-and-paste Google Free web search service. There's no application
process and it costs nothing to add Google WebSearch and optional Google
SiteSearch to your site. Just a few lines of HTML copied onto your site and
your users have access to a Google search of the web. With an additional
couple of steps, you can add your logo and customizations to the search
results pages. This service can be up and running in five minutes, and is
available for businesses of all sizes.

(Google reserves the right to sell ads on all Google Free search results
pages.)

Google Free is search that's fast, easy and yes, absolutely free

Treat your visitors to the same search service you use yourself. With Google
Free, it costs nothing to provide Google search results to users who want to
search the web or just your website.

http://www.google.com/searchcode.html
Jul 22 '05 #2
google won't index an intRAnet - except if you buy one of the quite
expensive appliance boxes from google ;-)

unfortunately i won't be a big help for the initial poster as i have some
index server query problems as well - my index server refuses to do wildcard
searches.

- thomas
"McKirahan" <Ne**@McKirahan.com> wrote in message
news:0Y********************@comcast.com...
"Alastair" <al************@etsi.org> wrote in message
news:11**********************@l41g2000cwc.googlegr oups.com...
Hello guys,

I've been building a search facility for an intranet site I'm part of
developing and we've been building a search engine using Index Server.
It mostly works, however there have been a few niggling problems and
fixing it seems to be a case of patching errors as we find them so I'm
thinking that it might be worth starting the logic from scratch and
rebuilding this again.

Basically we have a simple search, which is simply a text box with a
submit button. I would like some boolean search functionality, ie.
search term - would search for all items, search OR term - would search
for documents containing either words, search AND NOT term - and so on.
We also have an advanced search, with a number of fields - 'all words',
'any words', 'exact phrase' and 'not containing'. Does anyone have any
information on building this kind of search, either sample code or
simply just a text on how someone might have done this kind of thing.
I've had a good look around and am yet to find what I'm looking for.
Must have been done a million times before though!

Cheers and thanks in advance.

Alastair


Why not use Google:
The fastest and easiest way to implement Google WebSearch is our
copy-and-paste Google Free web search service. There's no application
process and it costs nothing to add Google WebSearch and optional Google
SiteSearch to your site. Just a few lines of HTML copied onto your site
and
your users have access to a Google search of the web. With an additional
couple of steps, you can add your logo and customizations to the search
results pages. This service can be up and running in five minutes, and is
available for businesses of all sizes.

(Google reserves the right to sell ads on all Google Free search results
pages.)

Google Free is search that's fast, easy and yes, absolutely free

Treat your visitors to the same search service you use yourself. With
Google
Free, it costs nothing to provide Google search results to users who want
to
search the web or just your website.

http://www.google.com/searchcode.html

Jul 22 '05 #3
On 31 Mar 2005 06:36:32 -0800, "Alastair" <al************@etsi.org>
wrote:
I've been building a search facility for an intranet site I'm part of
developing and we've been building a search engine using Index Server.
It mostly works, however there have been a few niggling problems and
fixing it seems to be a case of patching errors as we find them so I'm
thinking that it might be worth starting the logic from scratch and
rebuilding this again.

Basically we have a simple search, which is simply a text box with a
submit button. I would like some boolean search functionality, ie.
search term - would search for all items, search OR term - would search
for documents containing either words, search AND NOT term - and so on.
We also have an advanced search, with a number of fields - 'all words',
'any words', 'exact phrase' and 'not containing'. Does anyone have any
information on building this kind of search, either sample code or
simply just a text on how someone might have done this kind of thing.
I've had a good look around and am yet to find what I'm looking for.
Must have been done a million times before though!


Ask in the Index Server group and you'll get plenty of help. Or check
the MSDN references for Indeing Services, you can modify the query
with Boolean terms quite easily.

When you post, tell them whether you're using an IDQ file or not, and
give a snippet of your code that builds your current query string.

Jeff
Jul 22 '05 #4

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

Similar topics

87
by: ziliath | last post by:
I recently tried out the Google "top coder" contest, as a C++ coder. I noticed immediately that they expected me to know STL. To which I say, what the fuck?! I may be missing something, but at...
5
by: junky_fellow | last post by:
Each time i submit some pattern to "google", it shows search took 0.XX seconds for exploring millions of web pages. When i look for efficient ways of searching a string, they always say compare...
2
by: Omar | last post by:
I've been learning some programming during my little sabbatical (mostly python), and I thought it'd be cool to see if other people are interested in programming for music theory. So I started a...
15
by: Sri Ragaventhirar | last post by:
char *s = "Google" Where this "Google" will be stored? Why it can't be changed? like s='h'; -this is giving error please explain this.
3
by: a.mustaq | last post by:
Hi All, I am developing a site. The client wants this site to be Google Search Optimized. How this can be achieved? Please help me. Thanks and Regards Mustaq Ahmed.A
2
by: pavanip | last post by:
Hi, I am developing Domain/Website project. I have to calculate worth of a site based on Alexa rank,page rank, and Google search results for a website. Please give me some idea about how...
4
by: Stef Mientki | last post by:
hello, In a program I want to download (updated) files from google code (not the svn section). I could find a python script to upload files, but not for downloading. Anyone has a hint or a...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...

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.