begin process at 2012 05 28 01:12:00
  Trouver un code source :
 
dans
 
Accueil > Forum > 

Archive ASP & ASP.NET

 > 

Archives ASP & ASP.NET

 > 

AU SECOURS !!!!

 > 

moteur de recherche avec service d' indexation de microsoft ??


Derniers messages déposésPoser une question dans le forum ou lancer une discussion

moteur de recherche avec service d' indexation de microsoft ??

mardi 29 janvier 2002 à 17:51:06 | moteur de recherche avec service d' indexation de microsoft ??

zozio

slt
nous sommes une association 1901 a but non lucratif et nous sommes
en train de faire un site web sur notre region.
nous voudrions integrer un moteur de recherche qui utiliserais
le service d'indexation de microsoft dans nos pages asp.
un champs de saisie pour la recherche serait disponible sur toutes
les pages du site et permettre de faire une recherche sur le site entier!
le resultat de la recherche nous donnerais le/les fichiers avec notre recherche
(fichier doc, txt, ppt, html, asp, ...) avec un lien vers ceux ci et un resumé
pour chaque fichier .

un grand merci au grand manitou qui poura nous aider

dvdrip@voila.fr
mercredi 30 janvier 2002 à 13:45:18 | Re : moteur de recherche avec service d' indexation de microsoft ??

gedeef


tout est là :
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnproasp2/html/integratingmicrosoftindexserver.asp

et plus particulièrement là :
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnproasp2/html/howtoperformqueriesinasp.asp

La charte de ce forum demande de donner des explications plutôt que des urls mais la question est trop vaste pour cela.
Mais vous devriez pouvoir vous en sortir avec cette doc et les exemples fournis.
Bon courage.

-------------------------------
Réponse au message :
-------------------------------

slt
nous sommes une association 1901 a but non lucratif et nous sommes
en train de faire un site web sur notre region.
nous voudrions integrer un moteur de recherche qui utiliserais
le service d'indexation de microsoft dans nos pages asp.
un champs de saisie pour la recherche serait disponible sur toutes
les pages du site et permettre de faire une recherche sur le site entier!
le resultat de la recherche nous donnerais le/les fichiers avec notre recherche
(fichier doc, txt, ppt, html, asp, ...) avec un lien vers ceux ci et un resumé
pour chaque fichier .

un grand merci au grand manitou qui poura nous aider

dvdrip@voila.fr
vendredi 2 avril 2004 à 16:31:20 | Re : moteur de recherche avec service d' indexation de microsoft ??

crack_xp



<% Option Explicit %>
<html>
<head>
<title>SGG PRODUITS</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script language="JavaScript" src="sgg.js"></script>
<script language="javascript">
if (navigator.appName == "Netscape"){
document.write('<link rel="stylesheet" href="sggnet.css">');
}
else{
document.write('<link rel="stylesheet" href="sgg.css">');
}
//-->
</script>
<Script language="JavaScript">
<!-- hide from browsers
function post_form_prod(par_val){
document.form1.hidctl_prod.value=par_val;
document.form1.submit();
}
//-->
</script>
</head>
<body bgcolor="#FFFFFF" marginwidth="0" marginheight="0" leftmargin="0" topmargin="0">


<!-- HAUT DU TABLEAU -->
<script language="javascript">tophaut();</script>
<!-- DEBUT DU TABLEAU -->
<table width="780" border="0" cellspacing="0" cellpadding="0" background="img/transp.gif">
<tr>
<td width="160" valign="top">
<table width="160" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="10" valign="top"> </td>
<td width="150"> </td>
</tr>
<tr>
<td width="10" valign="top"><img src="img/home_puce_or.gif" width="7" height="7" vspace="5"></td>
<td width="150"><a href="http://217.19.54.134/sgg/fr/" class="lienactu1">Nouvelle recherche</a></td>
</tr>
<tr>
<td width="10" valign="top"> </td>
<td width="150"> </td>
</tr>
<tr>
<td width="10" valign="top"><img src="img/home_puce_or.gif" width="7" height="7" vspace="5"></td>
<td width="150"><a href="#" class="lienactu1">Rechercher un distributeur</a></td>
</tr>

