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're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

General Questions /

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

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

lucene search undefined index

Go to End

3 Posts   1247 Views


Community Member, 130 Posts

25 July 2011 at 1:56am


I just installed the lucene search module. I put the lucene folder in my main site root and uploaded it.

But when I run the dev/build/?flush=1 it gives me the following error.

[Notice] Undefined index:
GET /preview/dev/build?flush=1

Line 154 in /home/mysite/public_html/preview/sapphire/core/ClassInfo.php

Any ideas why this is and what i can do to fix it?

Darren Inwood

Community Member, 12 Posts

28 July 2011 at 11:11am

Hi there

It appears something is trying to use a function on the ClassInfo class without specifying a class - I'd like to try to help you track this down as it's probably a bug in my module!

You could try Lucene 0.4 which I've just released?

Cheers :)


Community Member, 130 Posts

28 July 2011 at 10:36pm

Hi Darren,

I'd like to give the new version a go. Do you have an example of what code I should put into _ss_environment.php file?

I've had a look at the silverstripe documentation but I'm a little confused as to what needs to be in it and what doesn't.

For instance do I need to move my db username and password from config.php to _ss_environment.php and is this safe from a security standpoint?

Thats probably a stupid question but I'm very new to dynamic websites :) Thanks