Sep 20, 2024
Browse for records
Retrieves records from an index, up to 1,000 per request.
While searching retrieves hits (records augmented with attributes for highlighting and ranking details), browsing just returns matching records. This can be useful if you want to export your indices.
- The Analytics API doesn’t collect data when using
browse
. - Records are ranked by attributes and custom ranking.
- There’s no ranking for: typo-tolerance, number of matched words, proximity, geo distance.
Browse requests automatically apply these settings:
advancedSyntax
:false
attributesToHighlight
:[]
attributesToSnippet
:[]
distinct
:false
enablePersonalization
:false
enableRules
:false
facets
:[]
getRankingInfo
:false
ignorePlurals
:false
optionalFilters
:[]
typoTolerance
:true
orfalse
(min
andstrict
evaluate totrue
)
If you send these parameters with your browse requests, they’ll be ignored.
Usage
Required ACL:
browse
Copy
1
2
3
4
5
6
using Algolia.Search.Clients;
using Algolia.Search.Models.Search;
var client = new SearchClient(new SearchConfig("ALGOLIA_APPLICATION_ID", "ALGOLIA_API_KEY"));
var response = await client.BrowseAsync<Hit>("ALGOLIA_INDEX_NAME");
Did you find this page helpful?