Forum |  HardWare.fr | News | Articles | PC | S'identifier | S'inscrire | Shop Recherche
2809 connectés 

  FORUM HardWare.fr
  Programmation
  SQL/NoSQL

  [PostgreSQL] moteur de recherche

 


 Mot :   Pseudo :  
 
Bas de page
Auteur Sujet :

[PostgreSQL] moteur de recherche

n°1584419
simogeo
j'ai jamais tué de chats, ...
Posté le 10-07-2007 à 10:55:24  profilanswer
 

Hello,
 
Je cherche une facon de créer un moteur de recherche sous PostgreSQL 8.2 à la facon des FULL TEXT INDEX de mysql?
Il n'existe rien de ce type visiblement. Ou ca m'echappe? Quelles sont les alternatives?
 
Merci [:john keats]


Message édité par simogeo le 10-07-2007 à 10:55:50

---------------
from here and there -- \o__________________________________ -- la révolution de la terre, en silence
mood
Publicité
Posté le 10-07-2007 à 10:55:24  profilanswer
 

n°1584423
anapajari
s/travail/glanding on hfr/gs;
Posté le 10-07-2007 à 11:05:16  profilanswer
 
n°1584437
simogeo
j'ai jamais tué de chats, ...
Posté le 10-07-2007 à 11:22:55  profilanswer
 

merci [:romf]


---------------
from here and there -- \o__________________________________ -- la révolution de la terre, en silence
n°1591373
simogeo
j'ai jamais tué de chats, ...
Posté le 25-07-2007 à 16:15:21  profilanswer
 

Ok, j'ai installé Tsearch2 et testé le moteur de recherche.
 
Problème, le dictionnaire ispell est vraiment pourri ... comme je l'avais lu précédemment....
et sous win pas facile d'instller le stemmer.
 
Du retour d'éxperiences par quelques uns d'entre vous?
 
Mon experience ressemble à ca :
http://www.postgresqlfr.org/?q=node/447
 
et il y a ce bricolage ci en parade :
http://cremerieprod.fr/~cmaussan/i [...] t-tsearch2


---------------
from here and there -- \o__________________________________ -- la révolution de la terre, en silence
n°1591602
simogeo
j'ai jamais tué de chats, ...
Posté le 26-07-2007 à 02:47:49  profilanswer
 

Bon .....
en fait je n'utilisais pas mon dictionnaire  [:cyriadis]  
 
Je viens de l'installer  
 


INSERT INTO pg_ts_cfg (ts_name, prs_name, locale) VALUES ('utf8_french', 'default', 'fr_FR.UTF-8');
 
insert into pg_ts_cfgmap values ('utf8_french','email','{simple}');
insert into pg_ts_cfgmap values ('utf8_french','file','{simple}');
insert into pg_ts_cfgmap values ('utf8_french','float','{simple}');
insert into pg_ts_cfgmap values ('utf8_french','host','{simple}');
insert into pg_ts_cfgmap values ('utf8_french','hword','{simple}');
insert into pg_ts_cfgmap values ('utf8_french','int','{simple}');
insert into pg_ts_cfgmap values ('utf8_french','lhword','{fr_ispell}');
insert into pg_ts_cfgmap values ('utf8_french','lpart_hword','{fr_ispell}');
insert into pg_ts_cfgmap values ('utf8_french','nlhword','{simple}');
insert into pg_ts_cfgmap values ('utf8_french','nlpart_hword','{simple}');
insert into pg_ts_cfgmap values ('utf8_french','part_hword','{simple}');
insert into pg_ts_cfgmap values ('utf8_french','sfloat','{simple}');
insert into pg_ts_cfgmap values ('utf8_french','uint','{simple}');
insert into pg_ts_cfgmap values ('utf8_french','uri','{simple}');
insert into pg_ts_cfgmap values ('utf8_french','url','{simple}');
insert into pg_ts_cfgmap values ('utf8_french','version','{simple}');
insert into pg_ts_cfgmap values ('utf8_french','word','{fr_ispell}');
insert into pg_ts_cfgmap values ('utf8_french','nlword','{fr_ispell}');
insert into pg_ts_cfgmap values ('utf8_french','lword','{fr_ispell,simple}');
 
 
insert into pg_ts_dict values (
'fr_ispell',
'spell_init(internal)',
'DictFile="E://postgreSQL8.2//share//contrib//ispell_utf8_french//french_utf8.dict",
AffFile ="E://postgreSQL8.2//share//contrib//ispell_utf8_french//french_utf8.aff",
StopFile="E://postgreSQL8.2//share//contrib//ispell_utf8_french//french_utf8-stop-ispell.txt"',
'spell_lexize(internal,internal,integer)',
'ISpell interface for french language');


 
mais j'obtiens l'erreur suivante :
 

