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.

All other Modules /

Discuss all other Modules here.

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

SOLVED - SS3 - Status of Lucene Search Engine?


Go to End


4 Posts   1643 Views

Avatar
Double-A-Ron

Community Member, 607 Posts

3 May 2013 at 9:09am

Edited: 03/05/2013 9:21am

I am evaluating SS for use as an enterprise intranet and one of the functional requirements is a search facility that will cover document formats such as PDF, Word and Excel.

I was pleased to find the Zend_Lucene module already in existence here: https://code.google.com/p/lucene-silverstripe-plugin/

However this, and everything else I find in searching Google and Silverstripe suggest that this module is only supported by Silverstripe 2.4.

There is a link on the above page to a github repo of a Silverstripe 3 port of the plugin. However this link is broken. And search results net nothing.

Is anyone aware of existing Lucene support, if any, for SS3?

Avatar
Double-A-Ron

Community Member, 607 Posts

3 May 2013 at 9:30am

For future reference, and I haven't tested this yet, but the git repo for the SS3 port simply changed.

https://github.com/Instagraeme/silverstripe-lucene

Avatar
BenWu

Community Member, 97 Posts

13 January 2014 at 12:30am

that module is buggy. takes me quite a while to set it up. it's not a public git so i can't contribute :-(

Avatar
Willr

Forum Moderator, 5523 Posts

18 January 2014 at 11:23am

Building ontop of the Zend Lucene library is a pretty straightforward. In docsviewer (3.1) we use Lucene as the engine without using the module, I guess the module would provide a better facade to handle some of the boilerplate.

Two parts we use for documentation indexing:

https://github.com/silverstripe/silverstripe-docsviewer/blob/master/code/tasks/RebuildLuceneDocsIndex.php
https://github.com/silverstripe/silverstripe-docsviewer/blob/master/code/DocumentationSearch.php#L222