: When i again start what will happen in the "data" folder? Any data : refreshing,adding,deleting etc.. : Every restart of the solr server what will happens to indexing data or it : remain unchanged without any action?
if you start up Solr, and there is allready a "data" directory containing an "index" directory then Solr will use that index. If there is no index directory, then Solr will create it (it will not create the "data" directory -- if that's missing you get an error) : morning data : : : primaryAdmin : secondaryAdmin : : Evening data : : : primaryAdmin : : These are the data i indexed. But when i searching for "primaryAdmin" it : returning only the data which indexed at that time.. i do not understand your question. there could be lots of things going on here, but it's not at all clear that anything is actually going wrong. did the document you indexed in the evening have hte same value for the uniqueKey field as the document you indexed in the morning? Your best bet for getting meaningful help with your problem is to be very explicit about exactly what it is you are doing and what results you are getting ... show us your schema.xml, show us the full XML of every doc you index, list every action you take (including when you stop/start your tomcat port), etc... -Hoss