YaCy-Bugtracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000114YaCy[All Projects] Generalpublic2011-12-24 00:562012-05-18 23:19
ReporterBuBu 
Assigned ToOrbiter 
PrioritynormalSeveritytrivialReproducibilityalways
StatusresolvedResolutionfixed 
ETAnone 
PlatformOSOS Version
Product VersionYaCy 1.0 
Target VersionFixed in Version 
Summary0000114: OpensearchDescription.xml support startIndex parameter
DescriptionOpensearchDescription supports a optional parameter for the start index of the result.
This is not yet supported by YacY.
By adding the opensearch parameter {startIndex?} to the opensearchdescription.xml of Yacy (for "application/rss+xml" response) a remote system could request more than just the first 20 results.

Addionally, the <opensearch:totalResults> is twice included in the output xml.
Proposal: change yacysearch.rss removing line
    <!-- <opensearch:totalResults>#[num-results_totalcount]#</opensearch:totalResults> BB: double in yacysearchtrailer.xml -->
as it is included in the file yacysearchtrailer.xml
Steps To Reproducehttp://localhost:8090/yacysearch.rss?query=test&maximumRecords=20&resource=local [^]
Additional Informationin the current opensearch.xml the parameter "verify=" is double in the url
here the original line from opensearch.xml:
 <Url type="application/rss+xml" method="GET" template="http://#[thisaddress]#/yacysearch.rss?verify=true&resource=global&nav=all&query={searchTerms}&maximumRecords=10&verify=false" [^] />

here the proposed change:
 <Url type="application/rss+xml" method="GET" template="http://#[thisaddress]#/yacysearch.rss?resource=global&nav=all&query={searchTerms}&maximumRecords=10&verify=false&startRecord={searchIndex?}" [^] />



TagsNo tags attached.
Attached Filesxml file icon opensearchdescription.xml [^] (3,459 bytes) 2011-12-24 00:56
? file icon yacysearch.rss [^] (1,599 bytes) 2011-12-24 01:02

- Relationships

-  Notes
(0000374)
Orbiter (manager)
2012-05-18 23:19

fixed in Commit 1d664963629eac811e5b66aee813f2bd6d98c4ad

- Issue History
Date Modified Username Field Change
2011-12-24 00:56 BuBu New Issue
2011-12-24 00:56 BuBu File Added: opensearchdescription.xml
2011-12-24 01:02 BuBu File Added: yacysearch.rss
2011-12-24 08:12 Orbiter Assigned To => Orbiter
2011-12-24 08:12 Orbiter Status new => acknowledged
2012-05-18 23:19 Orbiter Note Added: 0000374
2012-05-18 23:19 Orbiter Status acknowledged => resolved
2012-05-18 23:19 Orbiter Resolution open => fixed


Copyright © 2000 - 2019 MantisBT Team
Powered by Mantis Bugtracker