View more context

 

sander_ha

Does anyone know if any change from ss 4.1 to ss 4.2 could affect the use of silverstripe-fulltextsearch?

sander_ha

I feel like I have the same setup on 2 projects but it only works on the ss 4.1

sander_ha

Indexes are created and doing a search directly via the Solr admin works fine, but somehow not via the SearchForm

sander_ha

Hmm it works if I remove this from my index $this->excludeVariantState([SearchVariantVersioned::class => Versioned::DRAFT])

firesphere

There are a lot of optimisations to be made for FTS though

sander_ha

Yeah it looks like it works out of the box

sander_ha

I'm trying to set up Solr search with Fluent ( which works fine ), but I cant get it to show Elemental results. I thought this would work:

  1. SilverStripe\FullTextSearch\Search\FullTextSearch:
  2. indexes:
  3. - NobrainerWeb\App\Solr\SolrIndex
  4. - DNADesign\Elemental\Search\ElementalSolrIndex

But appearently not