astropy / learn-astropy-librarian

The content crawler that supplies Learn Astropy's web search.
BSD 3-Clause "New" or "Revised" License
0 stars 2 forks source link

Add Priority field #18

Closed jonathansick closed 2 years ago

jonathansick commented 2 years ago

The priority field in the Algolia record schema allows us to place specific resources higher in the default view on the homepage. For example, we're ingesting the CCD processing guide with --priority 10 so that it appears first. Within the integer priority levels, we can curate the order that different resources appear in the default search. (Note that in the front-end implementation of this, once a user begins to type a query, the index automatically switches to relevance mode and ignores the priority field).