ERROR: Affix parse error at 165 line
État SQL :XX000


 
Les chemins sont corrects ... il s'agit d'une erreur plus serieuse.
 
Ici on parle d'unproblème d'encodage mais je ne pense pas.
 
Une idée du problème?  [:canth]  
merci


---------------
from here and there -- \o__________________________________ -- la révolution de la terre, en silence
n°1591984
simogeo
j'ai jamais tué de chats, ...
Posté le 26-07-2007 à 17:53:50  profilanswer
 

up [:simogeo]


---------------
from here and there -- \o__________________________________ -- la révolution de la terre, en silence
n°1592074
simogeo
j'ai jamais tué de chats, ...
Posté le 26-07-2007 à 22:32:22  profilanswer
 

http://forum-images.hardware.fr/icones/message/icon6.gifhttp://forum-images.hardware.fr/icones/message/icon14.gif


---------------
from here and there -- \o__________________________________ -- la révolution de la terre, en silence
n°1592083
schnapsman​n
Zaford Beeblefect
Posté le 26-07-2007 à 22:49:05  profilanswer
 

wtf, u're still alive \[:dawao]/

n°1592087
simogeo
j'ai jamais tué de chats, ...
Posté le 26-07-2007 à 22:54:12  profilanswer
 

Yes [:franck75]!
 
mais je ne suis plus un nerd \[:dawa]/
 
 [:john keats]  
 


---------------
from here and there -- \o__________________________________ -- la révolution de la terre, en silence
n°1592090
schnapsman​n
Zaford Beeblefect
Posté le 26-07-2007 à 23:03:23  profilanswer
 

c'est normal, un bel homme comme toi [:cupra]
 
[:john keats][:john keats][:john keats]

mood
Publicité
Posté le 26-07-2007 à 23:03:23  profilanswer
 

n°1592120
simogeo
j'ai jamais tué de chats, ...
Posté le 27-07-2007 à 00:44:26  profilanswer
 

[:ddr555]


---------------
from here and there -- \o__________________________________ -- la révolution de la terre, en silence
n°1592151
schnapsman​n
Zaford Beeblefect
Posté le 27-07-2007 à 08:18:38  profilanswer
 

bon daisolai, je ne peux t'être d'aucune aide sur ton souci post graisse là... /[:icon8]\

n°1606539
LoneEagle7​0
Posté le 30-08-2007 à 21:04:39  profilanswer
 

Bonjour,
 
J'ai le même problème. Est-ce que tu as trouvé le problème et/ou solution?
 
Merci.

n°1610628
pecky
Posté le 11-09-2007 à 14:54:20  profilanswer
 

+1, même problème... je cherche mais les docs sont plutôt maigres

n°1610684
pecky
Posté le 11-09-2007 à 16:09:36  profilanswer
 

Quelques informations concernant le tsearch2 : il y a un bug avec la 8.2. de PostGreSQL et un patch existe.
Le seul truc c'est qu'il faut le compiler et donc avoir les sources, ce qui est plutôt chiant pour ma part vu que le serveur est... sous windows (grrr).
Bref, voici infos que j'ai péché :
http://blog.guillaume.lelarge.info [...] ocspgfrorg
http://www.sai.msu.su/~megera/post [...] _utf8.html
http://www.davidgis.fr/blog/index. [...] ur-l-utf-8


Aller à :
Ajouter une réponse
  FORUM HardWare.fr
  Programmation
  SQL/NoSQL

  [PostgreSQL] moteur de recherche

 

Sujets relatifs
Recherche d'une lib réseaurecherche programmeur
travailler sur les réponses d'une recherche sur googleRecherche testeurs pour mon site web
Recherche "style" de forum...en php pour site web[WINDOWS XP] - Ne recherche plus - dev pour petite appli facturation
[!?!?] Recherche Multisites avec ListboxRecherche programmmeur CSS
Recherche d'un associé pour la création d'une entrepriseRecherche d'un associé
Plus de sujets relatifs à : [PostgreSQL] moteur de recherche


Copyright © 1997-2022 Hardware.fr SARL (Signaler un contenu illicite / Données personnelles) / Groupe LDLC / Shop HFR