[Search-l] Accessing the open indexes
jer
jeremie at jabber.org
Mon Jan 14 23:07:39 UTC 2008
> The isc search is the wikia search results so to get as xml you would
> run the query:
>
> http://search.isc.swlabs.org/nutchsearch?query=java%
> 20programming&hitsPerSite=1&lang=en&hitsPerPage=10&type=xml&start=0
>
> In fact this is the way that the re.search page works. The
> re.search is
> a static html page that uses JavaScript and the JSON search results
> from
> the index selected and from the site search.
Also, ust change it to type=json to get the JSON version, Dennis do
you have the patch for that somewhere?
> If you want to get the results from site search you would use the
> following url:
>
> http://alpha.search.wikia.com:8983/solr/select/?
> start=0&row=20&wt=json&json.wrf=processPeople&indent=true&q=java
You can get the MiniArticles via JSON as well:
http://search.wikia.com/index.php?
action=ajax&rs=wfGetArticleJSON&rsargs%5B%5D=Mini:java
Check out the html/js code with subversion that uses these at http://
svn.swlabs.org/re.search
Jer
More information about the Search-l
mailing list