[ 
https://issues.apache.org/jira/browse/NUTCH-594?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12595380#action_12595380
 ] 

Dennis Kubes commented on NUTCH-594:
------------------------------------

An example of this in action can be found at: 
http://search.isc.swlabs.org///nutchsearch?query=jav&hitsPerSite=2&lang=en&hitsPerPage=10&type=json

The available parameters are query for typed in query, hitsPerSite for deduping 
content, lang for the users language, hitsPerPage for the number of hits to 
return and type as either xml or json.  The type defaults to xml.  As you can 
see from above this is very similar to the opensearch servlet currently in 
nutch.  The servlet url is configured in the web.xml as normal for servlets.  
In this case it defaults to nutchsearch.

> Serve Nutch search results in XML and JSON
> ------------------------------------------
>
>                 Key: NUTCH-594
>                 URL: https://issues.apache.org/jira/browse/NUTCH-594
>             Project: Nutch
>          Issue Type: New Feature
>         Environment: all
>            Reporter: Dennis Kubes
>            Assignee: Dennis Kubes
>         Attachments: NUTCH-594-1-20071221.patch
>
>
> Allow search results to be served in XML, JSON, and other configurable 
> formats.  Right now there is an OpenSearch servlet that returns returns in 
> RSS. I would like something that has more flexibility in terms of the XML 
> being served and also supports other formats such as JSON or plain text.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to