Hi!
I’m getting crazy: in the FulltextSearchable class, it’s clearly stated that we can use…
FulltextSearchable::enable();
Object::add_extension('HomePage',"FulltextSearchable('HomeCol1,HomeCol2')");
…for something as simple as adding two custom fields of a custom page extending the Page class (here, from the common Simplestripe theme).
But the index for those fields is never being added to the data base, as the only classes allowed are SiteTree and File.
Does it means that the documentation of the FulltextSearchable class is wrong and the whole functionality is half-baked? Should I implement a custom search for extended pages?
Thanks in advance,
Juan