Project

General

Profile

Actions

Bug #6506

closed

Facets for autocomplete dropdowns are not returning results from CN endpoint

Added by Lauren Walker over 10 years ago. Updated over 10 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
Actions #1

Updated by Lauren Walker over 10 years ago

  • Status changed from New to In Progress

The error here was that the CN server was returning a JSON text response, so MetacatUI will now specify "json" as an acceptable response type so JSON is returned.

Now, the facets are received okay but the autocomplete dropdown for each filter is incredibly slow because there can be 80k+ facets to sort through for each filter, all on the client side. I'll be putting a limit on how many facets are sorted for the dropdowns to make the UI more responsive.

Actions #2

Updated by Lauren Walker over 10 years ago

  • Status changed from In Progress to Resolved

It looks like 1,000 facets is the sweet spot for displaying a large list of suggestions while remaining fast and responsive.

Actions

Also available in: Atom PDF