cancel
Showing results for 
Search instead for 
Did you mean: 

solr core, which one active, flip or flop ?

Former Member
0 Kudos

Hello Everyone, I understand, when we have two phase indexing setup, we get two cores; flip and flop. But when we do search in storefront, which one is accessed in solr ? When I go to solr admin console, I see both the cores are current. When I run indexing (delete in my case), in one environment I see flop is getting updated, and in a other environment, I see flip is getting updated.

Attaching the screenshots.

Thanks in advance.

Accepted Solutions (1)

Accepted Solutions (1)

andyfletcher
Active Contributor

Try this flexible search to see which core is active for each config

 select {solrfacetsearchconfig.name},{solrindex.qualifier}
 from {solrindex join solrfacetsearchconfig on {solrindex.facetsearchconfig}={solrfacetsearchconfig.pk}}
 where {solrindex.active}=true

It indexes the non-active one and then switches them over to search that freshly indexed one once complete. The old active one is then non-active and ready for the next indexing run.

Answers (1)

Answers (1)

Former Member
0 Kudos

Thanks a lot Andrew. This is exactly what I was looking for.