</table>
</td>
<td colspan="2" valign="top"> 
<table width="620" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"> </td>
<td class="titre"> </td>
</tr>
<tr>
<td width="20"> </td>
<td class="titre"><font color="#2828a9">Recherche</font></td>
</tr>
<tr>
<td width="20"> </td>
<td> </td>
</tr>
<tr>
<td width="20"> </td>
<td>
<table width="500" border="0" cellspacing="0" cellpadding="0">
<tr>
<td bgcolor="#0066CC" width="20"> </td>
<td bgcolor="#0066CC" width="480"><font face="Verdana, Arial, Helvetica, sans-serif" size="2"><b><font color="#CCFFFF">RESULTATS
DE VOTRE RECHERCHE >></font></b></font> </td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="20"> </td>
<td>


<%

Dim strSearchPhrase
Dim objQuery
Dim objRecordSet
Dim objField
Dim ObjetUtil

' Pull the search phrase out of the request
strSearchPhrase = Request.form("searchPhrase")

' Check to see if we should return results or just the form
If strSearchPhrase <> "" and len (strSearchPhrase)>1 Then

' Create the query object

Set objQuery = Server.CreateObject("ixsso.Query")

objQuery.Query = strSearchPhrase
' objQuery.Query = SELECT ALL FROM SCOPE() WHERE size > 500000






Set ObjetUtil=Server.CreateObject("Ixsso.Util")
ObjetUtil.AddScopeToQuery objQuery,"d:\Clients\www.saint-gobain-glass.com\fichiers\fr", "Shallow"

' The name of the catalog we created in the index server GUI
objQuery.Catalog = "Web"

' Set the maximum number of records returned
objQuery.MaxRecords = 10

' Set the columns we are going to get back
objQuery.Columns = "DocTitle,vpath,filename,characterization"

' Set the sort by, which specifies which columns in the search results should be used for the sort
objQuery.SortBy = "rank[d]"

' Get the results
Set objRecordSet = objQuery.CreateRecordSet("nonsequential")

%>



<table width="500" border="0" cellspacing="0" cellpadding="0" background="img/transp.gif">
<%
' Check to see if we got any results
If objRecordSet.EOF Then
%>
<tr background="img/pix_bleu_clair.gif">
<td width="38" background="img/pix_bleu_clair.gif"> </td>
<td width="462" background="img/pix_bleu_clair.gif"> </td>
</tr>

<tr background="img/pix_bleu_clair.gif">
<td width="38" background="img/pix_bleu_clair.gif"> </td>
<td width="462" class="text" background="img/pix_bleu_clair.gif"><%Response.Write "No results found, sorry for search phrase: " + strSearchPhrase %>
</i></font></td>
</tr>
<tr background="img/pix_bleu_clair.gif">
<td width="38" background="img/pix_bleu_clair.gif"> </td>
<td width="462" background="img/pix_bleu_clair.gif"> </td>
</tr>

<tr>

<td width="462" bgcolor="#0066CC" colspan=2><img src="img/transp.gif" width="1" height="1"></td>
</tr>
<%
else
Do While Not objRecordSet.EOF
%>
<tr background="img/pix_bleu_clair.gif">
<td width="38" background="img/pix_bleu_clair.gif"> </td>
<td width="462" background="img/pix_bleu_clair.gif"> </td>
</tr>

<tr background="img/pix_bleu_clair.gif">
<td width="38" background="img/pix_bleu_clair.gif"> </td>
<td width="462" class="text" background="img/pix_bleu_clair.gif">

<%




Response.Write "<a href='" & objRecordSet("vpath") & "'>"
If objRecordSet("DocTitle") <> "" Then
Response.Write objRecordSet("DocTitle")
Else
Response.Write objRecordSet("filename")
End If
Response.Write "</a><br>"

Response.Write "<p>"

response.write("<b><i><font color=#2828a9>" & "Résumé : " & "</font></i></b>" & Server.htmlEncode(objRecordSet("characterization"))&"...<br>")


objRecordSet.MoveNext


%>

</i></font></td>
</tr>
<tr background="img/pix_bleu_clair.gif">
<td width="38" background="img/pix_bleu_clair.gif"> </td>
<td width="462" background="img/pix_bleu_clair.gif"> </td>
</tr>

<tr>

<td width="462" bgcolor="#0066CC" colspan=2><img src="img/transp.gif" width="1" height="1"></td>
</tr>



<%
loop
end if

'Set the objects to nothing
Set objQuery = Nothing
Set objRecordSet = Nothing

%>

