473,495 Members | 2,128 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Searching for Exact Phrase - should I ignore the ignore words?

Lo all,

I was just running through some code I was writing for a site and when it
came to the 'exact phrase' search type I wasn't sure whether that should run
through and ignore the words in the ignore list or not.

I ran off and checked your ASPFAQ webby and I notice that Aaron still strips
them out, I was just wondering if this is the usual way to deal with that
search type, or whether there were good reasons when creating it to still
ignore the ignore words

My thoughts being that when giving the user an option 'exact phrase' they
may believe that every word they enter would be used etc - I seem to
remember reading something on the Google webby about Google and it saying
how it ignored the ignore words contained within the " " etc - so obviously
Google / ASPFAQ are similar in the approach - I'm not trying to re-invent
the wheel or anything it just struck me as a little odd at the time.

Anyone got any thoughts on this, ie, should I still remove the ignore words
from the search criteria on an 'exact phrase' search or not.

Thanks in advance for any help (nearly finished this now - yay!)...

Regards

Rob
Jul 19 '05 #1
6 1713
> I was just running through some code I was writing for a site and when it
came to the 'exact phrase' search type I wasn't sure whether that should run through and ignore the words in the ignore list or not.

I ran off and checked your ASPFAQ webby and I notice that Aaron still strips them out


Not anymore, you make a great point.

--
Aaron Bertrand
SQL Server MVP
http://www.aspfaq.com/
Jul 19 '05 #2
"Aaron Bertrand - MVP" wrote ...
Not anymore, you make a great point.


Seriously? So you no longer disregard the words in the ignore word array
after the submission of the search criteria for the 'exact phrase' ?

Regards

Rob
Jul 19 '05 #3
> Seriously? So you no longer disregard the words in the ignore word array
after the submission of the search criteria for the 'exact phrase' ?


Did you try it?
Jul 19 '05 #4
"Aaron Bertrand - MVP" wrote ...
Did you try it?


Funnily enough I did after I saw your post....I never feel that my
suggestions/comments here are always much use...was quite surprised when
you'd mentioned you'd changed it as I wasn't suggesting really that it
should be, only querying that that was the right way to do it for what I was
doing :o)

Regards

Rob
Jul 19 '05 #5
> I never feel that my
suggestions/comments here are always much use


Just remember that you don't have to be a guru to provide valuable feedback.

--
Aaron Bertrand
SQL Server MVP
http://www.aspfaq.com/
Jul 19 '05 #6
"Aaron Bertrand [MVP]" wrote ...
Just remember that you don't have to be a guru to provide valuable

feedback.

:o)

Cheers Aaron..

Rob
Jul 19 '05 #7

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

Similar topics

1
5188
by: dpg | last post by:
How do site searches work? I want to create a MySQL database with a field called "keywords". Then a form with a search phrase input box. I can't figure how to get the results with multiple...
4
1733
by: ash | last post by:
I want search phrase in html file and mark (like Google when I click on "cached") it (phrase). Does somebody know any class, that can help me? Maybe somebody know how could I make this? thanks
0
1921
by: Follower | last post by:
Hi, I am working on a function to return extracts from a text document with a specific phrase highlighted (i.e. display the context of the matched phrase). The requirements are: * Match...
2
1871
by: Michi | last post by:
Hello, I am creating a databse with a large number of text (or blob?) entries. I want users to be able to search these fields. An example would be a forum or journal. Indexing every word in...
4
2726
by: Michi | last post by:
I was wondering what the best solution is for making large numbers of TEXT (or BLOB?) fields searchable. For example, if I have a forum, what is the best way to be able to search for specific...
9
1554
by: Jack-of-all-traits | last post by:
I have certain words, or groups of words (4 or less) input in my fields in Access 2002 xp pro atmosphere. The data is essentially in the tables., so what I want to do is get access with the...
5
1569
by: sree078 | last post by:
Hi I've a list of Values with varchar field in main in a table. I wanted to have fast search as there are very less insertions/updations. Thought to do a FullText Searching on that varchar field....
3
3270
by: Cli | last post by:
Is it possible to search for exact phrases which include a digit. e.g. "Dublin 1" vrs "Dublin 2" using Mysql fulltext search? As far as I can tell the digits are considered stop words ( too...
12
2352
by: Alexnb | last post by:
This is similar to my last post, but a little different. Here is what I would like to do. Lets say I have a text file. The contents look like this, only there is A LOT of the same thing. () A...
0
7120
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,...
0
6991
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...
1
6878
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
7373
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...
1
4897
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...
0
4583
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...
0
1405
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
649
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
286
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...

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.