Search Relevance

I have created a query to search my database table and return the results.
When I loop through the recordset I use the following to check how many times the search criteria keyword is found in the text stored in the database;

MyArray = Split(thepagecontent, strKeyWords)
count = Ubound(MyArray)

If I write the value of count to the page I would get something like

275

How would I sequence these values to return the most relevent (the number of times the word is found) first. i.e.

View Replies


ADVERTISEMENT

Sort By Relevance

i have a search/results page. how can i sort records according to relevance? i am using access, asp, nt, iis.

View Replies View Related

Sort By Relevance

I'm currently producing a search that looks into 3 tables in my database and outputs all the data. As you can imagine there's a lot of information displayed so I would like to sort the information by relevance displaying a pecrcatage beside each result.

View Replies View Related

Need To Convert Google Search Ref To Find What The User Search

i get the ref url that come to my site and i want to convert it to find
out what was the query in (google or other searcher sites)

foe example : if someone goes to google and search some text and my
site was in his resaults and he click on it , in my site i see his link
ref like
http://www.google.co.il/search?hl=i...91-Google&meta=

i want to know (in asp and save it to DB) what was the word or words
that the user write in search engine.

View Replies View Related

Search Within Search Results

I am trying to create a parametric search within a table (in the column headings). My first page (search.asp) allows you to choose parameters from a dropdown box, such as package and volts. You click "search" and it reads the Access dbase to yield the results.

The results page (results.asp) displays the information based on the parameters. Under the package column heading, I have the same drop down box, and I am able to once again choose the package I want and the table will refresh. Code:

View Replies View Related

Search Box

I have list of songs in table in asp page. I would like to put a link to each song so when user click on one I can search database for it's data. How to do that?

View Replies View Related

Search

i have a database with 5 tables,
on my web site i have a search bar..
i wana link that search bar to my tables so..
when ever some 1 searchs for a product, the search bar shows that all the simmuler products to what they searchd for..

View Replies View Related

ASP Search Using Asp

I was wondering if there was a way to search pages using ASP or ASP.NET.

I have roughly 5000 static html pages (an online library of sorts) and wants a serch feature. Is there any way to do this?

View Replies View Related

Search

how to search within the selected category?? Example : Search "bubble clock" in category,Clock and watches.

View Replies View Related

Search

I have a search page that has ms frontpage database wizard results showing. The thing is, is that I want to have the search form on other pages besides my search.asp page. Does anybody know how to make a search form on a seperate page that submits the search to the database and displays the wizard results on the search page.

View Replies View Related

Search When EOF And Not EOF

Need help here~ =) ..For -> while not rsConfiguration1.EOF ... blah blah blah

How to write my code so that even if its not End of record, it will still search my db?

In short : I want the db to be able to search under 2 circumstances : EOF and not EOF

View Replies View Related

Search

How could I try and make the most important result from a search show up on top?
I was thinking of having a result where the strSearch is the most to the left come up on top but else then that vague and not necessarly effective option I have no idea on how to do this.

View Replies View Related

Search

Intranet tech support system using ASP/VBScript running on W2000 Server,
IIS, and using SQL Server 2000. I need to add a search engine. The problem
with using a regular SQL query is that if you put a phrase, say "red car" in
the text box, to hit submit, my SQL qurey would only look for that phrase,
and would leave out other items where the words red and car appeared
separately. I guess what I am saying is that I would like something like
Google or other search engines, which would find results which seem to fit
the criteria typed into the box, and rank them and highlight key words.
My research so far has shown me that SQL Server has something called
Full-Text searching, and I have tried to read up on that in BOL, but not
really seeing how I can apply it. I wonder if there's already some tutorials
or sample code out there. I have done some looking on the Web, but still
haven't found much.

View Replies View Related

ASP Search

