[Search-l] Accessing the open indexes
Dennis Kubes
kubes at apache.org
Mon Jan 14 22:54:09 UTC 2008
Michael Wechner wrote:
> Dennis Kubes wrote:
>
>> If anybody wants to play around with accessing the open indexes
through JSON and other web 2.0 based clients, there is now a wiki page
with some basic information:
>>
>> http://search.wikia.com/wiki/Tech/Open_Index
>>
>>
>
> very cool, thanks very much. I might have missed that announcement,
but it seems one can also use XML as type
Yes, sorry that was in the wiki page :)
>
>
http://search.isc.swlabs.org/nutchsearch?query=java%20programming&hitsPerSite=1&lang=en&hitsPerPage=10&type=xml&start=0
>
> Mayby I miss something, but how can one get the results of wikia search,
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.
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
In this case q = query, start is the start number of docs again starting
at 0, row is the number of rows to return, wt is the type (xml or json),
if using json then json.wrf will allow you to specify a wrapping
function called by the javascript, indent is whether to indent the
return output.
Dennis Kubes
> e.g.
>
> http://re.search.wikia.com/search#Dennis%20Kubes
>
> as XML? Is that some combination together with Foowi?
>
> Thanks
>
> Michael
>
>> Dennis Kubes
>> _______________________________________________
>> Wikia Search mailing list
>> http://alpha.search.wikia.com/
>> Change options or unsubscribe:
http://lists.wikia.com/mailman/options/search-l
>>
>>
>
>
More information about the Search-l
mailing list