Message of the day:
For questions about Solr, or any general search-related topics. Complaints and feature requests also welcome! https://github.com/silverstripe/silverstripe-fulltextsearch or https://github.com/Firesphere/silverstripe-solr-search
For questions about Solr and the fulltextsearch module, how to configure it to do common (or not so common) things, or any general search-related topics. https://github.com/silverstripe/silverstripe-fulltextsearch,
@nightjarnz Agree, definitely getting more attraction now than 2 years ago, when I did a proof of concept. 👍 ^^
@mhermo has worked with algolia before, this could be interesting :)
Been using algolia for a bunch of cwp customers lately because they got fed up with Solr, finally got round to tidying up project specific stuff and made something generic / reusable for it (https://github.com/wilr/silverstripe-algolia) doesn’t define any of the front end code as that’s so specific but the indexing side this should make life easier
Handles indexing Silverstripe Pages into Algolia and providing resultsHide attachment content
but remember that CWP doesn’t allow solrconfig.xml changes
you update the templates path and it replaces it
i.e. I need to modify solrconfig.xml, but committing the schema.xml file? that seems problematic...
quick question. If I use
- 'extraspath' => BASE_PATH . '/app/solr/extras'
Does this add to configuration or replace it? Do I need to add all the files from .solr/conf or just the ones I want to customise?
It can't group on the same thing, as they aren't he same thing
possibly, yes… these are different fields, I meant the OR logic for AND groups on the same field, but this would achieve a similar thing
@MichalKleiner Just a quick mock-up, is this what you'd expect?
- * Format:
- * SiteTree::class => [
- * 'BaseClass' => SiteTree::class,
- * 'Field' => 'ChannelID',
- * 'Title' => 'Channel'
- * ],
- * Object::class => [
- * 'BaseClass' => Object::class,
- * 'Field' => 'Relation.ID',
- * 'Title' => 'Relation'
- * ],
- * The facets will be applied as "OR" separated groups of filters. Compared to default
- * facets, that will combine all facets in to a single "AND" query.
- * @var array
- protected $orFacetFields = ;