</table>
<% else %>
<table width="500" border="0" cellspacing="0" cellpadding="0" background="img/transp.gif">
<tr background="img/pix_bleu_clair.gif">
<td width="38" background="img/pix_bleu_clair.gif"> </td>
<td width="462" background="img/pix_bleu_clair.gif"> </td>
</tr>

<tr background="img/pix_bleu_clair.gif">
<td width="38" background="img/pix_bleu_clair.gif"> </td>
<td width="462" class="text" background="img/pix_bleu_clair.gif"><%Response.Write "The Query contained only ignored words,try with another query.<br><br Result of search phrase: " + strSearchPhrase %>
</i></font></td>
</tr>
<tr background="img/pix_bleu_clair.gif">
<td width="38" background="img/pix_bleu_clair.gif"> </td>
<td width="462" background="img/pix_bleu_clair.gif"> </td>
</tr>

<tr>

<td width="462" bgcolor="#0066CC" colspan=2><img src="img/transp.gif" width="1" height="1"></td>
</tr>
</table>


<%end if%>



</td>
</tr>
<tr>
<td width="20"> </td>
<td>  </td>
</tr>
</table>
</td>
</tr>
</table>
<form name="form1" action="d11.asp" method="post">
<input type="hidden" name="hidctl_prod" value="">
<input type="hidden" name="slt_fct" value="Composants de fenêtre">
<input type="hidden" name="slt_app" value="-1">
</form>
</body>
</html>



FINAL FANTASY X2


Cette discussion est classée dans : recherche, service, microsoft, moteur, indexation


Répondre à ce message

Sujets en rapport avec ce message

ressource de moteur de recherche [ par sofa ] Bonjour,nous sommes deux etudiantes en informatique et nous sommes entrain de faire une recherche sur les codes sources (de preference en asp)de moteu optimiser son moteur de recherche? [ par sofa ] Votre texte ICIVotre texte ICIsalut nix j'ai un moteur de recherche qui fonctionne sur une seule table de ma base j'ai essayé tant à le faire marcher Creation de moteur de recherche sur un site perso [ par glopglop ] Mon sujet de stage est de creer un moteur de recherche!!!Le pb c'est que j'ai aucune idee de comment ca marche!!!Je ne peux pas (et ne veux pas) utili Moteur de recherche évolué [ par Ondex ] Salut tt le monde,je cherche a faire un moteur de recherche un peu plus complexe que les autre, en faites il devrai faire des recherches dans les page créer un moteur de recherche [ par atomis ] je recherche doc concernant la mise en place d'un moteur de recherche permettant une recherche de texte en même temps sur du texte placé sur les pages moteur de recherche [ par fouad11 ] Je recherche un code source d'un moteur de recherche ,pour cherché un mot donnée ds les META des page webs qui leur adresse figure ds un base de donné interroger moteur de recherche [ par pitite ] je voudrai savoir si c'est possible de faire une requete a un moteur de recherche specifique en asp ou autre pour pouvoir obtenir le positionnement d' asp access requete [ par delphine1981 ] dedelfifine1981pbs avec une requetevoici la requete:sqlcount2="SELECT lib_moteur, Date,page,Count(Page) AS CompteDePage FROM moteur, positionnement wh moteur de recherche [ par fouad11 ] je cherche un code source d'un moteur de recherche(comment creer un moteur de recherche)j'en ai besoin pour faire une rechreche sur les differentes ta Moteur de recherche [ par fouad11 ] Je cherche un code source d'un moteur de recherche ,pour cherché un mot donnée ds les META des page webs qui leur adresse figure ds un base de donnée


Nos sponsors


Sondage...

Comparez les prix

CalendriCode

Mai 2012
LMMJVSD
 123456
78910111213
14151617181920
21222324252627
28293031   

Consulter la suite du CalendriCode

Photothèque

A découvrir



 
Développement réalisé par Nicolas SOREL (Nix) avec l'aide de : Cyril DURAND et Emmanuel (EBArtSoft), Merci à Vincent pour ses précieux conseils.
CodeS-SourceS.com© Toute reproduction même partielle est interdite sauf accord écrit du Webmaster
CodeS-SourceS.com© est une marque déposée tous droits réservés

Google Coop CodeS-SourceS Google Coop CodeS-SourceS
Temps d'éxécution de la page : 0,733 sec (4)

Nous contacter | Annoncer sur CodeS-SourceS | Mentions légales