public inbox for [email protected]
help / color / mirror / Atom feedSearch on postgresql.org doesn't work properly?
2+ messages / 2 participants
[nested] [flat]
* Search on postgresql.org doesn't work properly?
@ 2007-03-20 14:03 Nikolay Samokhvalov <[email protected]>
0 siblings, 1 reply; 2+ messages in thread
From: Nikolay Samokhvalov @ 2007-03-20 14:03 UTC (permalink / raw)
To: pgsql-www
Trying to search for "INHERITS" I see empty result:
http://search.postgresql.org/search?u=%2Fdocs%2F8.2%2Finteractive%2F&q=INHERITS
"Your search for INHERITS returned no hits."
But if I check "Include community sites" checkbox, I get 467 links:
http://search.postgresql.org/search?u=%2Fdocs%2F8.2%2Finteractive%2F&q=INHERITS&a=1
"Results 1-20 of 467. ..."
Why so? The first link found is
http://www.postgresql.org/docs/8.1/interactive/ddl-partitioning.html.
Why the main documentation is included to search results only when
"Include community sites" is selected?
Also, a couple of additional notes:
1. I would add DISTINCT to search SELECT (in the example above
results 2-5 are the same,
http://www.postgresql.org/docs/current/interactive/ddl-partitioning.html).
2. I'd also add ordering rule to push most recent version of
documentation up (in the same example we see that #1 is docs for v8.1,
and only after that -- the same page for v8.2).
--
Best regards,
Nikolay
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: Search on postgresql.org doesn't work properly?
@ 2007-03-21 09:46 Magnus Hagander <[email protected]>
parent: Nikolay Samokhvalov <[email protected]>
0 siblings, 0 replies; 2+ messages in thread
From: Magnus Hagander @ 2007-03-21 09:46 UTC (permalink / raw)
To: [email protected]; +Cc: pgsql-www
On Tue, Mar 20, 2007 at 05:03:40PM +0300, Nikolay Samokhvalov wrote:
> Trying to search for "INHERITS" I see empty result:
> http://search.postgresql.org/search?u=%2Fdocs%2F8.2%2Finteractive%2F&q=INHERITS
>
> "Your search for INHERITS returned no hits."
Thanks for reporting this, fixed. It was a case of double-escaping the
suburl, so it actually search in '/docs instead of /docs.
(The problem was in the suburl search, not in the word inherits itself)
> But if I check "Include community sites" checkbox, I get 467 links:
> http://search.postgresql.org/search?u=%2Fdocs%2F8.2%2Finteractive%2F&q=INHERITS&a=1
Including community sites negates the url restriction, that's why.
> Why so? The first link found is
> http://www.postgresql.org/docs/8.1/interactive/ddl-partitioning.html.
> Why the main documentation is included to search results only when
> "Include community sites" is selected?
Because it searches main docs *plus* community sites. Thus, "include".
Otherwise we'd have a completely different selection in the menu on the
left.
> Also, a couple of additional notes:
> 1. I would add DISTINCT to search SELECT (in the example above
> results 2-5 are the same,
> http://www.postgresql.org/docs/current/interactive/ddl-partitioning.html).
They're not distinct, they're from different versions.
> 2.
> I'd also add ordering rule to push most recent version of
> documentation up (in the same example we see that #1 is docs for v8.1,
> and only after that -- the same page for v8.2).
Yeah, that's on my TODO list.
//Magnus
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2007-03-21 09:46 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2007-03-20 14:03 Search on postgresql.org doesn't work properly? Nikolay Samokhvalov <[email protected]>
2007-03-21 09:46 ` Magnus Hagander <[email protected]>
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox