Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Data Model Questions /

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

[solved] Make DOs searchable (Fulltextsearch)


Go to End


6 Posts   1320 Views

Avatar
Pipifix

Community Member, 56 Posts

10 February 2012 at 7:59am

Hi everybody,

I got two different dataobjects (projects, staff) not related to each other. Both got titles and decriptions. So i wanna make these titles and desc. searchable by the silverstripe buildin fulltextsearch. How to connetc the DO and the search. Despite of searching the forum i found no solution. Is there a tutorial or a nice snippet to get this done?

Thanks for help. Pipifix

Avatar
Juanitou

Community Member, 323 Posts

10 February 2012 at 9:46pm

Hi!

There are some threads elsewhere, try searching a bit more, but it’s a difficult subject. I have only managed to make it work, and with some limitations, thanks to the custom_search module:
http://www.silverstripe.org/form-questions/show/18547

A promising new module has been recently published, but I haven’t used it yet:
http://www.silverstripe.org/all-other-modules/show/19083

Hope it helps,
Juan

Avatar
Willr

Forum Moderator, 5523 Posts

12 February 2012 at 8:37pm

I've used the sphinx module with some success. Little bit of a mission to get up and working. I used Lucene for doc.silverstripe.org and that seemed to work really well - http://code.google.com/p/lucene-silverstripe-plugin/.

Avatar
Pipifix

Community Member, 56 Posts

14 February 2012 at 4:48am

Edited: 10/04/2012 8:29pm

Thanks a lot for your responses, Willr and Juanitou.

Lucene does'nt seemt to be a solution for my client. So i tried the silverstriep-searcher-module. but there is a sql-error. http://www.silverstripe.org/all-other-modules/show/19083#post311812

Offtopic: Are there any plans to 'upgrade' the Fulltextsearch functionality in SS3?

Pipifix.

Avatar
Willr

Forum Moderator, 5523 Posts

14 February 2012 at 4:10pm

Offtopic: Are there any plans to 'upgrade' the Fulltextsearch functionality in SS3?

This module is the start of the new full text layer https://github.com/silverstripe-labs/silverstripe-fulltextsearch. Will be refined over time but that module will get the bulk of anything full text search related.

Avatar
Pipifix

Community Member, 56 Posts

10 April 2012 at 8:35pm

Edited: 10/04/2012 8:35pm

Hello again.

Just for the records. I've used Arams fine module Dataobject as pages . It contains a built-in-searchfunctionality. Nevertheless thanks a lot for your help and additional infos.

Pipifix