cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

SOLR DIRECT INDEX MODE

0 Likes
1,493

Hi guys,

In our project initially, we are using TWO_PHASE index mode in solr. But later we switched to "DIRECT" mode. The issue is when we are in TWO_PHASE it creates two cores (flip/flop) and it occupies nearly 200 MB each. But when we switch to "DIRECT" mode it creates a core (core name end with default) and occupies more than 700 MB. Does anyone have an idea about this memory allocation in solr?

Thanks in advance,

H V

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
  • in DIRECT mode the indexer puts new records into the same index inflating existing data structures, thus it's OK to see growing index

  • in order to remove the old data you should execute optimize action which should be configured in the backoffice normally. Or you can do optimize action on the index in SOLR admin and observe the result

0 Likes

Hi

Thanks for your response. I will check and let you know the results.

Regards, H V

Answers (0)