MarcC Posted February 26, 2015 Share Posted February 26, 2015 Using the default search.inc file, I'm unable to get a result for "About" in a site that has a page called "About Us". Other pages seem to show up just fine via title search. Any ideas? Thanks! Link to comment Share on other sites More sharing options...
renobird Posted February 26, 2015 Share Posted February 26, 2015 You've checked all the obvious things like the page being hidden or unpublished I assume — and the page is actually visible on the site? What happens if you change the title, will the new title show in the search? Link to comment Share on other sites More sharing options...
MarcC Posted February 26, 2015 Author Share Posted February 26, 2015 Thanks Tom--yeah, I changed the title to "Abouttesting Us" and a search for "abouttesting" worked great. As soon as I changed it back to "About Us", no more results for "about". The page is visible on the site and is not hidden or unpublished. Link to comment Share on other sites More sharing options...
renobird Posted February 26, 2015 Share Posted February 26, 2015 very strange. I'll see if I can recreate that here. 1 Link to comment Share on other sites More sharing options...
MarcC Posted February 26, 2015 Author Share Posted February 26, 2015 Thanks, Tom. I tried the same search on a site I built some time ago: http://www.stevezuieback.com/search/?q=About Different server, same results. Kind of weird. Link to comment Share on other sites More sharing options...
horst Posted February 26, 2015 Share Posted February 26, 2015 (edited) DatabaseStopwords.php and https://github.com/ryancramerdesign/ProcessWire/blob/master/wire/core/DatabaseStopwords.php#L83 Maybe something like: DatabaseStopwords::remove("about"); in the config.php or on top of a / the search.php ? Edited February 26, 2015 by horst 1 Link to comment Share on other sites More sharing options...
MarcC Posted February 26, 2015 Author Share Posted February 26, 2015 Ah ha ha. Thanks Horst, that makes complete sense. I should clarify that I'm only asking about this because a client was "trying the search tool" and was curious about how it's working. I will explain stop words if it comes up again. And if we really, really need "about" removed, now I know how to! Thanks again. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now