I have created an asp server page as described in the
Microsoft Article 318387 HOW TO: Query Index Server Data
by Using ASP in FrontPage 2002
(http://support.microsoft.com/?id=318387)

It is running off my IIS server for the search results.
However, the results return only file locations; I would
like it to return a link to the hits. How would I do this?

View Replies View Related

Search

im now doin a search function... but my problem is... if i didn't enter any data in the textbox and then click search button, it will appear all list from database instead of display "please key in data".

I just want to display "please key in data" but not display all records. Code:

View Replies View Related

Search

I'm make a search and I want to limt the results to 10 and have a next button.

View Replies View Related

Search The Web

With Index Server I can search web pages stored on our servers. Is there any
way to programmatically search web pages on the web ?

View Replies View Related

DB Search

I am trying to set up a pge that allows users to search DB for their order status. I managed to get it working with 1 search parameter. I would like to give my clients more then 1 search option to search by.

This is where I ran into problem. I believe it to be with my lack of ASP knowledge and the problem here is with the SQL statement. I do not think that it will work the way SQL statement is set up right now but I am at a loss for correct syntax here. Am I way off ? Code:

View Replies View Related

Search Box

I am relatively new to asp so still need help on it.
On my site I have a search that allows users to search for a specific job skill ie.cobol, asp etc

The problem is that at the moment the search can only search for what is exactly typed in the box eg.

"ASP" this search works fine,
"ASP, HTML" this doesnt because It searches for what is typed in.
I have been told It is something to do with parsing and that this will allow me to search for multiple job skills using commas to split what is typed in. If any body has any ideas I will be very greatfull

View Replies View Related

Search PDF

Does anyone have or know of some ASP programming that will allow me to do a text search of a folder full of PDF files?

I want a user to be able to enter some text and then the programming to do a full text search across all the PDF documents and return the results.

View Replies View Related

MS SQL Search

I want to search the content of some database tables,do asp has some function or tool do this?

View Replies View Related

Search

I have a column in my database where emails are copied to, and i need to be able to search through each entry for certain keywords and display the results if the column contains any of the keywords. i can't figure out how to do this though, because if i use the select statement like this:

select * from maintable where column LIKE ('keyword')
or
select * from maintable where column IN ('keyword')

it will only display the results when the keyword is the only word in the field.

View Replies View Related

Search

I'm producing a search that when a section is chosen from a drop down menu the search only searches the selected section. The problem is the code below searches others sections as well as the selected one.

strSQL = "SELECT * FROM qry_Policies WHERE SectionID = " & request.Form("section") & " AND title like'" & txtSearch & "' or keywords like '%" & txtSearch & "' OR keywords like '" & txtSearch & "%' OR keywords like '%" & txtSearch & "%' AND '" & txtSearch & "' OR title like '%" & txtSearch & "' OR title like '" & txtSearch & "%' OR title like '%" & txtSearch & "%' ORDER by title" .

View Replies View Related

Search XML

It may be a really stupid question, but if you dont ask, you dont know. Is it possible to search an an xml file, which is used for an RSS feed, with asp at all? So for example, i want to have a search box on my site, which will then search the xml file for the search term, and then return the result to the person searcing?

View Replies View Related

Search

I'm producing a search that when a section is chosen from a drop down menu the search only searches the selected section. The problem is the code below searches others sections as well as the selected one.

strSQL = "SELECT * FROM qry_Policies WHERE SectionID = " & request.Form("section") & " AND title like'" & txtSearch & "' or keywords like '%" & txtSearch & "' OR keywords like '" & txtSearch & "%' OR keywords like '%" & txtSearch & "%' AND '" & txtSearch & "' OR title like '%" & txtSearch & "' OR title like '" & txtSearch & "%' OR title like '%" & txtSearch & "%' ORDER by title"

View Replies View Related

Search Through PDF's

I'm developing a site search engine and I need to have it be able to search through PDF documents also. Being a novice programmer, can anyone help me out with this?

View Replies View Related

Search Box

My company's website has a search feature, and we would like it to search using multiple words instead of finding exact phrases. If I type Roland Printers, it finds nothing. But some of our titles have both of those words in them.

I've attached a screenshot of the code (I couldn't get it to copy and paste correctly out of dreamweaver).

View Replies View Related

Search Without DB

Is it possible to search without a DB? I am coding a POP3 mail-reader app.

App lists mails from the mailserver using jmail.pop3. There is no DB, or anything else.

In this case, is it possible to search?

View Replies View Related

A Search Within A Search

Does anyone know any good examples of how to code a search within a search. I'm sure there is a correct name for what its called but I don't know what it is.

Basically i want a user to be able to search my datatabse and get say 50 results. I would then like them to be able to then say show 10 items per page or 25.

View Replies View Related

Search

i'm doin a search engine. when i type " ' in textbox to search ...it appear<input type="text" name="txtSearch" value="" '" size="20" id="txtSearch">, and then my textbox disappear. What's wrong?

View Replies View Related

Search String

I am passing the following variables....

City - name of city
RentLow - low range of rent
RentHigh - high range of rent
myquery - keywords

The following is the start of my query string but I am having issues with the City portion already and I have not gotten to the rent yet

I know the SQLquery portion right below is fine - it tested perfectly, along with the rest of the query, it was when I added in the request city string that gives me No value given for one or more required parameters. even though one is passed in the string.

SQLquery = "(" &parsethis(strText ,words ,wCount, 3) & ")"
SQLquery = Replace(SQLquery, "<FIELD1>", "title")
SQLquery = Replace(SQLquery, "<FIELD2>", "description")
SQLquery = Replace(SQLquery, "<FIELD3>", "comments")
SQLstr = "SELECT * FROM links WHERE " & SQLquery & " AND city = " & Request.QueryString("city") & " AND linktype = 2 AND active = " & myTrue & " " & SortSQL & ";"
end if

View Replies View Related

Keyword Search From DB

I've got a search query that involves a kewyord input that searchs 2 db feilds. It works fine if you use one word searches, but draws no records if you have 2 words. How do I set up a search that can include multiple words or multiple individual letters etc... Code:

View Replies View Related

ASP Search Code

I want the ASP code to pull data from the database. If i enter one of the field in the form and then click on Search button, the data for the other fields should automatically pop up.

View Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved