How to use the different parts of the API?
See original GitHub issueIs it possible to do stuff like this, @fergiemcdowall :
- autocomplete on several words (matching on two, three or more words, meaning this needs to be indexed too)
- number of results
- only show a subset (i.e. 10 of 273)
- filter on more than just one word
- add an arary in an object and be able to filter on one item in that array
- show what is available to filter on
- delete everything in the index
I was thinking if I could get some hint on what is possible now and in what direction I need to check, I could do some testing myself. And make it easily available in the [norch-vue](https://github.com/eklem/norch-vue)
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (2 by maintainers)
Top Results From Across the Web
Understanding And Using REST APIs - Smashing Magazine
The Anatomy Of A Request # · The endpoint · The method · The headers · The data (or body).
Read more >The anatomy of an API call | The Uptrends Blog
The anatomy of an API call · What is an API? · API implementation · Types of APIs · Dissecting a web service...
Read more >Rest API Calls Made Easy. What are APIs? | by Apurva Khatri
Case I: List Messages · 1. API endpoint · 2. Headers · 3. Method · 4. Data · 5. Params.
Read more >What is an API: Definition, Types, Specifications, Documentation
Each API contains and is implemented by function calls – language statements that request software to perform particular actions and services.
Read more >How to Use an API: Just the Basics 2022 | TechnologyAdvice
An API call has three parts: the request the client submits, the retrieval of the requested information, and the delivery of that information ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
update march 2021:
autocomplete on several words (matching on two, three or more words, meaning this needs to be indexed too)
number of results
only show a subset (i.e. 10 of 273)
filter on more than just one word
add an arary in an object and be able to filter on one item in that array
show what is available to filter on
delete everything in the index
You would need to index your stuff with n-grams I think
Working on this!
You can use
limit
andoffset
You can use as many words as you want to filter a result. If you tell me your use case I can give you the wuery
Yes, you can do this
No, since you can now filter on anything/everything, there is no way to get up a list of “filterable” fields
At the moment you have to manually delete the index. A
flush
command might be nice to have though…