Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 6811
0 votes

pset8 - search function in application.py

You need to concatenate a % to the end of q Without seeing more of the code your search route its only a guess …
Shauny's user avatar
  • 96
0 votes

Search function do not work if several words entered

So if you search was for example http://pset8.cs50.net/search?q=New+Haven,+Connecticut Then inside python q becomes = 'New Haven, Connecticut'. … So when the sql SELECT search is run its trying to match that whole q string with each individual column. so while "New Haven" may be a place_name in the places table "New Haven, Connecticut" would not …
Shauny's user avatar
  • 96
2 votes
Accepted

2017 pset8 mashup: Slow search - how to improve search performance?

For example as you start to type the word "Boston" the search query takes 'B' and looks for every word in the column with a 'B' in it. It will return a lot of results. … Now the more columns you search the more result you will get. 2: This question is linked to the first as in the more letters that are being searched the less likelihood of getting a match. …
Shauny's user avatar
  • 96