Jump to content






Photo * * * * * 12 votes

IP.Board 3.1.0 Dev Update: Search Overhaul

Posted by Matt, in Beta, 3.1.0 11 March 2010 · 1,249 views


When we developed IP.Board 3, one of the main goals was to centralize searching and simplify it to provide results cleanly and concisely. Since then we have had a lot of emphatic feedback on how to develop the search further and to improve the interface.

We've have taken all that feedback on board and completely overhauled search making it more flexible and more useful. This blog entry lists the major improvements. There's a lot to get through, so lets get started.

Search Form
Posted Image
The search form has been redesigned with separate applications in mind. Right away you'll notice that there are radio buttons to select which app you want to search in which then presents its own filtering options.

Posted Image
As the filter and sort options are unique to the application, you can request to sort by very specific fields such as topic title, views, etc.

Posted Image
Full boolean searching is supported with the ability to choose the search mode between "match all words" and "match any words". Phrase searching is also available, for example searching for "roses are red" will find topics or posts that match that phrase precisely.

Search Results
Posted Image
This screen shot shows the search results as a topic list. You'll notice immediately two things; first it now shows hidden or soft deleted topics in the result stream (assuming you have permission to see them) and also a multi-moderation checkbox to the right.

Posted Image
As when viewing a normal forum, you can select multiple topics and perform moderation on them in a few clicks. This makes it much easier to moderate the board especially as the same functionality is applied to both "View New Content" and "Active Content" and User's Content.

Posted Image
We've also implemented the topic preview when you mouse over the topic row.

Posted Image
This screen shot shows the same search but listed as posts. You'll note it uses the familiar post template and also has multi-moderation available.

Multiple Content Types
Posted Image
Now that applications have more control over the search itself, you can specify multiple content types that can be searched. The 'members' tab allows you to search through members  or profile comments.

Posted Image
This screen shot shows the result of searching in profile comments.

Finding User Content
As of IP.Board 3.1, "Find my posts" and "Find my topics" have been merged into a more useful view "User's Content". This works across all applications so you can quickly view all of the content the user has created. Remember that hidden and soft deleted items are also shown where permission allows making moderation even easier.

Posted Image
The new button on the user's profile.

Posted Image
The forum application's "Users Content" view. Note that this first view shows all topics the user has started and all topics the user has posted in, much like a "My Activity" feed.

This works across all applications, like IP.Gallery
Posted Image

Sphinx Integration
We added Sphinx integration into IP.Board 3 to provide a way to offset the resources used when members search. However, it was a very simple implementation and many filtering options were removed.

I'm happy to say that I've completely overhauled Sphinx integration so that it is identical to the regular search. Indeed, Sphinx is running on my local test board and all these screen shots are taken with Sphinx activated.

I'm also pleased to say that Sphinx is now used for searching, active content, new content and user's content views so you can take full advantage of the fast and efficient searching it provides.

That concludes our search updates. I hope that you enjoy these updates and that you find searching less of a chore in IP.Board 3.1.0 We genuinely appreciate all the feedback that we get and we've really listened with your search feedback.

Oh, one last thing...
If you'll excuse the Jobzian finale, there is one other improvement to the search system:

Posted Image
The global search box is now context sensitive so that when you are viewing a forum or topic, you have the choice to restrict your search.




Very cool.
Particularly like the new top search bar. :)
Great news!

It would be nice if in IP.Content 2.0 there is a plugin for simple search box integration on any IP.Content page.
 "Find my content" <- The idea behind that is maybe the biggest in this blog post and its just great!

Suggestion: Also search for the search string "apple pie recipe" within all content (forums, blogs, etc. ... and even my private available content like private messages!) 

Looks brilliant Matt, cheers!

estan, on 11 March 2010 - 02:55 PM, said:

Great news!

It would be nice if in IP.Content 2.0 there is a plugin for simple search box integration on any IP.Content page.

You'll be pleased to know I made it so you can do just that :) The search box is now in its own template bit, so in your IP.Content templates, you can just do:

{parse template="quickSearch" group="global" params=""}

...and you'll get the search box. You'll just have to copy the CSS into your own CSS file if you aren't using the IPB wrapper :)
OMG you so got me with the last thing... I was going to suggest it here, and then it surprised me at the end.
This is one of the most exciting updates on v3.1 development so far!!! Good job! :D

bfarber, on 11 March 2010 - 07:14 PM, said:

No, that will not be possible. As Luke already pointed out, we tried that, and it didn't work out too well (resource reasons).

that's a shame
not even a chance of a more basic site wide search ?
Great! I'm really looking forward to having 3.1 on my site :):thumbsup:
3.0 was the new platform. 3.1 is where it starts to get interesting.

Looking very good gentlemen.  :thumbsup:
I like that.  Also, is using Sphinx worth it?  Does it have security risks?

xXTHeEddYXx, on 11 March 2010 - 06:35 PM, said:

I like that.  Also, is using Sphinx worth it?  Does it have security risks?

If you are able to use it (you need to run your own server and know how to install it), then it's worthwhile doing so. MySQL on its own is not particularly stellar at searching; Sphinx vastly improves its abilities.
Thank god for this overhaul

xXTHeEddYXx, on 11 March 2010 - 05:35 PM, said:

I like that.  Also, is using Sphinx worth it?  Does it have security risks?
If you have a large forum, Sphinx will tremendously increase the speed of your searches and reduce the load on your MySQL server.  It's literally night and day.  It absolutely is worth investigating if you have probably 500,000+ posts (I have nearly 2,000,000).  

..Al
I have a question:  Will users be able to search on reputation points at all?  There are two things that would be useful here:

1) When searching forum posts, being able to specify a minimum number of points (say, show all posts > 5 points).

2) When searching members, being able to filter users by their reputation score (greater than 'x' or less than 'x').  

This would help add some teeth to the Reputation system.

Thanks,

..Al

Sacred, on 11 March 2010 - 09:22 AM, said:

NICEEEEEEEEEEEEEEEEEEE!!!!!!!!!!

What he said, this is awesome. One of the best blog updates yet. That little mouse over thing to preview topics, will that be included in the topic listing in the regular forums as well?

Zero Omega, on 12 March 2010 - 02:50 AM, said:

That little mouse over thing to preview topics, will that be included in the topic listing in the regular forums as well?

Yes.
Finally!!

Vb had the multi-moderation on search results. Does the list results as posts contain scrollbars if it's too long to fit in that box? I hope it does. :)
Хорошо бы форму поиска убрать в другое место, чтобы осталось место под ссылочное меню. :cool:

Posted Image
Great job!

May 2012

S M T W T F S
  12345
6789101112
131415 16 171819
20212223242526
2728293031  

Latest Visitors

Search My Blog