Hi All ,
I am facing a situation where queries through Solr do not return any data , even when data exists in Cassandra .
My application is inserting data using Hector Api on CF indexed through Solr .
When I try to fetch data immediately using Solr Http Api , it doesnot return me any data , however if fetch after some millisecond delay , rows are returned .
Also , whenever doing insert and get through HECTOR API , I am getting the rows always .
Seems to me like there is a delay when Cassandra inserts data and if Solr tries to fetch in this time , it gets null response .
Still I am not very clear , as there was nothing which could be found on internet as well .
Does anyone have idea , how Solr Read data from Cassandra ? Does it look into CL / Memtable /SSTable ?
Or is there any configuration in solrconfig.xml / cassandra.yaml , which could help in removing this situation .
Any help / hint will be appreciated !!