Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Writing script for a search engine

Status
Not open for further replies.

spacehawk

Programmer
May 17, 2000
30
US
I have a site that uses one asp page to produce 1100 unique pages from text files and corresponding database info.  I would like to develop a search function that would check the text files for the designated word and return a list of corresponding titles (as links) from a database table.
 
This is exactly what Index Server is for. <p>nick bulka<br><a href=mailto:nick@bulka.com>nick@bulka.com</a><br><a href= > </a><br>
 
Can I return all but the last 4 characters in a string?&nbsp;&nbsp;How would I do that.
 
Hi All

I need to write a website search for my application

The following is the code I write for the search facility.
but its not working.Its not returning any error, but its not returning any results.I don'tknow whats the problem with the code.It will be great if anyone helps me

set con=server.createobject( &quot;adodb.Connection&quot; )
con.Open &quot;provider=msidxs&quot;
mySQL = &quot;SELECT Characterization,DocTitle,Path &quot; &_
&quot;FROM SCOPE('DEEP TRAVERSAL OF &quot;&quot;/(mywebsitename)&quot;&quot;') &quot;' &_
'&quot;WHERE FREETEXT(Contents, '&quot; & search & &quot;') > 0 &quot; &_
'&quot;ORDER BY Rank DESC&quot;

Set RS = Con.Execute( mySQL )

Thanks
Balachandar Thank You
sbind77
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top