Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2012-03

Wiki Search vs Index

4 messages · 4 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

John Repucci
Show quoted text 17 lines
Date: Wed, 29 Feb 2012 21:40:01 +0100 From: Marc Santhoff Subject: Re: [Lazarus] Missing Documentation To: Lazarus mailing list Message-ID: A complete index, yes. To the right on http://wiki.lazarus.freepascal.org/ under the headline "Navigation" there is a link to it. But you have to type in at least one char to see something, because there are so much pages that a full a-z index would be far too huge to show in one page. Thanks Marc,

Ah - silly me. All this time I have been using "Wiki Search". Search for "virtual"
Index returned: 11
Wiki Search returned: 186
(after several The connection has timed out. The server at wiki.lazarus.freepascal.org is taking too long to respond.) -------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20120229/eea0c7f9/attachment.html>

Reply by email

Graeme Geldenhuys
to John Repucci

2012/3/1 John Repucci :

Show quoted text 5 lines
Ah - silly me.? All this time I have been using "Wiki Search". Search for "virtual" Index returned: 11 Wiki Search returned: 186

As usual, the wiki returns rubbish, 100% of the time!

eg: Go to the Index page, type in "freebsd" (without the quotes). Make sure Main is select in the ComboBox, and click Go. You get lots or results [and you think cool, this works. Well, not really.]. Click on the "tiOPF" result. Now do a search [using your web browser's search function] for the word "freebsd". The tiOPF wiki page doesn't mention ANYWHERE the word "freebsd". WTF?

What's the point of having a search or index when it always spits out garbage!

Regards, ? - Graeme - _______________________________________________ fpGUI - a cross-platform Free Pascal GUI toolkit http://fpgui.sourceforge.net

Reply by email

Michael Schnell
to Graeme Geldenhuys
Graeme Geldenhuys wrote
What's the point of having a search or index when it always spits out garbage!

This is why I vote for decent offline help for all aspects of Lazarus, IDE, Language, LCL, RTL, ...

I was happy to get to know that Mathias and you are working on a tool to export the Wiki content to offline help viewer file format, so that a (multiple file) offline viewer should be enabled to search the complete available documentation and find the requested information in any of the chapters.

-Michael

Reply by email

Marc Santhoff
to Graeme Geldenhuys: 2012/3/1 John Repucci : As usual, the wiki returns rubbish, 100% of the time! eg: Go to…
Graeme Geldenhuys wrote 9 lines
2012/3/1 John Repucci : > > Ah - silly me. All this time I have been using "Wiki Search". > Search for "virtual" > Index returned: 11 > Wiki Search returned: 186 As usual, the wiki returns rubbish, 100% of the time!

No it doesn't, at least for me.

eg: Go to the Index page, type in "freebsd" (without the quotes). Make sure Main is select in the ComboBox, and click Go.

As someone else said somewhere:

The index page lists page titles, page titles are equal to the pages names.

What's the point of having a search or index when it always spits out garbage!

I typed "Freebsd" into the "wiki search" input box and it returned two 100% hits and, as you're asking for IIUC, it searches the pages text and returns hits from that search.

Look:

http://wiki.lazarus.freepascal.org/Special:Search?search=freebsd&go=Go

I van't see what's wrong with that.

I agree, I did expect to see the page "FreeBSD" in the index list. But there is a trick regarding case sensitivity. If you type in "Free*" instead of "Freebsd" - note, many if not all user of free BSD write it's name "FreeBSD", not "freebsd" - you get what you are searching for.

Same holds true for tiopf, that can be named "TiOPF", tiopf", tiOPF" as main cases.

Conclusion:
- Index search work fine.
- Remember the index is case sensitive and use it smart.
- Maybe the search logic could be changed. If one knows it's working OK, but since it is unusual I have stepped into this pit multiple times myself.
- Beofre changing the wiki it's easier to use google or another good public search engine similarly capable. There cpould be a link on the wikis main page for doing so.

(This took me 10 minutes to find out myself ;)

Marc Santhoff

Reply by email