• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Super Live Search - An example of how it should be

schroeffu

Active member
#1
Here's an example how Xenforo should extend their Enhanced Search towards "Super Enhanced Live Search":

ezgif.com-crop.gif
(thats from xenforo board https://boerse.to - it's their own implementation with javascript [AngularJS?])

This "Super Enhanced Live Search" goes through
  • Threads: 676.907 (!)
  • Answers: 3.680.753 (!)
Of course it's the power of Elastic & Lucene, just the javascript for live search is missing in xenforo.. :-(

Anybody who wants this too, let that know the developers with writing a quick answer here ;- )

(duplicate https://xenforo.com/community/threa...r-future-xenforo-versions.105369/#post-986327)
 

HWS

Well-known member
#2
This would only make sense if a query cache would also be in play and the "Super Enhanced Live Search" would show suggestions based on what has been searched most by other users. Similar what Axivo did years ago with it's Searchlight for vB and what Googles does since its search engine exists. This also only makes sense at large boards with a huge query count.

Your example simply finds the titles of threads a little bit earlier and without hitting the "Search" button using AJAX. This is just a small convenient feature, can be coded in an hour. But there is no interesting functionality and this has been already published years ago as an add-on. It works even at boards without Elasticsearch installed!
 

schroeffu

Active member
#3
This would only make sense if a query cache would also be in play and the "Super Enhanced Live Search" would show suggestions based on what has been searched most by other users. Similar what Axivo did years ago with it's Searchlight for vB and what Googles does since its search engine exists. This also only makes sense at large boards with a huge query count.

Your example simply finds the titles of threads a little bit earlier and without hitting the "Search" button. This is just a small convinient feature. But there is no interesting functionality and this can be accomplished with a very old already publiched add-on. And even at each board without Elasticsearch installed.
Which old addon does provide this? Could you please link that?
 

schroeffu

Active member
#5
Thanks. But this addon does not integrate itself into the Xenforo given (enhanced) search field. I'm still asking to implement that into the enhanced search core.

An embedded live search in the default form - even "only with thread titles" as you say - does provide a completely new (and much better!) forum feeling. Because, when you have to hit a search button or the complete board design is changing itself (the openfire livesearch addon), you eyes have to re-focuse the complete webpage. Ahm, its hard to explain ;- )

I'm asking me tho things:
  • When buying the enhanced search, why not using a good live search when its included?
  • The board embedded search should be better than search trough the board via google. Give your visitors a reason, why come back to your board and search there.
I'm a bit sad about the general meaning, the current xenforo search is enough.
 

HWS

Well-known member
#6
does provide a completely new (and much better!) forum feeling.
As I said. Just a comfort feature. Should be included in UI.X. ;)

But this addon does not integrate itself into the Xenforo given (enhanced) search field.
This would be very easy to accmplish. ;) But this add-on also has some other more important disadvantages. It issues a query against the whole thread table after each single digit someone enters into the search field. A nightmare for more than very small sites.

I'm a bit sad about the general meaning, the current xenforo search is enough.
I think you missunderstood me. But simply "live search" the thread titles in the general search field and link to them when selected is a VERY BAD idea. If people get some titles as suggestions, no one ever would hit the button and really search through all the content of your board. Which is what the search field is for. ;)

There should be a query cache and Ajax should be used to suggest common query strings to be entered into the search field. Hitting "Enter" will bring up the same page as now with the results. This is what I would expect from an enhanced search solution.

Give your visitors a reason, why come back to your board and search there.
The reason is already here. The integrated search will find all non public content of your board the user has access to. If you don't have any non-public content, you should offer the Google search for your visitors. There would be no need to buy, install and administrate Elasticsearch if all your pages are accessible by Google.
 
Last edited:

schroeffu

Active member
#7
This would be very easy to accmplish. ;) But this add-on also has some other more important disadvantages. It issues a query against the whole thread table after each single digit someone enters into the search field. A nightmare for more than very small sites.
This is what elasticsearch stands for. Query against the cluster index after each single digit soomeone enters into the search field ;) Therefore my request should be implemented for enhanced search (= elasticsearch) and not into the mysql query version.

I think you missunderstood me. But simply "live search" the thread titles in the general search field and link to them when selected is a VERY BAD idea. If people get some titles as suggestions, no one ever would hit the button and really search through all the content of your board. Which is what the search field is for. ;)

There should be a query cache and Ajax should be used to suggest common query strings to be entered into the search field. Hitting "Enter" will bring up the same page as now with the results. This is what I would expect from an enhanced search solution.
As you can see in my example, it does display a view of ~20 Results (sorted by latest activity), scroll-able onto 200 results, and an "advance search" button. Thats all you need to be sure that people will find every thread you want.

We have a different view for what "enhanced search" stands for, i see :sneaky: