Hi,

For a use case we need some data to be visible immediately to users.


We decided to have one main disk based index (memberdetailsindex) with the
commit time of 5mins (autocommit) – This index has 300 million records
approximately


Another ram based index (memberdetailsindex-ram) with a softComit time of
10 seconds. This index will have recently added, or updated records


Both memberdetailsindex, memberdetailsindex-ram has similar schema.


Insert / Update will be given to both the indexes.


An alias (memberdetailsindex_alias) was created to get details from both
memberdetailsindex, memberdetailsindex-ram
(/admin/collections?action=CREATEALIAS&name=memberdetailsindex&collections=memberdetailsindex,memberdetailsindex-ram)


Our assumption is, SOLR will get the recently updated records ie., from ram
based index (if a record exists in both ram & disk), but for some request
it gets the old records from memberdetailsindex


how to make SOLR to return only recent records (provided a document exists
in both)?


Any other suggestions will be helpful.


Thanks,

Doss

Reply via email to