21489 Posts in 5783 Topics by 2622 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, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba, simon_w
|
Page:
1
|
Go to End | |
| Author | Topic: | 818 Views |
-
Custom frontend search (DataObject) in a single field

22 July 2011 at 11:07pm
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!
-
Re: Custom frontend search (DataObject) in a single field

22 July 2011 at 11:49pm
Hi,
These posts might help you out a little...
http://www.silverstripe.org/customising-the-cms/show/14067#post288644
http://www.silverstripe.org/all-other-modules/show/6641?start=24#post290089 -
Re: Custom frontend search (DataObject) in a single field

23 July 2011 at 2:47am Last edited: 23 July 2011 2:57am
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
-
Re: Custom frontend search (DataObject) in a single field

23 July 2011 at 3:01am
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...
| 818 Views | ||
|
Page:
1
|
Go to Top |


