Jump to:

23373 Posts in 18175 Topics by 2865 members

General Questions

SilverStripe Forums » General Questions » Custom frontend search (DataObject) in a single field

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 1141 Views
  • KungK
    Avatar
    Community Member
    14 Posts

    Custom frontend search (DataObject) in a single field Link to this post

    Hi!

    I've seen the question beeing asked before but no answer. So I'll give it a new try after all these updates of SilverStripe!
    Is it possible to have a frontend search field that searches multiple attributes? For example the title variable of a blog post and the tag names of the posts tags aswell?

    Another question that also refers to search. Is the results sorted by relevance or is just the newest entry first?

    Thanks in advance!

  • swaiba
    Avatar
    Forum Moderator
    1785 Posts
  • KungK
    Avatar
    Community Member
    14 Posts

    Re: Custom frontend search (DataObject) in a single field Link to this post

    Indeed some interesting reading. Makes me consider a search engine module though.. What would people recommend between the sphinx solr or lucene modules?

    Edit: The site could (with some tweaking) be compared with YouTube, with less content of course. So the question is "If you had a youtube site, how would you implement the search?"..

    Anyone feel free to answer with how and why

  • swaiba
    Avatar
    Forum Moderator
    1785 Posts

    Re: Custom frontend search (DataObject) in a single field Link to this post

    I keep meaning to get one of those working - but as I understand it you need something (other than extra php code) installed and configured on the server... I'm a big believer in keeping it simple and not introducing things I don't fully understand/control. for obvious reasons I like my method - it's all I've ever need for all of my sites - but then serach is normally done in a custom way and I've never need the extra functionality - when people start asking for "text search to be much better" and that - I'll have to look into it...

    1141 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.