[Feature] Search quotes
See original GitHub issueDescription
An API method to search quotes. It should allow people to search for quotes by content
, author
, and possibly tags
. Ideally, search results should be sorted by relevance.
API
GET /search/quotes
Query Params
param | type | Description |
---|---|---|
query | String |
The string to search for |
limit | Int |
The number of authors to return per request. (for pagination) |
skip | Int |
The number of items to skip (for pagination) |
Use Cases
1. Search for a specific quote or phrase
Ideally, this should work even if the query does not exactly match the quote
GET /search/quotes/?query=a divided house wont stand
GET /search/quotes/?query=divided house
Should both return the following quote
"A house divided against itself will not stand"
2. Search for quotes containing a keyword
GET /search/quotes/?query=love
Should return all quotes containing the word “love”
3. Search for quotes by author name
GET /search/quotes/?query=Lincoln
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
How we're improving search results when you use quotes
Using quotes can definitely be a great tool for power users. We generally recommend first doing any search in natural language without resorting ......
Read more >Quotation Marks on Search Engines: How to Use Them
Using quotation marks on Google and other search engines wrap multiple words into one phrase to help locate exact results.
Read more >Google made one of its best search shortcuts even more useful
Google searches with quotes just became much more useful if you're looking for the exact place words appear on a page.
Read more >Quoted (Phrase, Sentence) Search Support - SearchWP
As of version 3.1, SearchWP supports quoted searches, sometimes called phrase or sentence-based searches. This allows your visitors to add quotes to their ......
Read more >Lesson 3.4: OR and quotes (Text)
In this lesson you will explore two new operators: double quotes to signify a phrase search, and OR to combine ideas together.
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
@lukePeavey how do you expect the search should work when there is one search endpoint with the general
query
param? When we getquery
, should we search first bycontent
,author
, and thentags
and display the quotes in this order?@marekdano @mitramejia Let me know what you guys think.