Advertisement:

Author Topic: More advanced Search Options  (Read 3925 times)

Offline Burke ♞ Knight

  • SMF Hero
  • ******
  • Posts: 3,534
More advanced Search Options
« on: September 04, 2013, 06:16:36 PM »
I think it would be great to expand the options in the search function.
Add ways, like:
search for polls by a user
search for posts by member group

Those are the 2 I'd like to see. Maybe others have more ideas. :)

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 71,982
    • StoryBB/StoryBB on GitHub
Re: More advanced Search Options
« Reply #1 on: September 04, 2013, 06:17:49 PM »
Eh, the main problem with those is pure performance. Polls are not indexed to be searched so they will be dog slow by comparison.

As for searching by group, that's just going to suck in performance whatever you do.
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.

Offline Burke ♞ Knight

  • SMF Hero
  • ******
  • Posts: 3,534
Re: More advanced Search Options
« Reply #2 on: September 04, 2013, 06:19:26 PM »
Here on the SMF site, I wonder if they could add the wiki to the search options.
That way, they can search for topics and the wiki for what issue they have.

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 71,982
    • StoryBB/StoryBB on GitHub
Re: More advanced Search Options
« Reply #3 on: September 04, 2013, 06:21:41 PM »
You mean where it is currently below Themes and above Mantis?
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.

Offline Burke ♞ Knight

  • SMF Hero
  • ******
  • Posts: 3,534
Re: More advanced Search Options
« Reply #4 on: September 04, 2013, 06:29:13 PM »
I mean when on the forum here, when hit search on menu.
Shows list of boards, but not the Wiki. (In list when I look at search, Mantis is not there, either.)

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 71,982
    • StoryBB/StoryBB on GitHub
Re: More advanced Search Options
« Reply #5 on: September 04, 2013, 06:36:02 PM »
As opposed to the menu that people actually tend to use? See attached.

I've long thought the search button should disappear off the menu... another suggestion that should have made it to the feature requests board with proof of concept...
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.

Offline Burke ♞ Knight

  • SMF Hero
  • ******
  • Posts: 3,534
Re: More advanced Search Options
« Reply #6 on: September 04, 2013, 06:42:19 PM »
Okay, I see where you are.
However, I was meaning on the advanced search page.

Would be nice to see that drop down there, as well.

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 71,982
    • StoryBB/StoryBB on GitHub
Re: More advanced Search Options
« Reply #7 on: September 04, 2013, 06:53:58 PM »
The main problem is that SMF's search backend just isn't that smart.

Mind you, I'd still wonder why people are obsessed with smaller tweaks instead of bigger ones. (Hint: wedge.org has quite a nice revamp of the search page. ;))
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.

Offline Burke ♞ Knight

  • SMF Hero
  • ******
  • Posts: 3,534
Re: More advanced Search Options
« Reply #8 on: September 04, 2013, 06:56:00 PM »
Trust me, my friend, I know.
But like you said before, have to start somewhere, and me requesting a complete revamp most likely wont go yet... ;)

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 71,982
    • StoryBB/StoryBB on GitHub
Re: More advanced Search Options
« Reply #9 on: September 04, 2013, 06:58:34 PM »
I'm not sure how many people realise just how limited the *backend* part of SMF's searching is ;) It's deeper than many would even dream of. It's basically built around how Sphinx operated 4 years ago and cannot be made to support, say, ElasticSearch without a *total* rewrite. Nor can it support anything other than posts.

And even though it's theoretically 'segregated backends', there are multiple places in the code where that just doesn't happen, including an entire search log table that's built most of the time even when it's not used.
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.