Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Excessive request when rendering browse view #248

Closed
datadavev opened this issue Sep 1, 2017 · 1 comment
Closed

Excessive request when rendering browse view #248

datadavev opened this issue Sep 1, 2017 · 1 comment
Assignees
Milestone

Comments

@datadavev
Copy link

The initial page load and subsequent pages issue a request like:

https://search.dataone.org/cn/v2/query/solr/?
fl=id,seriesId,title,origin,pubDate,dateUploaded,abstract,resourceMap,beginDate,endDate,read_count_i,geohash_9,datasource,isPublic,northBoundCoord,southBoundCoord,eastBoundCoord,westBoundCoord
&q=++-obsoletedBy:*+formatType:METADATA++
&sort=dateUploaded+desc
&rows=25
&start=0
&facet=true
&facet.sort=index
&facet.field=geohash_1
&facet.field=geohash_2
&facet.field=geohash_3
&facet.field=geohash_4
&facet.field=geohash_5
&facet.field=geohash_6
&facet.field=geohash_7
&facet.field=geohash_8
&facet.field=geohash_9
&facet.mincount=1
&facet.limit=-1
&wt=json

Which results in retrieval of geohash facet values at all resolutions regardless of the map resolution selected. This results in a much larger download (about 4.3MB) than is necessary to display. This request should be adjusted to request only facet values needed.

@laurenwalker laurenwalker self-assigned this Sep 5, 2017
@laurenwalker laurenwalker added this to the 1.14.6 milestone Sep 5, 2017
@laurenwalker
Copy link
Member

Fixed in d7a6495

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants