HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


Unable to search ocportal.com for phrases

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#68817 (In Topic #14607)
Avatar

Fan in action

When I type a "search phrase" into the search box, it returns posts with all the words, but not the phrase

It makes it difficult to find out if my issue has been discussed previously. This is true both in the main search box in the nav bar at the top, and in the forum search box on the forum page, and in the "more" search form found from the forum page, choosing date as the sort field.
Back to the top
 
Posted
Rating:
#68819
Avatar

Fan in action

Just checked my own site. There I have the option to check the box "Find exact matches" which activates the boolean and string functions. It's not showing up here on ocportal.com.
Back to the top
 
Posted
Rating:
#68820
Avatar

We disabled it, but I am working on something cooler right now.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#68821
Avatar

Okay, now if you use quotes or +/- notation before words, it turns on boolean search.

We turned it off before for performance reasons, but actually it is fine for the version of MySQL we are on because it supports indexed boolean searches.

I recently concluded it is much better to auto-detect whether the user wants to do a boolean search anyway, much better usability.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#68825
Avatar

Fan in action

Chris Graham said

I recently concluded it is much better to auto-detect whether the user wants to do a boolean search anyway, much better usability.
Absolutely!

Thanks for adding the functionality.
Back to the top
 
Posted
Rating:
#68828
Avatar

Fan in action

A followup report on search oddness on ocportal.com:

I am searching for info on creating a sandbox environment to test ocPortal changes before deploying to production. When searching the forum for the word sandbox, 365 days, I get a result of "15 posts." However, only 5 posts display. At the bottom of the page, the selection dropdown is set to 10 posts per page, and it shows there is a second page. Clicking "Next" yields this result:

Search – Posts

Your search for “sandbox” gave 0 results:

Your search yielded no results. Please try a less specific search.



Strange.
Back to the top
 
Posted
Rating:
#68861
Avatar

I upgraded our site, and it seems to have fixed it. We fixed quite a few search issues over the last few patches.

By the way, this topic is highly ironic - your post about the problem altered the search results to stop me reproducing it precisely  :lol:.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
1 guests and 0 members have just viewed this: None
Control functions:

Quick reply   Contract

Your name:
Your message: