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

Solr search and indexing files


Go to End


26 Posts   8786 Views

Avatar
Marcus

Administrator, 89 Posts

14 March 2013 at 4:26pm

I mean, make sure you have your specific data object type (not DataObject) selected.

If your data object type is NOT a descendent of Page, then you first need to create a SolrTypeConfiguration for that type in the Solr section of the CMS admin; once you've defined this, it'll be available in the "Search items of type" dropdown of SolrSearchPage

Avatar
Chris Dangerfield

Community Member, 8 Posts

18 March 2013 at 11:11am

Edited: 18/03/2013 11:12am

Ah! Thanks Marcus. I think I am almost there - I upgraded to the Solr module 2.2 - and I get this error with the searchpage:

[Warning] Unknown class passed as parameter
GET /research-office/new-solr-search-page-2/results?Search=cancer
Line 266 in C:\xampp\htdocs\research-office\solr\code\pages\SolrSearchPage.php

It is something with the SolrGeoPoint class not being recognised...

Go to Top