473,775 Members | 2,335 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 4205
"Alastair" <al************ @etsi.org> wrote in message
news:11******** **************@ l41g2000cwc.goo glegroups.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******** ************@co mcast.com...
"Alastair" <al************ @etsi.org> wrote in message
news:11******** **************@ l41g2000cwc.goo glegroups.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
5255
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 what point when learning C++ was I supposed to have picked up STL? I ask because at every job I've had, and every job interview for that matter, whenever STL comes up it's not I, but a manager who says effectively yuck, we don't use that crap.
5
2078
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 your string with the strings in the file one by one. if there are millions of web pages then these algorithms would take considerable amount of time. So, what does google do for searching a pattern. Does it use thousands of parallel computers...
2
1759
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 Music Theory Programming google group. Consider yourselves invited! It'll be a place for people with different ideas to make music easier to understand using computer applications to share and collab. The address is: ...
15
1823
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
1764
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
1841
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 to calculate google search engine results for a website in C#.Net. Please provide some source code to calculate search engine results. Thanks in Advance
4
3390
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 solution ? thanks,
0
9621
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10267
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10106
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9915
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8939
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7463
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6717
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5484
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
2852
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.