1. 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

Discussion in 'Enhanced Search Suggestions' started by schroeffu, Sep 19, 2015.

  1. schroeffu

    schroeffu Active Member

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

    (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)
    muhyal, Alfa1, Sim and 17 others like this.
  2. HWS

    HWS Well-Known Member

    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!
  3. schroeffu

    schroeffu Active Member

    Which old addon does provide this? Could you please link that?
  4. HWS

    HWS Well-Known Member

  5. schroeffu

    schroeffu Active Member

    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.
    Kerby likes this.
  6. HWS

    HWS Well-Known Member

    As I said. Just a comfort feature. Should be included in UI.X. ;)

    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 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.

    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: Sep 19, 2015
  7. schroeffu

    schroeffu Active Member

    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.

    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:
    Kerby likes this.
  8. PASS

    PASS Active Member

    +1 for adding this to XF 2.o
    DroidOne likes this.
  9. RoxiRox

    RoxiRox New Member

    +1 for adding this to XF
  10. ozzy47

    ozzy47 Well-Known Member

    You need to like the first post to ensure your +1. ;)

Share This Page