Lists: | pgsql-fr-generale |
---|
From: | Denis Bitouzé <dbitouze(at)wanadoo(dot)fr> |
---|---|
To: | pgsql-fr-generale(at)postgresql(dot)org |
Subject: | Problème avec le moteur de recherche du site http://docs.postgresqlfr.org/ |
Date: | 2008-12-09 16:41:50 |
Message-ID: | 20081209174150.1340dae0@drums.chezmoi.fr |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-fr-generale |
Bonjour,
n'ayant pas vu à qui adresser ce rapport de bug sur le site
http://docs.postgresqlfr.org, je le fais ici...
Une recherche sur le mot « not » dans le moteur de recherche intégré au
site http://docs.postgresqlfr.org/ conduit aux erreurs suivantes :
Warning: pg_query() [function.pg-query]: Query failed: ERROR: GIN
index does not support search with void query
in /data/www/fr/postgresql.fr/docs/search.php on line 220
Warning: pg_num_rows(): supplied argument is not a valid
PostgreSQL result resource
in /data/www/fr/postgresql.fr/docs/search.php on line 222
Warning: pg_query() [function.pg-query]: Query failed: ERROR: GIN
index does not support search with void query
in /data/www/fr/postgresql.fr/docs/search.php on line 234
Voilà, voilà...
--
Denis
From: | "damien(at)dalibo(dot)info" <damien(at)dalibo(dot)info> |
---|---|
To: | pgsql-fr-generale(at)postgresql(dot)org |
Subject: | Re: Problème avec le moteur de recherche du site http://docs.postgresqlfr.org/ |
Date: | 2008-12-09 17:18:15 |
Message-ID: | 493EA857.0@dalibo.info |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-fr-generale |
Denis Bitouzé a écrit :
> Bonjour,
>
> n'ayant pas vu à qui adresser ce rapport de bug sur le site
> http://docs.postgresqlfr.org, je le fais ici...
>
Merci pour ce rapport de bugs.
Les problèmes avec le site postgresql.fr (doc ou autres) peuvent être
envoyés sur cette liste ou directement à admin(at)listes(dot)postgresql(dot)fr
Bonne soirée
--
damien clochard
http://dalibo.org | http://dalibo.com
From: | Guillaume Lelarge <guillaume(at)lelarge(dot)info> |
---|---|
To: | Denis Bitouzé <dbitouze(at)wanadoo(dot)fr> |
Cc: | pgsql-fr-generale(at)postgresql(dot)org |
Subject: | Re: Problème avec le moteur de recherche du site http://docs.postgresqlfr.org/ |
Date: | 2008-12-10 12:51:33 |
Message-ID: | 493FBB55.9010903@lelarge.info |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-fr-generale |
Bonjour,
Denis Bitouzé a écrit :
> [...]
> n'ayant pas vu à qui adresser ce rapport de bug sur le site
> http://docs.postgresqlfr.org, je le fais ici...
>
> Une recherche sur le mot « not » dans le moteur de recherche intégré au
> site http://docs.postgresqlfr.org/ conduit aux erreurs suivantes :
>
> Warning: pg_query() [function.pg-query]: Query failed: ERROR: GIN
> index does not support search with void query
> in /data/www/fr/postgresql.fr/docs/search.php on line 220
>
> Warning: pg_num_rows(): supplied argument is not a valid
> PostgreSQL result resource
> in /data/www/fr/postgresql.fr/docs/search.php on line 222
>
> Warning: pg_query() [function.pg-query]: Query failed: ERROR: GIN
> index does not support search with void query
> in /data/www/fr/postgresql.fr/docs/search.php on line 234
>
> Voilà, voilà...
Certains mots clés sont interprétés dans la recherche : and, or, not. Du
coup, le script PHP a remplacé not par son équivalent TSearch2 sans
ajouter l'argument de cet opérateur unitaire. D'où l'erreur.
C'est corrigé. Maintenant, le script fait attention à ce qu'il y ait
bien un argument supplémentaire pour chacun des mots clés.
--
Guillaume.
http://www.postgresqlfr.org
http://dalibo.com