EXPERIMENTAL, Full Text Search Interface

0 views
Skip to first unread message

barryhunter

unread,
Dec 4, 2007, 3:18:24 PM12/4/07
to Geograph-API-Users
Been a while since a post on here... so thought would post this in
case its of interest,

I've been experimenting with full text search engine [1], on the
Geograph archive, and realised could expose a feed exactly like the
real site, which others can play with.

Example:
http://www.nearby.org.uk/geograph/find-syndicator.php?query=Trafford+Road+Swing+Bridge&format=GeoPhotoRSS

If you using a text search against the archive, then this interface
might be preferable - note it doesn't do location searches like the
real site (but does do some location, see [1]), so don't use that type
of search against it - just plain text. (it uses the same feed creator
class, so the results should be identical so the same parser should
work against it!)

If the above search doesn't return any results, could further try
prefixing it with ~ as that will do a 'match any' search - but still
sorts on relevance - more likely to get it wrong, but should find more
images

http://www.nearby.org.uk/geograph/find-syndicator.php?query=~Trafford+Road+Swing+Bridge


Hopefully once get Sphinx to compile on the live servers, will migrate
this to be a full feature. (the one on nearby will probably remain as
a development version)


Feedback welcome....

Barry


[1] There is a human 'play thing' interface here:
http://www.nearby.org.uk/geograph/find1.php
(which also details the query syntax a bit better)

Reply all
Reply to author
Forward
0 new messages