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

filtering search results

anyone have any tips on creating a search results filter to provide the best
matches first? we're using an access database as part of a very small custom
CMS, and we need to site search function that doesnt just output any base
matches for a given term.

thanks

mark
Jul 19 '05 #1
3 1147
On Fri, 6 Aug 2004 09:57:08 +0100, "mark | r" <ma******@gmail.com>
wrote:
anyone have any tips on creating a search results filter to provide the best
matches first? we're using an access database as part of a very small custom
CMS, and we need to site search function that doesnt just output any base
matches for a given term.


Define "best". :)

Most searches will rank a result, often based on the number of times
the result appears in a text item or similar. But it really depends
on how you define "best matches" in your environment. For example, if
you had an employee database and searched on last name, you might
order by first name if there is more than one employee by the same
last name. But if you searched on department, you might order by last
name, or you may choose to order by pay grade if that makes more sense
in your case.

As another example, if you have a store and someone is searching for
white shoes in a size six, then blue sweaters are probably not a close
match. But would white shoes in a size six and a half be better than
cream shoes in a size six? I'll bet you won't know since your
customers will have different preferences. When you toss in the
designer, price range, etc. it gets even worse. Maybe a pair of Bruno
Magli pumps for $250 is a better match than a similar pair of
Ferragamo's for $150. And Jimmy Choo's in the same price range would
be more desirable even if they were a different color or style.

"Best" is often in the eye of the beholder.

And why the heck do I know so much about shoes? I own two pair, old
ones and new ones. That way my wife gets more room in the closet
for... I know why I know so much about shoes! :)

Jeff
Jul 19 '05 #2
On Fri, 6 Aug 2004 09:57:08 +0100, "mark | r" <ma******@gmail.com>
wrote:
anyone have any tips on creating a search results filter to provide the best
matches first? we're using an access database as part of a very small custom
CMS, and we need to site search function that doesnt just output any base
matches for a given term.


Define "best". :)

Most searches will rank a result, often based on the number of times
the result appears in a text item or similar. But it really depends
on how you define "best matches" in your environment. For example, if
you had an employee database and searched on last name, you might
order by first name if there is more than one employee by the same
last name. But if you searched on department, you might order by last
name, or you may choose to order by pay grade if that makes more sense
in your case.

As another example, if you have a store and someone is searching for
white shoes in a size six, then blue sweaters are probably not a close
match. But would white shoes in a size six and a half be better than
cream shoes in a size six? I'll bet you won't know since your
customers will have different preferences. When you toss in the
designer, price range, etc. it gets even worse. Maybe a pair of Bruno
Magli pumps for $250 is a better match than a similar pair of
Ferragamo's for $150. And Jimmy Choo's in the same price range would
be more desirable even if they were a different color or style.

"Best" is often in the eye of the beholder.

And why the heck do I know so much about shoes? I own two pair, old
ones and new ones. That way my wife gets more room in the closet
for... I know why I know so much about shoes! :)

Jeff
Jul 19 '05 #3
good point.

what im after is a sample algorithm that i can adapt to meet any future
requirements.

anyone know of any samples with demonstrated application?

mark
Jul 19 '05 #4

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

Similar topics

1
by: Alex Satrapa | last post by:
I have a table from which I'm trying to extract certain information. For historical reasons, we archive every action on a particular thing ('thing' is identified, funnily enough, by 'id'). So the...
19
by: William Wisnieski | last post by:
Hello Everyone, I have a main form with a datasheet subform that I use to query by form. After the user selects two criteria on the main form and clicks the cmdShowResults button on the main...
7
by: | last post by:
Hello, Does anyone have an idea on how I can filter the data in the gridview control that was returned by an sql query? I have a gridview that works fine when I populate it with data. Now I...
2
by: JUAN ERNESTO FLORES BELTRAN | last post by:
Hi you all, I am developping a python application which connects to a database (postresql) and displays the query results on a treeview. In adittion to displaying the info i do need to implement...
6
by: assgar | last post by:
Hi I am trying to get data from a mysql database with php. These dynamic rows may have multiple prices between 1 and 5. I would like to use a drop dropdown to display these prices and allow...
3
by: dillneus | last post by:
hello, I have some problem with search menu. first i will explain the structure of my search mennu and then the problems that appears... For creating my search menu i have used tips from that...
4
by: roryok | last post by:
Hi, (Access 2002 & Windows XP Pro) I have a Select query and one of the columns has the following criteria: (from SQL view) HAVING (((order.orderDate)>=!! And (order.orderDate)<=!!)); This...
6
by: topher83 | last post by:
Hi Im trying to create a form to search a hardware database for items, the form consists of two boxes, a dropdown box and a text box. The user needs to choose a field from the dropdown box and then...
0
by: lidadil | last post by:
Hello Everyone, i'm having a gridview wich list clients details. i have setup a search text box and a dropdownlist for filtering. Everything is working except when i try to navigate the next...
19
by: didacticone | last post by:
I created a search form that works well except when i am searching for a record that has multiple entries in the corresponding table. i would to filter the results so that they will display all the...
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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
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
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
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...
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
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...

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.